From 2ded555d47b259d02c89bc9cccad3ce12ec04017 Mon Sep 17 00:00:00 2001 From: dayterr Date: Fri, 20 Feb 2026 17:30:02 +0300 Subject: [PATCH] v14.0.0 --- CHANGELOG.md | 39 ++++++- README.md | 107 +++++++++--------- check.go | 2 +- client.go | 12 +- client_bvs.go | 10 +- client_mock.go | 6 +- config/config.go | 2 +- config/config_bvs.go | 4 +- config/legacy-config.go | 2 +- go.mod | 2 +- internal/constants/constants.go | 1 + internal/validators/custom.go | 4 +- internal/validators/helper.go | 2 +- legacy-client.go | 10 +- pkg/cloudapi/account.go | 2 +- pkg/cloudapi/account/account.go | 2 +- pkg/cloudapi/account/add_user.go | 2 +- pkg/cloudapi/account/audits.go | 2 +- pkg/cloudapi/account/delete.go | 2 +- pkg/cloudapi/account/delete_user.go | 2 +- pkg/cloudapi/account/disable_enable.go | 2 +- pkg/cloudapi/account/get.go | 2 +- .../account/get_consumed_account_units.go | 2 +- .../get_consumed_cloud_units_by_type.go | 2 +- .../account/get_reserved_account_units.go | 2 +- .../account/get_resource_consumption.go | 2 +- pkg/cloudapi/account/list.go | 2 +- pkg/cloudapi/account/list_computes.go | 2 +- pkg/cloudapi/account/list_deleted.go | 2 +- pkg/cloudapi/account/list_disks.go | 2 +- pkg/cloudapi/account/list_flipgroups.go | 2 +- pkg/cloudapi/account/list_rg.go | 2 +- pkg/cloudapi/account/list_templates.go | 2 +- pkg/cloudapi/account/list_vins.go | 2 +- pkg/cloudapi/account/models.go | 3 + pkg/cloudapi/account/restore.go | 2 +- pkg/cloudapi/account/serialize.go | 2 +- pkg/cloudapi/account/update.go | 2 +- pkg/cloudapi/account/update_user.go | 2 +- pkg/cloudapi/audit.go | 2 +- pkg/cloudapi/audit/audit.go | 2 +- pkg/cloudapi/audit/get.go | 2 +- pkg/cloudapi/audit/list.go | 2 +- pkg/cloudapi/bservice.go | 2 +- pkg/cloudapi/bservice/bservice.go | 2 +- pkg/cloudapi/bservice/create.go | 2 +- pkg/cloudapi/bservice/delete.go | 2 +- pkg/cloudapi/bservice/disable.go | 2 +- pkg/cloudapi/bservice/enable.go | 2 +- pkg/cloudapi/bservice/get.go | 2 +- pkg/cloudapi/bservice/group_add.go | 2 +- pkg/cloudapi/bservice/group_compute_remove.go | 2 +- pkg/cloudapi/bservice/group_get.go | 2 +- pkg/cloudapi/bservice/group_parent_add.go | 2 +- pkg/cloudapi/bservice/group_parent_remove.go | 2 +- pkg/cloudapi/bservice/group_remove.go | 2 +- pkg/cloudapi/bservice/group_resize.go | 2 +- pkg/cloudapi/bservice/group_start.go | 2 +- pkg/cloudapi/bservice/group_stop.go | 2 +- pkg/cloudapi/bservice/group_update.go | 2 +- pkg/cloudapi/bservice/group_update_extnet.go | 2 +- pkg/cloudapi/bservice/group_update_vins.go | 2 +- pkg/cloudapi/bservice/list.go | 2 +- pkg/cloudapi/bservice/list_deleted.go | 2 +- pkg/cloudapi/bservice/migrate_to_zone.go | 2 +- pkg/cloudapi/bservice/restore.go | 2 +- pkg/cloudapi/bservice/serialize.go | 2 +- pkg/cloudapi/bservice/snapshot_create.go | 2 +- pkg/cloudapi/bservice/snapshot_delete.go | 2 +- pkg/cloudapi/bservice/snapshot_list.go | 2 +- pkg/cloudapi/bservice/snapshot_rollback.go | 2 +- pkg/cloudapi/bservice/start.go | 2 +- pkg/cloudapi/bservice/stop.go | 2 +- pkg/cloudapi/cloudapi.go | 2 +- pkg/cloudapi/compute.go | 2 +- .../compute/abort_shared_snapshot_merge.go | 2 +- .../compute/affinity_group_check_start.go | 2 +- pkg/cloudapi/compute/affinity_label_remove.go | 2 +- pkg/cloudapi/compute/affinity_label_set.go | 2 +- pkg/cloudapi/compute/affinity_relations.go | 2 +- pkg/cloudapi/compute/affinity_rule_add.go | 2 +- pkg/cloudapi/compute/affinity_rule_remove.go | 2 +- pkg/cloudapi/compute/affinity_rules_clear.go | 2 +- .../compute/anti_affinity_rule_add.go | 2 +- .../compute/anti_affinity_rule_remove.go | 2 +- .../compute/anti_affinity_rules_clear.go | 2 +- pkg/cloudapi/compute/attach_gpu.go | 2 +- pkg/cloudapi/compute/attach_pci_device.go | 2 +- pkg/cloudapi/compute/audits.go | 2 +- pkg/cloudapi/compute/boot_disk_set.go | 2 +- pkg/cloudapi/compute/boot_order_get.go | 2 +- pkg/cloudapi/compute/boot_order_set.go | 2 +- pkg/cloudapi/compute/cd_eject.go | 2 +- pkg/cloudapi/compute/cd_insert.go | 2 +- pkg/cloudapi/compute/change_ip.go | 2 +- pkg/cloudapi/compute/change_link_state.go | 2 +- pkg/cloudapi/compute/change_mac.go | 2 +- pkg/cloudapi/compute/change_mtu.go | 2 +- pkg/cloudapi/compute/change_secutity_group.go | 2 +- pkg/cloudapi/compute/clone.go | 4 +- pkg/cloudapi/compute/clone_abort.go | 4 +- pkg/cloudapi/compute/clone_status.go | 2 +- pkg/cloudapi/compute/compute.go | 2 +- pkg/cloudapi/compute/create_template.go | 2 +- .../compute/create_template_from_blank.go | 2 +- pkg/cloudapi/compute/delete.go | 2 +- pkg/cloudapi/compute/delete_custom_fields.go | 2 +- pkg/cloudapi/compute/detach_gpu.go | 2 +- pkg/cloudapi/compute/detach_pci_device.go | 2 +- pkg/cloudapi/compute/disable.go | 2 +- pkg/cloudapi/compute/disk_add.go | 2 +- pkg/cloudapi/compute/disk_attach.go | 2 +- pkg/cloudapi/compute/disk_del.go | 2 +- pkg/cloudapi/compute/disk_detach.go | 2 +- pkg/cloudapi/compute/disk_migrate.go | 2 +- pkg/cloudapi/compute/disk_qos.go | 2 +- pkg/cloudapi/compute/disk_resize.go | 2 +- .../compute/disk_switch_to_replication.go | 2 +- pkg/cloudapi/compute/enable.go | 2 +- pkg/cloudapi/compute/filter.go | 6 +- pkg/cloudapi/compute/get.go | 2 +- pkg/cloudapi/compute/get_audits.go | 2 +- pkg/cloudapi/compute/get_console_url.go | 2 +- pkg/cloudapi/compute/get_custom_fields.go | 2 +- pkg/cloudapi/compute/get_log.go | 2 +- pkg/cloudapi/compute/guest_agent_disable.go | 2 +- pkg/cloudapi/compute/guest_agent_enable.go | 2 +- pkg/cloudapi/compute/guest_agent_execute.go | 2 +- .../compute/guest_agent_feature_get.go | 2 +- .../compute/guest_agent_feature_update.go | 2 +- pkg/cloudapi/compute/list.go | 2 +- pkg/cloudapi/compute/list_deleted.go | 2 +- pkg/cloudapi/compute/list_pci_device.go | 2 +- pkg/cloudapi/compute/list_vgpu.go | 2 +- pkg/cloudapi/compute/migrate_to_zone.go | 2 +- pkg/cloudapi/compute/models.go | 3 + pkg/cloudapi/compute/move_to_rg.go | 2 +- pkg/cloudapi/compute/net_attach.go | 2 +- pkg/cloudapi/compute/net_detach.go | 2 +- pkg/cloudapi/compute/pause.go | 2 +- pkg/cloudapi/compute/pfw_add.go | 2 +- pkg/cloudapi/compute/pfw_del.go | 2 +- pkg/cloudapi/compute/pfw_list.go | 2 +- pkg/cloudapi/compute/pin_to_node.go | 2 +- pkg/cloudapi/compute/power_cycle.go | 2 +- pkg/cloudapi/compute/reboot.go | 2 +- pkg/cloudapi/compute/redeploy.go | 2 +- pkg/cloudapi/compute/reset.go | 2 +- pkg/cloudapi/compute/resize.go | 2 +- pkg/cloudapi/compute/restore.go | 2 +- pkg/cloudapi/compute/resume.go | 2 +- pkg/cloudapi/compute/serialize.go | 2 +- pkg/cloudapi/compute/set_custom_fields.go | 2 +- .../compute/shared_snapshot_merge_status.go | 2 +- pkg/cloudapi/compute/snapshot_create.go | 2 +- pkg/cloudapi/compute/snapshot_delete.go | 2 +- pkg/cloudapi/compute/snapshot_list.go | 2 +- pkg/cloudapi/compute/snapshot_rollback.go | 2 +- pkg/cloudapi/compute/snapshot_usage.go | 2 +- pkg/cloudapi/compute/start.go | 2 +- pkg/cloudapi/compute/stop.go | 2 +- pkg/cloudapi/compute/tag_add.go | 2 +- pkg/cloudapi/compute/tag_remove.go | 2 +- pkg/cloudapi/compute/unpin_from_node.go | 2 +- pkg/cloudapi/compute/update.go | 2 +- pkg/cloudapi/compute/user_grant.go | 2 +- pkg/cloudapi/compute/user_list.go | 2 +- pkg/cloudapi/compute/user_revoke.go | 2 +- pkg/cloudapi/compute/user_update.go | 2 +- pkg/cloudapi/disks.go | 2 +- .../disks/change_disk_storage_policy.go | 2 +- pkg/cloudapi/disks/create.go | 2 +- pkg/cloudapi/disks/delete.go | 2 +- pkg/cloudapi/disks/delete_disks.go | 2 +- pkg/cloudapi/disks/disks.go | 2 +- pkg/cloudapi/disks/filter.go | 6 +- pkg/cloudapi/disks/filter_test.go | 2 - pkg/cloudapi/disks/from_platform_disk.go | 2 +- pkg/cloudapi/disks/get.go | 2 +- pkg/cloudapi/disks/limitio.go | 2 +- pkg/cloudapi/disks/list.go | 2 +- pkg/cloudapi/disks/list_deleted.go | 2 +- pkg/cloudapi/disks/list_types.go | 2 +- pkg/cloudapi/disks/list_unattached.go | 2 +- pkg/cloudapi/disks/models.go | 9 ++ pkg/cloudapi/disks/rename.go | 2 +- pkg/cloudapi/disks/replicate.go | 2 +- pkg/cloudapi/disks/replication_resume.go | 2 +- pkg/cloudapi/disks/replication_reverse.go | 2 +- pkg/cloudapi/disks/replication_start.go | 2 +- pkg/cloudapi/disks/replication_status.go | 2 +- pkg/cloudapi/disks/replication_stop.go | 2 +- pkg/cloudapi/disks/replication_suspend.go | 2 +- pkg/cloudapi/disks/resize.go | 2 +- pkg/cloudapi/disks/restore.go | 2 +- pkg/cloudapi/disks/serialize.go | 2 +- pkg/cloudapi/disks/share.go | 2 +- pkg/cloudapi/disks/snapshot_delete.go | 2 +- pkg/cloudapi/disks/snapshot_rollback.go | 2 +- pkg/cloudapi/disks/unshare.go | 2 +- pkg/cloudapi/dpdknet.go | 2 +- pkg/cloudapi/dpdknet/dpdknet.go | 2 +- pkg/cloudapi/dpdknet/get.go | 2 +- pkg/cloudapi/dpdknet/list.go | 2 +- pkg/cloudapi/extnet.go | 2 +- pkg/cloudapi/extnet/extnet.go | 2 +- pkg/cloudapi/extnet/get.go | 2 +- pkg/cloudapi/extnet/get_reserved_ip.go | 2 +- pkg/cloudapi/extnet/list.go | 2 +- pkg/cloudapi/extnet/list_computes.go | 2 +- pkg/cloudapi/extnet/serialize.go | 2 +- pkg/cloudapi/flipgroup.go | 2 +- pkg/cloudapi/flipgroup/compute_add.go | 2 +- pkg/cloudapi/flipgroup/compute_remove.go | 2 +- pkg/cloudapi/flipgroup/create.go | 2 +- pkg/cloudapi/flipgroup/delete.go | 2 +- pkg/cloudapi/flipgroup/edit.go | 2 +- pkg/cloudapi/flipgroup/flipgroup.go | 2 +- pkg/cloudapi/flipgroup/get.go | 2 +- pkg/cloudapi/flipgroup/list.go | 2 +- pkg/cloudapi/flipgroup/serialize.go | 2 +- pkg/cloudapi/image.go | 2 +- pkg/cloudapi/image/change_storage_policy.go | 2 +- pkg/cloudapi/image/create.go | 2 +- pkg/cloudapi/image/create_virtual.go | 2 +- pkg/cloudapi/image/delete.go | 2 +- pkg/cloudapi/image/get.go | 2 +- pkg/cloudapi/image/image.go | 2 +- pkg/cloudapi/image/link.go | 2 +- pkg/cloudapi/image/list.go | 2 +- pkg/cloudapi/image/rename.go | 2 +- pkg/cloudapi/image/serialize.go | 2 +- pkg/cloudapi/k8ci.go | 2 +- pkg/cloudapi/k8ci/get.go | 2 +- pkg/cloudapi/k8ci/k8ci.go | 2 +- pkg/cloudapi/k8ci/list.go | 2 +- pkg/cloudapi/k8ci/list_deleted.go | 2 +- pkg/cloudapi/k8ci/serialize.go | 2 +- pkg/cloudapi/k8s.go | 2 +- pkg/cloudapi/k8s/create.go | 2 +- pkg/cloudapi/k8s/delete.go | 2 +- pkg/cloudapi/k8s/delete_master_from_group.go | 2 +- pkg/cloudapi/k8s/delete_worker_from_group.go | 2 +- pkg/cloudapi/k8s/disable_enable.go | 2 +- pkg/cloudapi/k8s/find_group_by_label.go | 2 +- pkg/cloudapi/k8s/get.go | 2 +- pkg/cloudapi/k8s/get_config.go | 2 +- pkg/cloudapi/k8s/get_node_annotations.go | 2 +- pkg/cloudapi/k8s/get_node_labels.go | 2 +- pkg/cloudapi/k8s/get_node_taints.go | 2 +- .../k8s/get_worker_nodes_meta_data.go | 2 +- pkg/cloudapi/k8s/k8s.go | 2 +- pkg/cloudapi/k8s/list.go | 2 +- pkg/cloudapi/k8s/list_deleted.go | 2 +- pkg/cloudapi/k8s/migrate_to_zone.go | 2 +- pkg/cloudapi/k8s/restore.go | 2 +- pkg/cloudapi/k8s/serialize.go | 2 +- pkg/cloudapi/k8s/start.go | 2 +- pkg/cloudapi/k8s/stop.go | 2 +- pkg/cloudapi/k8s/update.go | 2 +- .../k8s/update_worker_nodes_meta_data.go | 2 +- pkg/cloudapi/k8s/worker_add.go | 2 +- pkg/cloudapi/k8s/worker_reset.go | 2 +- pkg/cloudapi/k8s/worker_restart.go | 2 +- pkg/cloudapi/k8s/workers_group_add.go | 2 +- pkg/cloudapi/k8s/workers_group_delete.go | 2 +- pkg/cloudapi/k8s/workers_group_get_by_name.go | 2 +- pkg/cloudapi/kvmx86.go | 2 +- pkg/cloudapi/kvmx86/create.go | 10 +- pkg/cloudapi/kvmx86/create_blank.go | 2 +- pkg/cloudapi/kvmx86/kvmx86.go | 2 +- pkg/cloudapi/lb.go | 2 +- pkg/cloudapi/lb/backend_create.go | 2 +- pkg/cloudapi/lb/backend_delete.go | 2 +- pkg/cloudapi/lb/backend_server_add.go | 2 +- pkg/cloudapi/lb/backend_server_delete.go | 2 +- pkg/cloudapi/lb/backend_server_update.go | 2 +- pkg/cloudapi/lb/backend_update.go | 2 +- pkg/cloudapi/lb/config_reset.go | 2 +- pkg/cloudapi/lb/create.go | 2 +- pkg/cloudapi/lb/delete.go | 2 +- pkg/cloudapi/lb/disable_enable.go | 2 +- pkg/cloudapi/lb/filter.go | 4 +- pkg/cloudapi/lb/frontend_bind.go | 2 +- pkg/cloudapi/lb/frontend_bind_delete.go | 2 +- pkg/cloudapi/lb/frontend_bind_update.go | 2 +- pkg/cloudapi/lb/frontend_create.go | 2 +- pkg/cloudapi/lb/frontend_delete.go | 2 +- pkg/cloudapi/lb/get.go | 2 +- pkg/cloudapi/lb/lb.go | 2 +- pkg/cloudapi/lb/list.go | 2 +- pkg/cloudapi/lb/list_deleted.go | 2 +- pkg/cloudapi/lb/make_highly_available.go | 2 +- pkg/cloudapi/lb/migrate_to_zone.go | 2 +- pkg/cloudapi/lb/restart.go | 2 +- pkg/cloudapi/lb/restore.go | 2 +- pkg/cloudapi/lb/serialize.go | 2 +- pkg/cloudapi/lb/start.go | 2 +- pkg/cloudapi/lb/stop.go | 2 +- pkg/cloudapi/lb/update.go | 2 +- pkg/cloudapi/lb/update_sysctl_params.go | 2 +- pkg/cloudapi/locations/get_list.go | 2 +- pkg/cloudapi/locations/list.go | 2 +- pkg/cloudapi/locations/locations.go | 2 +- pkg/cloudapi/locations/serialize.go | 2 +- pkg/cloudapi/locatons.go | 2 +- pkg/cloudapi/pcidevice.go | 2 +- pkg/cloudapi/pcidevice/list.go | 2 +- pkg/cloudapi/pcidevice/pcidevice.go | 2 +- pkg/cloudapi/pcidevice/serialize.go | 2 +- pkg/cloudapi/prometheus.go | 2 +- pkg/cloudapi/prometheus/compute_cpu_load.go | 2 +- .../prometheus/compute_memory_available.go | 2 +- .../prometheus/compute_memory_unused.go | 2 +- .../prometheus/compute_memory_usable.go | 2 +- .../prometheus/compute_memory_usage.go | 2 +- .../prometheus/compute_memory_used.go | 2 +- pkg/cloudapi/prometheus/compute_read_bytes.go | 2 +- .../prometheus/compute_read_requests.go | 2 +- .../prometheus/compute_receive_bytes.go | 2 +- .../prometheus/compute_receive_packets.go | 2 +- .../prometheus/compute_transmit_bytes.go | 2 +- .../prometheus/compute_transmit_packets.go | 2 +- .../prometheus/compute_write_bytes.go | 2 +- .../prometheus/compute_write_requests.go | 2 +- pkg/cloudapi/prometheus/computes.go | 2 +- pkg/cloudapi/prometheus/prometheus.go | 2 +- pkg/cloudapi/rg.go | 2 +- pkg/cloudapi/rg/access_grant.go | 2 +- pkg/cloudapi/rg/access_revoke.go | 2 +- pkg/cloudapi/rg/add_storage_policy.go | 2 +- pkg/cloudapi/rg/affinity_group_computes.go | 2 +- pkg/cloudapi/rg/affinity_groups_get.go | 2 +- pkg/cloudapi/rg/affinity_groups_list.go | 2 +- pkg/cloudapi/rg/audits.go | 2 +- pkg/cloudapi/rg/create.go | 4 +- pkg/cloudapi/rg/del_storage_policy.go | 2 +- pkg/cloudapi/rg/delete.go | 2 +- pkg/cloudapi/rg/disable.go | 2 +- pkg/cloudapi/rg/enable.go | 2 +- pkg/cloudapi/rg/get.go | 2 +- pkg/cloudapi/rg/get_resource_consumption.go | 2 +- pkg/cloudapi/rg/list.go | 2 +- pkg/cloudapi/rg/list_computes.go | 2 +- pkg/cloudapi/rg/list_deleted.go | 2 +- pkg/cloudapi/rg/list_lb.go | 2 +- pkg/cloudapi/rg/list_pfw.go | 2 +- pkg/cloudapi/rg/list_vins.go | 2 +- pkg/cloudapi/rg/remove_def_net.go | 2 +- pkg/cloudapi/rg/restore.go | 2 +- pkg/cloudapi/rg/rg.go | 2 +- pkg/cloudapi/rg/serialize.go | 2 +- pkg/cloudapi/rg/set_def_net.go | 2 +- pkg/cloudapi/rg/update.go | 4 +- pkg/cloudapi/rg/usage.go | 2 +- pkg/cloudapi/secgroup/create.go | 4 +- pkg/cloudapi/secgroup/create_rule.go | 4 +- pkg/cloudapi/secgroup/delete.go | 2 +- pkg/cloudapi/secgroup/delete_rule.go | 2 +- pkg/cloudapi/secgroup/get.go | 2 +- pkg/cloudapi/secgroup/list.go | 2 +- pkg/cloudapi/secgroup/security_group.go | 2 +- pkg/cloudapi/secgroup/update.go | 2 +- pkg/cloudapi/securitygroup.go | 2 +- pkg/cloudapi/sep.go | 2 +- .../sep/list_available_sep_and_pools.go | 2 +- pkg/cloudapi/sep/sep.go | 2 +- pkg/cloudapi/sep/serialize.go | 2 +- pkg/cloudapi/storage_policy.go | 2 +- pkg/cloudapi/stpolicy/get.go | 2 +- pkg/cloudapi/stpolicy/list.go | 2 +- pkg/cloudapi/stpolicy/storage_policy.go | 2 +- pkg/cloudapi/tasks.go | 2 +- pkg/cloudapi/tasks/get.go | 2 +- pkg/cloudapi/tasks/list.go | 2 +- pkg/cloudapi/tasks/tasks.go | 2 +- pkg/cloudapi/trunk.go | 2 +- pkg/cloudapi/trunk/get.go | 2 +- pkg/cloudapi/trunk/list.go | 2 +- pkg/cloudapi/trunk/trunk.go | 2 +- pkg/cloudapi/user.go | 2 +- pkg/cloudapi/user/api_list.go | 2 +- pkg/cloudapi/user/authenticate.go | 2 +- pkg/cloudapi/user/get.go | 2 +- .../user/is_valid_invite_user_token.go | 2 +- pkg/cloudapi/user/set_data.go | 2 +- pkg/cloudapi/user/user.go | 2 +- pkg/cloudapi/vfpool.go | 2 +- pkg/cloudapi/vfpool/get.go | 2 +- pkg/cloudapi/vfpool/list.go | 2 +- pkg/cloudapi/vfpool/serialize.go | 2 +- pkg/cloudapi/vfpool/vfpool.go | 2 +- pkg/cloudapi/vins.go | 2 +- pkg/cloudapi/vins/audits.go | 2 +- pkg/cloudapi/vins/create_in_account.go | 2 +- pkg/cloudapi/vins/create_in_rg.go | 2 +- pkg/cloudapi/vins/delete.go | 2 +- pkg/cloudapi/vins/disable_enable.go | 2 +- pkg/cloudapi/vins/dns_apply.go | 2 +- pkg/cloudapi/vins/extnet_connect.go | 2 +- pkg/cloudapi/vins/extnet_disconnect.go | 2 +- pkg/cloudapi/vins/extnet_list.go | 2 +- pkg/cloudapi/vins/get.go | 2 +- pkg/cloudapi/vins/ip_list.go | 2 +- pkg/cloudapi/vins/ip_release.go | 2 +- pkg/cloudapi/vins/ip_reserve.go | 2 +- pkg/cloudapi/vins/list.go | 2 +- pkg/cloudapi/vins/list_deleted.go | 2 +- pkg/cloudapi/vins/migrate_to_zone.go | 2 +- pkg/cloudapi/vins/nat_rule_add.go | 2 +- pkg/cloudapi/vins/nat_rule_del.go | 2 +- pkg/cloudapi/vins/nat_rule_list.go | 2 +- pkg/cloudapi/vins/restore.go | 2 +- pkg/cloudapi/vins/serialize.go | 2 +- .../vins/static_route_access_grant.go | 2 +- .../vins/static_route_access_revoke.go | 2 +- pkg/cloudapi/vins/static_route_add.go | 2 +- pkg/cloudapi/vins/static_route_del.go | 2 +- pkg/cloudapi/vins/static_route_list.go | 2 +- pkg/cloudapi/vins/vins.go | 2 +- pkg/cloudapi/vins/vnfdev_redeploy.go | 2 +- pkg/cloudapi/vins/vnfdev_restart.go | 2 +- pkg/cloudapi/zone.go | 2 +- pkg/cloudapi/zone/get.go | 2 +- pkg/cloudapi/zone/list.go | 2 +- pkg/cloudapi/zone/serialize.go | 2 +- pkg/cloudapi/zone/zone.go | 2 +- pkg/cloudbroker/account.go | 2 +- pkg/cloudbroker/account/account.go | 2 +- pkg/cloudbroker/account/add_storage_policy.go | 2 +- pkg/cloudbroker/account/add_user.go | 2 +- pkg/cloudbroker/account/add_zone.go | 2 +- pkg/cloudbroker/account/audits.go | 2 +- pkg/cloudbroker/account/create.go | 4 +- pkg/cloudbroker/account/del_storage_policy.go | 2 +- pkg/cloudbroker/account/delete.go | 2 +- pkg/cloudbroker/account/delete_accounts.go | 2 +- pkg/cloudbroker/account/delete_user.go | 2 +- pkg/cloudbroker/account/disable.go | 2 +- pkg/cloudbroker/account/disable_accounts.go | 2 +- pkg/cloudbroker/account/enable.go | 2 +- pkg/cloudbroker/account/enable_accounts.go | 2 +- pkg/cloudbroker/account/get.go | 2 +- .../account/get_resource_consumption.go | 2 +- .../account/grant_access_templates.go | 2 +- pkg/cloudbroker/account/list.go | 2 +- .../account/list_available_templates.go | 2 +- pkg/cloudbroker/account/list_computes.go | 2 +- pkg/cloudbroker/account/list_deleted.go | 2 +- pkg/cloudbroker/account/list_disks.go | 2 +- pkg/cloudbroker/account/list_flip_groups.go | 2 +- pkg/cloudbroker/account/list_rg.go | 2 +- pkg/cloudbroker/account/list_vins.go | 2 +- pkg/cloudbroker/account/models.go | 3 + pkg/cloudbroker/account/remove_zone.go | 2 +- pkg/cloudbroker/account/restore.go | 2 +- .../account/revoke_access_templates.go | 2 +- pkg/cloudbroker/account/serialize.go | 2 +- .../account/set_cpu_allocation_parameter.go | 2 +- .../account/set_cpu_allocation_ratio.go | 2 +- pkg/cloudbroker/account/update.go | 4 +- .../account/update_compute_features.go | 2 +- .../account/update_resource_types.go | 2 +- pkg/cloudbroker/account/update_user.go | 2 +- pkg/cloudbroker/apiaccess.go | 2 +- pkg/cloudbroker/apiaccess/api_find.go | 2 +- pkg/cloudbroker/apiaccess/apiaccess.go | 2 +- pkg/cloudbroker/apiaccess/apis_exclude.go | 2 +- pkg/cloudbroker/apiaccess/apis_include.go | 2 +- pkg/cloudbroker/apiaccess/copy.go | 2 +- pkg/cloudbroker/apiaccess/create.go | 2 +- pkg/cloudbroker/apiaccess/delete.go | 2 +- pkg/cloudbroker/apiaccess/desc_update.go | 2 +- pkg/cloudbroker/apiaccess/get.go | 2 +- pkg/cloudbroker/apiaccess/list.go | 2 +- pkg/cloudbroker/apiaccess/set_default.go | 2 +- pkg/cloudbroker/apiaccess/subtract.go | 2 +- pkg/cloudbroker/apiaccess/union.go | 2 +- pkg/cloudbroker/apiaccess/update.go | 2 +- pkg/cloudbroker/apiaccess/user_list.go | 2 +- pkg/cloudbroker/audit.go | 2 +- pkg/cloudbroker/audit/audit.go | 2 +- pkg/cloudbroker/audit/get.go | 2 +- pkg/cloudbroker/audit/linked_jobs.go | 2 +- pkg/cloudbroker/audit/list.go | 2 +- pkg/cloudbroker/backup.go | 2 +- pkg/cloudbroker/backup/backup.go | 2 +- pkg/cloudbroker/backup/create_disk_backup.go | 2 +- pkg/cloudbroker/backup/create_disks_backup.go | 2 +- pkg/cloudbroker/backup/delete_disk_backup.go | 2 +- pkg/cloudbroker/backup/list_backup_paths.go | 2 +- .../backup/restore_disk_from_backup.go | 2 +- .../backup/restore_disks_from_backup.go | 2 +- pkg/cloudbroker/bservice.go | 2 +- pkg/cloudbroker/bservice/bservice.go | 2 +- pkg/cloudbroker/bservice/create.go | 2 +- pkg/cloudbroker/bservice/delete.go | 2 +- pkg/cloudbroker/bservice/disable.go | 2 +- pkg/cloudbroker/bservice/enable.go | 2 +- pkg/cloudbroker/bservice/get.go | 2 +- pkg/cloudbroker/bservice/group_add.go | 2 +- .../bservice/group_compute_remove.go | 2 +- pkg/cloudbroker/bservice/group_get.go | 2 +- .../bservice/group_parent_remove.go | 2 +- pkg/cloudbroker/bservice/group_parrent_add.go | 2 +- pkg/cloudbroker/bservice/group_remove.go | 2 +- pkg/cloudbroker/bservice/group_resize.go | 2 +- pkg/cloudbroker/bservice/group_start.go | 2 +- pkg/cloudbroker/bservice/group_stop.go | 2 +- pkg/cloudbroker/bservice/group_update.go | 2 +- .../bservice/group_update_extnet.go | 2 +- pkg/cloudbroker/bservice/group_update_vins.go | 2 +- pkg/cloudbroker/bservice/list.go | 2 +- pkg/cloudbroker/bservice/list_deleted.go | 2 +- pkg/cloudbroker/bservice/migrate_to_zone.go | 2 +- pkg/cloudbroker/bservice/restore.go | 2 +- pkg/cloudbroker/bservice/snapshot_create.go | 2 +- pkg/cloudbroker/bservice/snapshot_delete.go | 2 +- pkg/cloudbroker/bservice/snapshot_list.go | 2 +- pkg/cloudbroker/bservice/snapshot_rollback.go | 2 +- pkg/cloudbroker/bservice/start.go | 2 +- pkg/cloudbroker/bservice/stop.go | 2 +- pkg/cloudbroker/cloudbroker.go | 2 +- pkg/cloudbroker/compute.go | 2 +- .../compute/abort_shared_snapshot_merge.go | 2 +- .../compute/affinity_group_check_start.go | 2 +- .../compute/affinity_label_remove.go | 2 +- pkg/cloudbroker/compute/affinity_label_set.go | 2 +- pkg/cloudbroker/compute/affinity_relations.go | 2 +- pkg/cloudbroker/compute/affinity_rule_add.go | 2 +- .../compute/affinity_rule_remove.go | 2 +- .../compute/affinity_rules_clear.go | 2 +- .../compute/anti_affinity_rule_add.go | 2 +- .../compute/anti_affinity_rule_clear.go | 2 +- .../compute/anti_affinity_rule_remove.go | 2 +- pkg/cloudbroker/compute/attach_gpu.go | 2 +- pkg/cloudbroker/compute/attach_pci_device.go | 2 +- pkg/cloudbroker/compute/audits.go | 2 +- pkg/cloudbroker/compute/boot_disk_set.go | 2 +- pkg/cloudbroker/compute/boot_order_get.go | 2 +- pkg/cloudbroker/compute/boot_order_set.go | 2 +- pkg/cloudbroker/compute/cd_eject.go | 2 +- pkg/cloudbroker/compute/cd_insert.go | 2 +- pkg/cloudbroker/compute/change_ip.go | 2 +- pkg/cloudbroker/compute/change_link_state.go | 2 +- pkg/cloudbroker/compute/change_mac.go | 2 +- pkg/cloudbroker/compute/change_mtu.go | 2 +- pkg/cloudbroker/compute/change_read_only.go | 2 +- .../compute/change_secutity_group.go | 2 +- .../compute/check_compute_placement.go | 47 ++++++++ pkg/cloudbroker/compute/clone.go | 4 +- pkg/cloudbroker/compute/clone_abort.go | 4 +- pkg/cloudbroker/compute/clone_status.go | 2 +- pkg/cloudbroker/compute/compute.go | 2 +- pkg/cloudbroker/compute/computeci_set.go | 2 +- pkg/cloudbroker/compute/computeci_unset.go | 2 +- pkg/cloudbroker/compute/create_template.go | 2 +- .../compute/create_template_from_blank.go | 2 +- pkg/cloudbroker/compute/delete.go | 2 +- .../compute/delete_custom_fields.go | 2 +- pkg/cloudbroker/compute/detach_gpu.go | 2 +- pkg/cloudbroker/compute/detach_pci_device.go | 2 +- pkg/cloudbroker/compute/disable.go | 2 +- pkg/cloudbroker/compute/disk_add.go | 2 +- pkg/cloudbroker/compute/disk_attach.go | 2 +- pkg/cloudbroker/compute/disk_del.go | 2 +- pkg/cloudbroker/compute/disk_detach.go | 2 +- pkg/cloudbroker/compute/disk_migrate.go | 2 +- pkg/cloudbroker/compute/disk_qos.go | 2 +- pkg/cloudbroker/compute/disk_resize.go | 2 +- .../compute/disk_switch_to_replication.go | 2 +- pkg/cloudbroker/compute/enable.go | 2 +- pkg/cloudbroker/compute/filter.go | 6 +- pkg/cloudbroker/compute/get.go | 2 +- pkg/cloudbroker/compute/get_audits.go | 2 +- pkg/cloudbroker/compute/get_console_url.go | 2 +- pkg/cloudbroker/compute/get_custom_fields.go | 2 +- pkg/cloudbroker/compute/get_log.go | 2 +- .../compute/guest_agent_disable.go | 2 +- pkg/cloudbroker/compute/guest_agent_enable.go | 2 +- .../compute/guest_agent_execute.go | 2 +- .../compute/guest_agent_feature_get.go | 2 +- .../compute/guest_agent_feature_update.go | 2 +- pkg/cloudbroker/compute/list.go | 2 +- pkg/cloudbroker/compute/list_deleted.go | 2 +- pkg/cloudbroker/compute/list_pci_device.go | 2 +- pkg/cloudbroker/compute/list_vgpu.go | 2 +- pkg/cloudbroker/compute/mass_delete.go | 2 +- pkg/cloudbroker/compute/mass_reboot.go | 2 +- pkg/cloudbroker/compute/mass_start.go | 2 +- pkg/cloudbroker/compute/mass_stop.go | 2 +- pkg/cloudbroker/compute/migrate.go | 2 +- pkg/cloudbroker/compute/migrate_abort.go | 2 +- pkg/cloudbroker/compute/migrate_storage.go | 2 +- .../compute/migrate_storage_abort.go | 2 +- .../compute/migrate_storage_clean_up.go | 2 +- .../compute/migrate_storage_info.go | 2 +- .../compute/migrate_storage_list.go | 2 +- pkg/cloudbroker/compute/migrate_to_zone.go | 2 +- pkg/cloudbroker/compute/models.go | 20 ++++ pkg/cloudbroker/compute/move_to_rg.go | 2 +- pkg/cloudbroker/compute/net_attach.go | 2 +- pkg/cloudbroker/compute/net_detach.go | 2 +- pkg/cloudbroker/compute/net_qos.go | 2 +- pkg/cloudbroker/compute/pause.go | 2 +- pkg/cloudbroker/compute/pfw_add.go | 2 +- pkg/cloudbroker/compute/pfw_del.go | 2 +- pkg/cloudbroker/compute/pfw_list.go | 2 +- pkg/cloudbroker/compute/pin_to_node.go | 2 +- pkg/cloudbroker/compute/power_cycle.go | 2 +- pkg/cloudbroker/compute/reboot.go | 2 +- pkg/cloudbroker/compute/redeploy.go | 2 +- pkg/cloudbroker/compute/reset.go | 2 +- pkg/cloudbroker/compute/resize.go | 2 +- pkg/cloudbroker/compute/restore.go | 2 +- pkg/cloudbroker/compute/resume.go | 2 +- pkg/cloudbroker/compute/serialize.go | 2 +- pkg/cloudbroker/compute/set_custom_fields.go | 2 +- pkg/cloudbroker/compute/set_net_config.go | 2 +- .../compute/shared_snapshot_merge_status.go | 2 +- pkg/cloudbroker/compute/snapshot_create.go | 2 +- pkg/cloudbroker/compute/snapshot_delete.go | 2 +- .../compute/snapshot_evict_disk.go | 2 +- pkg/cloudbroker/compute/snapshot_list.go | 2 +- pkg/cloudbroker/compute/snapshot_rollback.go | 2 +- pkg/cloudbroker/compute/snapshot_usage.go | 2 +- pkg/cloudbroker/compute/start.go | 2 +- pkg/cloudbroker/compute/start_migration_in.go | 2 +- .../compute/start_migration_out.go | 4 +- pkg/cloudbroker/compute/stop.go | 2 +- pkg/cloudbroker/compute/stop_migration_in.go | 4 +- pkg/cloudbroker/compute/stop_migration_out.go | 4 +- pkg/cloudbroker/compute/tag_add.go | 2 +- pkg/cloudbroker/compute/tag_remove.go | 2 +- pkg/cloudbroker/compute/unpin_from_node.go | 2 +- pkg/cloudbroker/compute/update.go | 2 +- pkg/cloudbroker/compute/user_grant.go | 2 +- pkg/cloudbroker/compute/user_list.go | 2 +- pkg/cloudbroker/compute/user_revoke.go | 2 +- pkg/cloudbroker/compute/user_update.go | 2 +- pkg/cloudbroker/disks.go | 2 +- .../disks/change_disk_storage_policy.go | 2 +- pkg/cloudbroker/disks/create.go | 2 +- pkg/cloudbroker/disks/delete.go | 2 +- pkg/cloudbroker/disks/delete_disks.go | 2 +- pkg/cloudbroker/disks/depresent.go | 2 +- pkg/cloudbroker/disks/disks.go | 2 +- pkg/cloudbroker/disks/filter.go | 6 +- pkg/cloudbroker/disks/from_platform_disk.go | 2 +- pkg/cloudbroker/disks/get.go | 2 +- pkg/cloudbroker/disks/limit_io.go | 2 +- pkg/cloudbroker/disks/list.go | 2 +- pkg/cloudbroker/disks/list_deleted.go | 2 +- pkg/cloudbroker/disks/list_types.go | 2 +- pkg/cloudbroker/disks/list_unattached.go | 2 +- pkg/cloudbroker/disks/migrate.go | 2 +- pkg/cloudbroker/disks/migrate_abort.go | 2 +- pkg/cloudbroker/disks/migrate_status.go | 2 +- pkg/cloudbroker/disks/models.go | 6 + pkg/cloudbroker/disks/present.go | 2 +- pkg/cloudbroker/disks/rename.go | 2 +- pkg/cloudbroker/disks/replicate.go | 2 +- pkg/cloudbroker/disks/replication_resume.go | 2 +- pkg/cloudbroker/disks/replication_reverse.go | 2 +- pkg/cloudbroker/disks/replication_start.go | 2 +- pkg/cloudbroker/disks/replication_status.go | 2 +- pkg/cloudbroker/disks/replication_stop.go | 2 +- pkg/cloudbroker/disks/replication_suspend.go | 2 +- pkg/cloudbroker/disks/resize.go | 2 +- pkg/cloudbroker/disks/restore.go | 2 +- pkg/cloudbroker/disks/serialize.go | 2 +- pkg/cloudbroker/disks/share.go | 2 +- pkg/cloudbroker/disks/snapshot_delete.go | 2 +- pkg/cloudbroker/disks/snapshot_rollback.go | 2 +- pkg/cloudbroker/disks/unshare.go | 2 +- pkg/cloudbroker/disks/update.go | 6 +- pkg/cloudbroker/dpdk.go | 2 +- pkg/cloudbroker/dpdknet/create.go | 2 +- pkg/cloudbroker/dpdknet/delete.go | 2 +- pkg/cloudbroker/dpdknet/disable.go | 2 +- pkg/cloudbroker/dpdknet/dpdk.go | 2 +- pkg/cloudbroker/dpdknet/enable.go | 2 +- pkg/cloudbroker/dpdknet/get.go | 2 +- pkg/cloudbroker/dpdknet/list.go | 2 +- pkg/cloudbroker/dpdknet/update.go | 2 +- pkg/cloudbroker/extnet.go | 2 +- pkg/cloudbroker/extnet/access_add.go | 2 +- pkg/cloudbroker/extnet/access_remove.go | 2 +- pkg/cloudbroker/extnet/add_reserved_ip.go | 2 +- pkg/cloudbroker/extnet/create.go | 2 +- pkg/cloudbroker/extnet/default_qos_update.go | 2 +- pkg/cloudbroker/extnet/del_reserved_ip.go | 2 +- pkg/cloudbroker/extnet/destroy.go | 2 +- pkg/cloudbroker/extnet/device_deploy.go | 2 +- pkg/cloudbroker/extnet/device_migrate.go | 2 +- pkg/cloudbroker/extnet/device_remove.go | 2 +- pkg/cloudbroker/extnet/device_restart.go | 2 +- pkg/cloudbroker/extnet/disable.go | 2 +- pkg/cloudbroker/extnet/dns_apply.go | 2 +- pkg/cloudbroker/extnet/enable.go | 2 +- pkg/cloudbroker/extnet/extnet.go | 2 +- pkg/cloudbroker/extnet/get.go | 2 +- pkg/cloudbroker/extnet/get_reserved_ip.go | 2 +- pkg/cloudbroker/extnet/ips_exclude.go | 2 +- pkg/cloudbroker/extnet/ips_exclude_range.go | 2 +- pkg/cloudbroker/extnet/ips_include.go | 2 +- pkg/cloudbroker/extnet/ips_include_range.go | 2 +- pkg/cloudbroker/extnet/list.go | 2 +- pkg/cloudbroker/extnet/migrate_to_zone.go | 2 +- pkg/cloudbroker/extnet/ntp_apply.go | 2 +- pkg/cloudbroker/extnet/serialize.go | 2 +- pkg/cloudbroker/extnet/set_default.go | 2 +- .../extnet/set_highly_available.go | 2 +- .../extnet/static_route_access_grant.go | 2 +- .../extnet/static_route_access_revoke.go | 2 +- pkg/cloudbroker/extnet/static_route_add.go | 2 +- pkg/cloudbroker/extnet/static_route_del.go | 2 +- pkg/cloudbroker/extnet/static_route_list.go | 2 +- pkg/cloudbroker/extnet/update.go | 2 +- pkg/cloudbroker/flipgoup.go | 2 +- pkg/cloudbroker/flipgroup/compute_add.go | 2 +- pkg/cloudbroker/flipgroup/compute_remove.go | 2 +- pkg/cloudbroker/flipgroup/create.go | 2 +- pkg/cloudbroker/flipgroup/delete.go | 2 +- pkg/cloudbroker/flipgroup/edit.go | 2 +- pkg/cloudbroker/flipgroup/flipgroup.go | 2 +- pkg/cloudbroker/flipgroup/get.go | 2 +- pkg/cloudbroker/flipgroup/list.go | 2 +- pkg/cloudbroker/flipgroup/serialize.go | 2 +- pkg/cloudbroker/grid.go | 2 +- pkg/cloudbroker/grid/add.go | 2 +- .../grid/add_custom_backup_path.go | 2 +- pkg/cloudbroker/grid/change_settings.go | 2 +- .../grid/execute_maintenance_script.go | 2 +- pkg/cloudbroker/grid/get.go | 2 +- pkg/cloudbroker/grid/get_backup.go | 2 +- pkg/cloudbroker/grid/get_diagnosis.go | 2 +- .../grid/get_resource_consumption.go | 2 +- pkg/cloudbroker/grid/get_settings.go | 2 +- pkg/cloudbroker/grid/grid.go | 2 +- pkg/cloudbroker/grid/list.go | 2 +- pkg/cloudbroker/grid/purge_logs.go | 2 +- .../grid/remove_custom_backup_path.go | 2 +- pkg/cloudbroker/grid/rename.go | 2 +- pkg/cloudbroker/grid/serialize.go | 2 +- pkg/cloudbroker/grid/services_restart.go | 2 +- .../grid/set_cpu_allocation_parameter.go | 2 +- .../grid/set_cpu_allocation_ratio.go | 2 +- .../grid/set_cpu_allocation_ratio_for_vm.go | 2 +- .../grid/set_mem_allocation_ratio.go | 2 +- pkg/cloudbroker/grid/set_password_policy.go | 2 +- pkg/cloudbroker/group.go | 2 +- pkg/cloudbroker/group/get.go | 2 +- pkg/cloudbroker/group/group.go | 2 +- pkg/cloudbroker/group/list.go | 2 +- pkg/cloudbroker/image.go | 2 +- .../image/change_storage_policy.go | 2 +- pkg/cloudbroker/image/computeci_set.go | 2 +- pkg/cloudbroker/image/computeci_unset.go | 2 +- pkg/cloudbroker/image/create_cdrom_image.go | 2 +- pkg/cloudbroker/image/create_image.go | 2 +- pkg/cloudbroker/image/create_virtual.go | 2 +- pkg/cloudbroker/image/delete.go | 2 +- pkg/cloudbroker/image/delete_cdrom_image.go | 2 +- pkg/cloudbroker/image/delete_images.go | 2 +- pkg/cloudbroker/image/disable.go | 2 +- pkg/cloudbroker/image/edit.go | 2 +- pkg/cloudbroker/image/enable.go | 2 +- pkg/cloudbroker/image/get.go | 2 +- pkg/cloudbroker/image/grant_access.go | 2 +- pkg/cloudbroker/image/image.go | 2 +- pkg/cloudbroker/image/link.go | 2 +- pkg/cloudbroker/image/list.go | 2 +- pkg/cloudbroker/image/rename.go | 2 +- pkg/cloudbroker/image/revoke_access.go | 2 +- pkg/cloudbroker/image/serialize.go | 2 +- pkg/cloudbroker/image/share.go | 2 +- pkg/cloudbroker/k8ci.go | 2 +- pkg/cloudbroker/k8ci/access_add.go | 2 +- pkg/cloudbroker/k8ci/access_remove.go | 2 +- pkg/cloudbroker/k8ci/create.go | 2 +- pkg/cloudbroker/k8ci/delete.go | 2 +- pkg/cloudbroker/k8ci/disable.go | 2 +- pkg/cloudbroker/k8ci/enable.go | 2 +- pkg/cloudbroker/k8ci/get.go | 2 +- pkg/cloudbroker/k8ci/k8ci.go | 2 +- pkg/cloudbroker/k8ci/list.go | 2 +- pkg/cloudbroker/k8ci/list_deleted.go | 2 +- pkg/cloudbroker/k8ci/restore.go | 2 +- pkg/cloudbroker/k8ci/serialize.go | 2 +- pkg/cloudbroker/k8s.go | 2 +- pkg/cloudbroker/k8s/create.go | 2 +- pkg/cloudbroker/k8s/delete.go | 2 +- .../k8s/delete_master_from_group.go | 2 +- .../k8s/delete_worker_from_group.go | 2 +- pkg/cloudbroker/k8s/disable.go | 2 +- pkg/cloudbroker/k8s/enable.go | 2 +- pkg/cloudbroker/k8s/find_group_by_label.go | 2 +- pkg/cloudbroker/k8s/get.go | 2 +- pkg/cloudbroker/k8s/get_config.go | 2 +- pkg/cloudbroker/k8s/get_node_annotations.go | 2 +- pkg/cloudbroker/k8s/get_node_labels.go | 2 +- pkg/cloudbroker/k8s/get_node_taints.go | 2 +- .../k8s/get_worker_nodes_meta_data.go | 2 +- pkg/cloudbroker/k8s/k8s.go | 2 +- pkg/cloudbroker/k8s/list.go | 2 +- pkg/cloudbroker/k8s/list_deleted.go | 2 +- pkg/cloudbroker/k8s/migrate_to_zone.go | 2 +- pkg/cloudbroker/k8s/restore.go | 2 +- pkg/cloudbroker/k8s/serialize.go | 2 +- pkg/cloudbroker/k8s/start.go | 2 +- pkg/cloudbroker/k8s/stop.go | 2 +- pkg/cloudbroker/k8s/update.go | 2 +- .../k8s/update_worker_nodes_meta_data.go | 2 +- pkg/cloudbroker/k8s/worker_add.go | 2 +- pkg/cloudbroker/k8s/worker_reset.go | 2 +- pkg/cloudbroker/k8s/worker_restart.go | 2 +- pkg/cloudbroker/k8s/workers_group_add.go | 2 +- pkg/cloudbroker/k8s/workers_group_delete.go | 2 +- .../k8s/workers_group_get_by_name.go | 2 +- pkg/cloudbroker/kvmx86.go | 2 +- pkg/cloudbroker/kvmx86/create.go | 10 +- pkg/cloudbroker/kvmx86/create_blank.go | 2 +- pkg/cloudbroker/kvmx86/kvmx86.go | 2 +- pkg/cloudbroker/kvmx86/mass_create.go | 2 +- pkg/cloudbroker/lb.go | 2 +- pkg/cloudbroker/lb/backend_create.go | 2 +- pkg/cloudbroker/lb/backend_delete.go | 2 +- pkg/cloudbroker/lb/backend_server_add.go | 2 +- pkg/cloudbroker/lb/backend_server_delete.go | 2 +- pkg/cloudbroker/lb/backend_server_update.go | 2 +- pkg/cloudbroker/lb/backend_update.go | 2 +- pkg/cloudbroker/lb/config_reset.go | 2 +- pkg/cloudbroker/lb/create.go | 2 +- pkg/cloudbroker/lb/delete.go | 2 +- pkg/cloudbroker/lb/disable.go | 2 +- pkg/cloudbroker/lb/enable.go | 2 +- pkg/cloudbroker/lb/filter.go | 4 +- pkg/cloudbroker/lb/frontend_bind.go | 2 +- pkg/cloudbroker/lb/frontend_bind_delete.go | 2 +- pkg/cloudbroker/lb/frontend_binding_update.go | 2 +- pkg/cloudbroker/lb/frontend_create.go | 2 +- pkg/cloudbroker/lb/frontend_delete.go | 2 +- pkg/cloudbroker/lb/get.go | 2 +- pkg/cloudbroker/lb/lb.go | 2 +- pkg/cloudbroker/lb/list.go | 2 +- pkg/cloudbroker/lb/list_deleted.go | 2 +- pkg/cloudbroker/lb/make_highly_available.go | 2 +- pkg/cloudbroker/lb/migrate_to_zone.go | 2 +- pkg/cloudbroker/lb/restart.go | 2 +- pkg/cloudbroker/lb/restore.go | 2 +- pkg/cloudbroker/lb/serialize.go | 2 +- pkg/cloudbroker/lb/start.go | 2 +- pkg/cloudbroker/lb/stop.go | 2 +- pkg/cloudbroker/lb/update.go | 2 +- pkg/cloudbroker/lb/update_sysctl_params.go | 2 +- pkg/cloudbroker/node.go | 2 +- pkg/cloudbroker/node/add_ssh_identity.go | 2 +- pkg/cloudbroker/node/apply_ipmi_action.go | 2 +- pkg/cloudbroker/node/autostart.go | 2 +- pkg/cloudbroker/node/consumption.go | 2 +- pkg/cloudbroker/node/decommission.go | 2 +- pkg/cloudbroker/node/enable.go | 2 +- pkg/cloudbroker/node/enable_nodes.go | 2 +- pkg/cloudbroker/node/get.go | 2 +- .../node/get_logical_cores_count.go | 2 +- pkg/cloudbroker/node/get_ssh_identity.go | 2 +- pkg/cloudbroker/node/list.go | 6 +- pkg/cloudbroker/node/maintenance.go | 2 +- pkg/cloudbroker/node/node.go | 2 +- pkg/cloudbroker/node/restrict.go | 2 +- pkg/cloudbroker/node/serialize.go | 2 +- pkg/cloudbroker/node/set_core_isolation.go | 2 +- .../node/set_cpu_allocation_ratio.go | 2 +- pkg/cloudbroker/node/set_huge_pages.go | 2 +- .../node/set_mem_allocation_ratio.go | 2 +- pkg/cloudbroker/node/set_sriov_status.go | 2 +- pkg/cloudbroker/node/set_vfs_number.go | 2 +- pkg/cloudbroker/node/set_vfs_params.go | 4 +- pkg/cloudbroker/node/update.go | 2 +- pkg/cloudbroker/node/update_description.go | 2 +- pkg/cloudbroker/pcidevice.go | 2 +- pkg/cloudbroker/pcidevice/create.go | 2 +- pkg/cloudbroker/pcidevice/delete.go | 2 +- pkg/cloudbroker/pcidevice/disable.go | 2 +- pkg/cloudbroker/pcidevice/enable.go | 2 +- pkg/cloudbroker/pcidevice/list.go | 2 +- pkg/cloudbroker/pcidevice/pcidevice.go | 2 +- pkg/cloudbroker/pcidevice/serialize.go | 2 +- pkg/cloudbroker/prometheus.go | 2 +- .../prometheus/compute_cpu_load.go | 2 +- .../prometheus/compute_memory_available.go | 2 +- .../prometheus/compute_memory_unused.go | 2 +- .../prometheus/compute_memory_usable.go | 2 +- .../prometheus/compute_memory_usage.go | 2 +- .../prometheus/compute_memory_used.go | 2 +- .../prometheus/compute_read_bytes.go | 2 +- .../prometheus/compute_read_requests.go | 2 +- .../prometheus/compute_receive_bytes.go | 2 +- .../prometheus/compute_receive_packets.go | 2 +- .../prometheus/compute_transmit_bytes.go | 2 +- .../prometheus/compute_transmit_packets.go | 2 +- .../prometheus/compute_write_bytes.go | 2 +- .../prometheus/compute_write_requests.go | 2 +- pkg/cloudbroker/prometheus/computes.go | 2 +- pkg/cloudbroker/prometheus/prometheus.go | 2 +- pkg/cloudbroker/resmon.go | 2 +- pkg/cloudbroker/resmon/get_by_compute.go | 2 +- pkg/cloudbroker/resmon/get_by_computes.go | 2 +- pkg/cloudbroker/resmon/get_by_grid.go | 2 +- pkg/cloudbroker/resmon/get_by_node.go | 2 +- pkg/cloudbroker/resmon/get_by_nodes.go | 2 +- pkg/cloudbroker/resmon/resmon.go | 2 +- pkg/cloudbroker/rg.go | 2 +- pkg/cloudbroker/rg/access_grant.go | 2 +- pkg/cloudbroker/rg/access_revoke.go | 2 +- pkg/cloudbroker/rg/add_storage_policy.go | 2 +- pkg/cloudbroker/rg/affinity_group_computes.go | 2 +- pkg/cloudbroker/rg/affinity_groups_get.go | 2 +- pkg/cloudbroker/rg/affinity_groups_list.go | 2 +- pkg/cloudbroker/rg/audits.go | 2 +- pkg/cloudbroker/rg/create.go | 4 +- pkg/cloudbroker/rg/del_storage_policy.go | 2 +- pkg/cloudbroker/rg/delete.go | 2 +- pkg/cloudbroker/rg/disable.go | 2 +- pkg/cloudbroker/rg/enable.go | 2 +- pkg/cloudbroker/rg/get.go | 2 +- .../rg/get_resource_consumption.go | 2 +- pkg/cloudbroker/rg/list.go | 2 +- pkg/cloudbroker/rg/list_computes.go | 2 +- pkg/cloudbroker/rg/list_deleted.go | 2 +- pkg/cloudbroker/rg/list_lb.go | 2 +- pkg/cloudbroker/rg/list_pfw.go | 2 +- pkg/cloudbroker/rg/list_vins.go | 2 +- pkg/cloudbroker/rg/mass_delete.go | 2 +- pkg/cloudbroker/rg/mass_disable.go | 2 +- pkg/cloudbroker/rg/mass_enable.go | 2 +- pkg/cloudbroker/rg/remove_def_net.go | 2 +- pkg/cloudbroker/rg/restore.go | 2 +- pkg/cloudbroker/rg/rg.go | 2 +- pkg/cloudbroker/rg/serialize.go | 2 +- .../rg/set_cpu_allocation_parameter.go | 2 +- .../rg/set_cpu_allocation_ratio.go | 2 +- pkg/cloudbroker/rg/set_def_net.go | 2 +- pkg/cloudbroker/rg/update.go | 4 +- pkg/cloudbroker/rg/update_compute_features.go | 2 +- pkg/cloudbroker/rg/update_resource_types.go | 2 +- pkg/cloudbroker/rg/usage.go | 2 +- pkg/cloudbroker/secgroup/create.go | 4 +- pkg/cloudbroker/secgroup/create_rule.go | 4 +- pkg/cloudbroker/secgroup/delete.go | 2 +- pkg/cloudbroker/secgroup/delete_rule.go | 2 +- pkg/cloudbroker/secgroup/get.go | 2 +- pkg/cloudbroker/secgroup/list.go | 2 +- pkg/cloudbroker/secgroup/security_group.go | 2 +- pkg/cloudbroker/secgroup/update.go | 2 +- pkg/cloudbroker/securitygroup.go | 2 +- pkg/cloudbroker/sep.go | 2 +- pkg/cloudbroker/sep/access_grant.go | 2 +- pkg/cloudbroker/sep/access_grant_to_pool.go | 2 +- pkg/cloudbroker/sep/access_revoke.go | 2 +- pkg/cloudbroker/sep/access_revoke_to_pool.go | 2 +- pkg/cloudbroker/sep/add_consumer_nodes.go | 2 +- pkg/cloudbroker/sep/add_pool.go | 2 +- pkg/cloudbroker/sep/add_provider_nodes.go | 2 +- pkg/cloudbroker/sep/config_field_edit.go | 2 +- pkg/cloudbroker/sep/config_insert.go | 2 +- pkg/cloudbroker/sep/config_validate.go | 2 +- pkg/cloudbroker/sep/consumption.go | 2 +- pkg/cloudbroker/sep/create.go | 2 +- pkg/cloudbroker/sep/decommission.go | 2 +- pkg/cloudbroker/sep/del_consumer_nodes.go | 2 +- pkg/cloudbroker/sep/del_pool.go | 2 +- pkg/cloudbroker/sep/delete.go | 2 +- pkg/cloudbroker/sep/disable.go | 2 +- pkg/cloudbroker/sep/disk_list.go | 2 +- pkg/cloudbroker/sep/enable.go | 2 +- pkg/cloudbroker/sep/get.go | 2 +- pkg/cloudbroker/sep/get_config.go | 2 +- pkg/cloudbroker/sep/get_pool.go | 2 +- pkg/cloudbroker/sep/get_template.go | 2 +- pkg/cloudbroker/sep/list.go | 2 +- .../sep/list_available_sep_and_pools.go | 2 +- pkg/cloudbroker/sep/sep.go | 2 +- pkg/cloudbroker/sep/serialize.go | 2 +- pkg/cloudbroker/sep/shared_lock_start.go | 2 +- pkg/cloudbroker/sep/shared_lock_stop.go | 2 +- pkg/cloudbroker/storage_policy.go | 2 +- pkg/cloudbroker/stpolicy/add_pool.go | 2 +- pkg/cloudbroker/stpolicy/create.go | 4 +- pkg/cloudbroker/stpolicy/delete.go | 2 +- pkg/cloudbroker/stpolicy/delete_pool.go | 2 +- pkg/cloudbroker/stpolicy/disable.go | 2 +- pkg/cloudbroker/stpolicy/enable.go | 2 +- pkg/cloudbroker/stpolicy/get.go | 2 +- pkg/cloudbroker/stpolicy/list.go | 2 +- pkg/cloudbroker/stpolicy/storage_policy.go | 2 +- pkg/cloudbroker/stpolicy/update.go | 4 +- pkg/cloudbroker/tasks.go | 2 +- pkg/cloudbroker/tasks/get.go | 2 +- pkg/cloudbroker/tasks/list.go | 2 +- pkg/cloudbroker/tasks/tasks.go | 2 +- pkg/cloudbroker/trunk.go | 2 +- pkg/cloudbroker/trunk/access_grant.go | 2 +- pkg/cloudbroker/trunk/access_revoke.go | 2 +- pkg/cloudbroker/trunk/create.go | 2 +- pkg/cloudbroker/trunk/destroy.go | 2 +- pkg/cloudbroker/trunk/disable.go | 2 +- pkg/cloudbroker/trunk/enable.go | 2 +- pkg/cloudbroker/trunk/get.go | 2 +- pkg/cloudbroker/trunk/list.go | 2 +- pkg/cloudbroker/trunk/trunk.go | 2 +- pkg/cloudbroker/trunk/update.go | 2 +- pkg/cloudbroker/user.go | 2 +- pkg/cloudbroker/user/api_list.go | 2 +- pkg/cloudbroker/user/apiaccess_join.go | 2 +- pkg/cloudbroker/user/apiaccess_leave.go | 2 +- pkg/cloudbroker/user/apiaccess_list.go | 2 +- pkg/cloudbroker/user/block.go | 2 +- pkg/cloudbroker/user/create.go | 2 +- pkg/cloudbroker/user/delete.go | 2 +- pkg/cloudbroker/user/delete_by_guid.go | 2 +- pkg/cloudbroker/user/delete_users.go | 2 +- pkg/cloudbroker/user/get.go | 2 +- .../user/get_matching_usernames.go | 2 +- pkg/cloudbroker/user/list.go | 2 +- pkg/cloudbroker/user/unblock.go | 2 +- pkg/cloudbroker/user/user.go | 2 +- pkg/cloudbroker/vfpool.go | 2 +- pkg/cloudbroker/vfpool/create.go | 2 +- pkg/cloudbroker/vfpool/delete.go | 2 +- pkg/cloudbroker/vfpool/disable.go | 2 +- pkg/cloudbroker/vfpool/enable.go | 2 +- pkg/cloudbroker/vfpool/get.go | 2 +- pkg/cloudbroker/vfpool/list.go | 2 +- pkg/cloudbroker/vfpool/serialize.go | 2 +- pkg/cloudbroker/vfpool/update.go | 2 +- pkg/cloudbroker/vfpool/vfpool.go | 2 +- pkg/cloudbroker/vgpu.go | 2 +- pkg/cloudbroker/vgpu/allocate.go | 2 +- pkg/cloudbroker/vgpu/create.go | 2 +- pkg/cloudbroker/vgpu/deallocate.go | 2 +- pkg/cloudbroker/vgpu/destroy.go | 2 +- pkg/cloudbroker/vgpu/list.go | 2 +- pkg/cloudbroker/vgpu/serialize.go | 2 +- pkg/cloudbroker/vgpu/vgpu.go | 2 +- pkg/cloudbroker/vins.go | 2 +- pkg/cloudbroker/vins/audits.go | 2 +- pkg/cloudbroker/vins/create_in_account.go | 2 +- pkg/cloudbroker/vins/create_in_rg.go | 2 +- pkg/cloudbroker/vins/default_qos_update.go | 2 +- pkg/cloudbroker/vins/delete.go | 2 +- pkg/cloudbroker/vins/disable.go | 2 +- pkg/cloudbroker/vins/dns_apply.go | 2 +- pkg/cloudbroker/vins/enable.go | 2 +- pkg/cloudbroker/vins/extnet_connect.go | 2 +- pkg/cloudbroker/vins/extnet_disconnect.go | 2 +- pkg/cloudbroker/vins/extnet_list.go | 2 +- pkg/cloudbroker/vins/get.go | 2 +- pkg/cloudbroker/vins/ip_list.go | 2 +- pkg/cloudbroker/vins/ip_release.go | 2 +- pkg/cloudbroker/vins/ip_reserve.go | 2 +- pkg/cloudbroker/vins/list.go | 2 +- pkg/cloudbroker/vins/list_deleted.go | 2 +- pkg/cloudbroker/vins/mass_delete.go | 2 +- pkg/cloudbroker/vins/mass_disable.go | 2 +- pkg/cloudbroker/vins/mass_enable.go | 2 +- pkg/cloudbroker/vins/migrate_to_zone.go | 2 +- pkg/cloudbroker/vins/nat_rule_add.go | 2 +- pkg/cloudbroker/vins/nat_rule_del.go | 2 +- pkg/cloudbroker/vins/nat_rule_list.go | 2 +- pkg/cloudbroker/vins/net_qos.go | 2 +- pkg/cloudbroker/vins/restore.go | 2 +- pkg/cloudbroker/vins/serialize.go | 2 +- .../vins/static_route_access_grant.go | 2 +- .../vins/static_route_access_revoke.go | 2 +- pkg/cloudbroker/vins/static_route_add.go | 2 +- pkg/cloudbroker/vins/static_route_del.go | 2 +- pkg/cloudbroker/vins/static_route_list.go | 2 +- pkg/cloudbroker/vins/update.go | 2 +- pkg/cloudbroker/vins/vins.go | 2 +- pkg/cloudbroker/vins/vnfdev_redeploy.go | 2 +- pkg/cloudbroker/vins/vnfdev_reset.go | 2 +- pkg/cloudbroker/vins/vnfdev_restart.go | 2 +- pkg/cloudbroker/vins/vnfdev_start.go | 2 +- pkg/cloudbroker/vins/vnfdev_stop.go | 2 +- pkg/cloudbroker/zone.go | 2 +- pkg/cloudbroker/zone/add_node.go | 2 +- pkg/cloudbroker/zone/create.go | 2 +- pkg/cloudbroker/zone/del_node.go | 2 +- pkg/cloudbroker/zone/delete.go | 2 +- pkg/cloudbroker/zone/get.go | 2 +- pkg/cloudbroker/zone/list.go | 2 +- pkg/cloudbroker/zone/node_autostart.go | 2 +- pkg/cloudbroker/zone/serialize.go | 2 +- pkg/cloudbroker/zone/update.go | 2 +- pkg/cloudbroker/zone/zone.go | 2 +- pkg/sdn/access_groups.go | 2 +- pkg/sdn/acsgroups/access_groups.go | 2 +- pkg/sdn/acsgroups/create.go | 4 +- pkg/sdn/acsgroups/delete.go | 4 +- pkg/sdn/acsgroups/get.go | 2 +- pkg/sdn/acsgroups/list.go | 2 +- pkg/sdn/acsgroups/update.go | 4 +- pkg/sdn/acsgroups/user_add.go | 4 +- pkg/sdn/acsgroups/user_delete.go | 4 +- pkg/sdn/acsgroups/user_list.go | 2 +- pkg/sdn/acsgroups/user_update_role.go | 4 +- pkg/sdn/address_pools.go | 2 +- pkg/sdn/adrspools/adress_pools.go | 2 +- pkg/sdn/adrspools/create.go | 4 +- pkg/sdn/adrspools/delete.go | 4 +- pkg/sdn/adrspools/get.go | 2 +- pkg/sdn/adrspools/list.go | 2 +- pkg/sdn/adrspools/serialize.go | 2 +- pkg/sdn/adrspools/update.go | 4 +- pkg/sdn/default_security_policies.go | 2 +- .../default_security_policies.go | 2 +- pkg/sdn/defsecpolicies/list.go | 2 +- pkg/sdn/defsecpolicies/serialize.go | 2 +- pkg/sdn/defsecpolicies/update.go | 4 +- pkg/sdn/extnet.go | 2 +- pkg/sdn/extnet/create.go | 4 +- pkg/sdn/extnet/delete.go | 4 +- pkg/sdn/extnet/extnet.go | 2 +- pkg/sdn/extnet/get.go | 2 +- pkg/sdn/extnet/list.go | 12 +- pkg/sdn/extnet/port_add.go | 4 +- pkg/sdn/extnet/port_update.go | 4 +- pkg/sdn/extnet/update.go | 4 +- pkg/sdn/flips.go | 2 +- pkg/sdn/flips/create.go | 4 +- pkg/sdn/flips/delete.go | 4 +- pkg/sdn/flips/flips.go | 2 +- pkg/sdn/flips/get.go | 2 +- pkg/sdn/flips/list.go | 2 +- pkg/sdn/flips/update.go | 4 +- pkg/sdn/logical_ports.go | 2 +- pkg/sdn/logicalports/create.go | 4 +- pkg/sdn/logicalports/delete.go | 4 +- pkg/sdn/logicalports/get.go | 2 +- .../logicalports/get_by_unique_identifier.go | 2 +- pkg/sdn/logicalports/list.go | 2 +- pkg/sdn/logicalports/logicalports.go | 2 +- pkg/sdn/logicalports/migrate_cancel.go | 4 +- pkg/sdn/logicalports/migrate_start.go | 4 +- pkg/sdn/logicalports/serialize.go | 2 +- pkg/sdn/logicalports/update.go | 4 +- pkg/sdn/netobjgroups/attach_extnet_ports.go | 4 +- .../attach_l2_connection_ports.go | 62 ++++++++++ pkg/sdn/netobjgroups/attach_logical_ports.go | 4 +- pkg/sdn/netobjgroups/create.go | 4 +- pkg/sdn/netobjgroups/delete.go | 4 +- .../detach_external_network_ports.go | 4 +- .../detach_l2_connection_ports.go | 62 ++++++++++ pkg/sdn/netobjgroups/detach_logical_ports.go | 4 +- pkg/sdn/netobjgroups/get.go | 2 +- pkg/sdn/netobjgroups/list.go | 2 +- pkg/sdn/netobjgroups/network_object_groups.go | 2 +- pkg/sdn/netobjgroups/update.go | 4 +- pkg/sdn/network_object_groups.go | 2 +- pkg/sdn/routers.go | 2 +- pkg/sdn/routers/create.go | 4 +- pkg/sdn/routers/delete.go | 4 +- pkg/sdn/routers/gateaway_port.go | 2 +- pkg/sdn/routers/get.go | 2 +- pkg/sdn/routers/gwport/create.go | 4 +- pkg/sdn/routers/gwport/delete.go | 4 +- pkg/sdn/routers/gwport/gateaway_port.go | 2 +- pkg/sdn/routers/gwport/get.go | 2 +- pkg/sdn/routers/gwport/list.go | 2 +- pkg/sdn/routers/gwport/update.go | 4 +- pkg/sdn/routers/list.go | 2 +- pkg/sdn/routers/policies.go | 2 +- pkg/sdn/routers/policies/list.go | 2 +- pkg/sdn/routers/policies/policies.go | 2 +- pkg/sdn/routers/routers.go | 2 +- pkg/sdn/routers/serialize.go | 2 +- pkg/sdn/routers/update.go | 4 +- pkg/sdn/sdn.go | 2 +- pkg/sdn/secpolicies/create.go | 4 +- pkg/sdn/secpolicies/delete.go | 4 +- pkg/sdn/secpolicies/get.go | 2 +- pkg/sdn/secpolicies/list.go | 2 +- pkg/sdn/secpolicies/move.go | 4 +- pkg/sdn/secpolicies/rule.go | 2 +- pkg/sdn/secpolicies/rule/get.go | 2 +- pkg/sdn/secpolicies/rule/list.go | 2 +- pkg/sdn/secpolicies/rule/rule.go | 2 +- pkg/sdn/secpolicies/rule/serialize.go | 2 +- pkg/sdn/secpolicies/security_policies.go | 2 +- pkg/sdn/secpolicies/serialize.go | 2 +- pkg/sdn/secpolicies/update.go | 4 +- pkg/sdn/security_policies.go | 2 +- pkg/sdn/segments.go | 2 +- pkg/sdn/segments/create.go | 4 +- pkg/sdn/segments/delete.go | 4 +- pkg/sdn/segments/get_status.go | 2 +- pkg/sdn/segments/segments.go | 2 +- pkg/sdn/segments/update.go | 4 +- samples/client/client.go | 4 +- samples/client/client_test.go | 6 +- universal-client.go | 8 +- 1203 files changed, 1609 insertions(+), 1361 deletions(-) create mode 100644 pkg/cloudbroker/compute/check_compute_placement.go create mode 100644 pkg/sdn/netobjgroups/attach_l2_connection_ports.go create mode 100644 pkg/sdn/netobjgroups/detach_l2_connection_ports.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 2376fa5..225e848 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,6 @@ -## Version 13.8.0 +## Version 14.0.0 Методы `Audits` в cloudapi/compute, cloudbroker/compute, cloudapi/account, cloudbroker/account, cloudapi/vins, cloudbroker/vins, cloudapi/rg и cloudbroker/rg стали deprecated и в следующих версиях будут удалены, вместо них необходимо использовать метод `List` в cloudapi/audit и cloudbroker/audit с соответствующими фильтрами -Метод `ListNodes` в cloudbroker/image стал deprecated и в следующих версиях будет удалён Методы `AccessGrant`, `AccessGrantToPool`, `AccessRevoke`, `AccessRevokeToPool` в cloudbroker/sep стали deprecated и в следующих версиях будут удалены Методы `ComputeCISet`, `ComputeCIUnset`, `GetAudits` в cloudbroker/compute и `GetAudits` в cloudapi/compute стали deprecated и будут удалены в следующих версиях Методы `ComputeCISet`, `ComputeCIUnset` в cloudbroker/image стали deprecated и будут удалены в следующих версиях @@ -10,7 +9,41 @@ ### Добавлено +#### account +| Идентификатор
задачи | Описание | +| --- | --- | +| BGOS-772 | Вычисляемое поле `UpdatedBy` в структуры ответа `RecordAccount` в cloudapi/account и `InfoAccount` в cloudbroker/account | + +#### compute +| Идентификатор
задачи | Описание | +| --- | --- | +| BGOS-767 | Метод `CheckComputePlacement`, структура запроса `CheckComputePlacementRequest` и структуры ответа `CheckComputePlacementResult`, `CheckComputePlacementItem`,`CheckComputePlacementError` в cloudbroker/compute | +| BGOS-771 | Вычисляемое поле `BlockSize` в структуры ответа `ItemDisk` в cloudbroker/compute и в `ItemComputeDisk` в cloudapi/compute | + +#### disks +| Идентификатор
задачи | Описание | +| --- | --- | +| BGOS-770 | Опциональное поле `BlockSize` в структуру запроса `UpdateRequest` в cloudbroker/disks | +| BGOS-770 | Вычисляемое поле `BlockSize` в структуры ответа `ItemDisk`, `ItemDiskUnattached` и `RecordDisk` в cloudapi/disks и в структуры ответа `InfoDisk` и `RecordDisk` в cloudbroker/disks | + +#### node +| Идентификатор
задачи | Описание | +| --- | --- | +| BGOS-769 | Опциональное поле `ZoneID` в структуру запроса `ListRequest` в cloudbroker/node | + +#### SDN external networks +| Идентификатор
задачи | Описание | +| --- | --- | +| BGOS-694 | Опциональные поля `OperationStatus` и `HypervisorStatus` в структуру запроса `ListRequest` в sdn/external_networks | + +#### SDN network object groups +| Идентификатор
задачи | Описание | +| --- | --- | +| BGOS-749 | Методы `AttachL2ConnectionPorts`, `DetachL2ConnectionPorts` и структуры запросов `AttachL2ConnectionPortsRequest`, `L2PortBindings`, `DetachL2PortBindings`, `DetachL2ConnectionPortsRequest` в sdn/netobjgroups | + +### Удалено + #### kvmx86 | Идентификатор
задачи | Описание | | --- | --- | -| BGOS-763 | Опциональное поле `BLKDiscard` в структуре `DataDisk` в структурах запроса `CreateRequest`, `CreateBlankRequest` и `MassCreateRequest` в cloudbroker/kvmx86 | +| BGOS-773 | Опциональные поля `IS` и `IPAType` из структур запроса `CreateRequest` в cloudapi/kvmx86 и в cloudbroker/kvmx86 | diff --git a/README.md b/README.md index e4b8db3..34b7805 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ Dynamix SDK - это библиотека, написанная на языке - Версия 11.0.х Dynamix-SDK соответствует 4.3.0 версии платформы - Версия 12.x.х Dynamix-SDK соответствует 4.4.0 версии платформы - Версия 13.x.х Dynamix-SDK соответствует 4.5.0 версии платформы + - Версия 14.x.х Dynamix-SDK соответствует 4.6.0 версии платформы ## Оглавление @@ -83,7 +84,7 @@ Dynamix SDK - это библиотека, написанная на языке Выполните команду в терминале: ```bash -go get -u repository.basistech.ru/BASIS/dynamix-golang-sdk/v13 +go get -u repository.basistech.ru/BASIS/dynamix-golang-sdk/v14 ``` ## Список API @@ -207,7 +208,7 @@ go get -u repository.basistech.ru/BASIS/dynamix-golang-sdk/v13 ```go import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" ) func main(){ @@ -232,7 +233,7 @@ func main(){ ```go import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" ) func main() { @@ -277,8 +278,8 @@ sslSkipVerify: false package main import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" ) func main() { @@ -476,9 +477,9 @@ type CreateRequest struct { package main import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/kvmx86" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/kvmx86" ) func main() { @@ -612,9 +613,9 @@ import ( "log" "fmt" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/kvmx86" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/kvmx86" ) func main() { @@ -662,9 +663,9 @@ import ( "log" "fmt" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/account" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/account" ) func main() { @@ -842,9 +843,9 @@ import ( "context" "log" - decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/compute" + decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/compute" ) func main() { @@ -900,9 +901,9 @@ import ( "log" "fmt" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/bservice" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/bservice" ) func main() { @@ -955,10 +956,10 @@ import ( "log" "fmt" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/tasks" - tasks_cb "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/tasks" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/tasks" + tasks_cb "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/tasks" ) func main() { @@ -1038,7 +1039,7 @@ func main() { ```go import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" ) func main(){ @@ -1062,7 +1063,7 @@ func main(){ ```go import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" ) func main() { @@ -1103,8 +1104,8 @@ sslSkipVerify: true package main import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" ) func main() { @@ -1131,8 +1132,8 @@ package main import ( "fmt" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" ) func main() { @@ -1214,7 +1215,7 @@ func main() { ```go import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" ) func main(){ @@ -1242,7 +1243,7 @@ func main(){ ```go import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" ) func main() { @@ -1259,7 +1260,7 @@ func main() { ```go import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" ) func main() { @@ -1325,8 +1326,8 @@ func main() { package main import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" ) func main() { @@ -1359,8 +1360,8 @@ package main import ( "fmt" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" ) func main() { @@ -1400,8 +1401,8 @@ package main import ( "fmt" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" ) func main() { @@ -1439,8 +1440,8 @@ package main import ( "fmt" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" ) func main() { @@ -1493,11 +1494,11 @@ import ( "log" "os" - decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/kvmx86" + decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/kvmx86" ) func main() { @@ -1559,7 +1560,7 @@ func main() { ```go import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" ) func main(){ @@ -1592,8 +1593,8 @@ func main(){ package main import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" ) func main() { @@ -1624,8 +1625,8 @@ package main import ( "fmt" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + decort "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" ) func main() { @@ -1677,7 +1678,7 @@ func main() { ```go import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" ) func main(){ @@ -1710,7 +1711,7 @@ package unit_test import ( "testing" "go.uber.org/mock/gomock" - decortsdk "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13" + decortsdk "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" ) // Пример юнит тестирования на моках diff --git a/check.go b/check.go index d13e48f..70d5cdb 100644 --- a/check.go +++ b/check.go @@ -8,7 +8,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" ) type CheckInfo struct { diff --git a/client.go b/client.go index fde2870..70f08db 100644 --- a/client.go +++ b/client.go @@ -17,12 +17,12 @@ import ( "time" "github.com/google/go-querystring/query" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn" ) // DecortClient is HTTP-client for platform diff --git a/client_bvs.go b/client_bvs.go index 829ba69..e15272b 100644 --- a/client_bvs.go +++ b/client_bvs.go @@ -14,11 +14,11 @@ import ( "time" "github.com/google/go-querystring/query" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn" ) // BVSDecortClient is HTTP-client for platform diff --git a/client_mock.go b/client_mock.go index 1b0c674..6bbf3e9 100644 --- a/client_mock.go +++ b/client_mock.go @@ -1,9 +1,9 @@ package decortsdk import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn" ) type MockDecortClient struct { diff --git a/config/config.go b/config/config.go index f1b0b21..15942c6 100644 --- a/config/config.go +++ b/config/config.go @@ -6,7 +6,7 @@ import ( "time" "gopkg.in/yaml.v3" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // Configuration for creating request to platform diff --git a/config/config_bvs.go b/config/config_bvs.go index 0d00ba8..7debb5e 100644 --- a/config/config_bvs.go +++ b/config/config_bvs.go @@ -6,8 +6,8 @@ import ( "time" "gopkg.in/yaml.v3" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type BVSConfig struct { diff --git a/config/legacy-config.go b/config/legacy-config.go index 8f0ebd8..9e75cb0 100644 --- a/config/legacy-config.go +++ b/config/legacy-config.go @@ -6,7 +6,7 @@ import ( "time" "gopkg.in/yaml.v3" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // Legacy client configuration diff --git a/go.mod b/go.mod index 61b0d52..d01c6ef 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module repository.basistech.ru/BASIS/dynamix-golang-sdk/v13 +module repository.basistech.ru/BASIS/dynamix-golang-sdk/v14 go 1.24.0 diff --git a/internal/constants/constants.go b/internal/constants/constants.go index 4f9dee5..c21520f 100644 --- a/internal/constants/constants.go +++ b/internal/constants/constants.go @@ -28,6 +28,7 @@ var FileName = map[string]string{ var K8sValues = []string{"labels", "taints", "annotations, additionalSANs"} var VersionMap = map[string]string{ + "4.6.0": "-", "4.5.0": "-", "4.4.0": "-", "4.3.0": "-", diff --git a/internal/validators/custom.go b/internal/validators/custom.go index bdb7349..e42cee7 100644 --- a/internal/validators/custom.go +++ b/internal/validators/custom.go @@ -10,8 +10,8 @@ import ( "strings" "github.com/go-playground/validator/v10" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/multierror" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/multierror" ) // protoValidator is used to validate Proto fields. diff --git a/internal/validators/helper.go b/internal/validators/helper.go index 9ff9ae7..ea86d47 100644 --- a/internal/validators/helper.go +++ b/internal/validators/helper.go @@ -2,7 +2,7 @@ package validators import ( "errors" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/multierror" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/multierror" "github.com/go-playground/validator/v10" ) diff --git a/legacy-client.go b/legacy-client.go index bfe5104..4da246c 100644 --- a/legacy-client.go +++ b/legacy-client.go @@ -14,11 +14,11 @@ import ( "time" "github.com/google/go-querystring/query" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn" ) // LegacyDecortClient is Legacy HTTP-client for platform diff --git a/pkg/cloudapi/account.go b/pkg/cloudapi/account.go index a4d0aa4..1ad5b24 100644 --- a/pkg/cloudapi/account.go +++ b/pkg/cloudapi/account.go @@ -1,7 +1,7 @@ package cloudapi import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/account" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/account" ) // Accessing the Account method group diff --git a/pkg/cloudapi/account/account.go b/pkg/cloudapi/account/account.go index d1cff6e..8a052fe 100644 --- a/pkg/cloudapi/account/account.go +++ b/pkg/cloudapi/account/account.go @@ -2,7 +2,7 @@ package account import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to account diff --git a/pkg/cloudapi/account/add_user.go b/pkg/cloudapi/account/add_user.go index 9562bfb..b457e57 100644 --- a/pkg/cloudapi/account/add_user.go +++ b/pkg/cloudapi/account/add_user.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AddUserRequest struct to add permission to access account for a user diff --git a/pkg/cloudapi/account/audits.go b/pkg/cloudapi/account/audits.go index aa35def..ca3ec48 100644 --- a/pkg/cloudapi/account/audits.go +++ b/pkg/cloudapi/account/audits.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AuditsRequest struct to give list of account audits diff --git a/pkg/cloudapi/account/delete.go b/pkg/cloudapi/account/delete.go index 123b8f3..dba5a6d 100644 --- a/pkg/cloudapi/account/delete.go +++ b/pkg/cloudapi/account/delete.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete account diff --git a/pkg/cloudapi/account/delete_user.go b/pkg/cloudapi/account/delete_user.go index 9bdab16..999c64f 100644 --- a/pkg/cloudapi/account/delete_user.go +++ b/pkg/cloudapi/account/delete_user.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteUserRequest struct to revoke access to account diff --git a/pkg/cloudapi/account/disable_enable.go b/pkg/cloudapi/account/disable_enable.go index 4fe9be0..807144f 100644 --- a/pkg/cloudapi/account/disable_enable.go +++ b/pkg/cloudapi/account/disable_enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableEnableRequest struct to change status of account diff --git a/pkg/cloudapi/account/get.go b/pkg/cloudapi/account/get.go index 7a6635b..7a080fe 100644 --- a/pkg/cloudapi/account/get.go +++ b/pkg/cloudapi/account/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about account diff --git a/pkg/cloudapi/account/get_consumed_account_units.go b/pkg/cloudapi/account/get_consumed_account_units.go index fb69764..d80ba5c 100644 --- a/pkg/cloudapi/account/get_consumed_account_units.go +++ b/pkg/cloudapi/account/get_consumed_account_units.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetConsumedAccountUnitsRequest struct to calculate the currently consumed units for all cloudspaces and resource groups in the account diff --git a/pkg/cloudapi/account/get_consumed_cloud_units_by_type.go b/pkg/cloudapi/account/get_consumed_cloud_units_by_type.go index 865cae7..2c8757d 100644 --- a/pkg/cloudapi/account/get_consumed_cloud_units_by_type.go +++ b/pkg/cloudapi/account/get_consumed_cloud_units_by_type.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetConsumedCloudUnitsByTypeRequest struct to calculate the currently consumed cloud units of the specified type for all cloudspaces and resource groups in the account diff --git a/pkg/cloudapi/account/get_reserved_account_units.go b/pkg/cloudapi/account/get_reserved_account_units.go index 0fc7dbf..b9f1135 100644 --- a/pkg/cloudapi/account/get_reserved_account_units.go +++ b/pkg/cloudapi/account/get_reserved_account_units.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetReservedAccountUnitsRequest struct to calculate the reserved units for all cloudspaces and resource groups in the account diff --git a/pkg/cloudapi/account/get_resource_consumption.go b/pkg/cloudapi/account/get_resource_consumption.go index c62e27e..2cccae7 100644 --- a/pkg/cloudapi/account/get_resource_consumption.go +++ b/pkg/cloudapi/account/get_resource_consumption.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetResourceConsumptionRequest struct to get resource consumption diff --git a/pkg/cloudapi/account/list.go b/pkg/cloudapi/account/list.go index 514bf72..799b662 100644 --- a/pkg/cloudapi/account/list.go +++ b/pkg/cloudapi/account/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of accounts diff --git a/pkg/cloudapi/account/list_computes.go b/pkg/cloudapi/account/list_computes.go index 9d91448..7366a32 100644 --- a/pkg/cloudapi/account/list_computes.go +++ b/pkg/cloudapi/account/list_computes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListComputesRequest struct to get a list of compute instances diff --git a/pkg/cloudapi/account/list_deleted.go b/pkg/cloudapi/account/list_deleted.go index 3411a30..f782bdb 100644 --- a/pkg/cloudapi/account/list_deleted.go +++ b/pkg/cloudapi/account/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get a list of deleted accounts diff --git a/pkg/cloudapi/account/list_disks.go b/pkg/cloudapi/account/list_disks.go index f99b74e..de60f19 100644 --- a/pkg/cloudapi/account/list_disks.go +++ b/pkg/cloudapi/account/list_disks.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDisksRequest struct to get a list of deleted disks diff --git a/pkg/cloudapi/account/list_flipgroups.go b/pkg/cloudapi/account/list_flipgroups.go index f6bfa83..69aa677 100644 --- a/pkg/cloudapi/account/list_flipgroups.go +++ b/pkg/cloudapi/account/list_flipgroups.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListFLIPGroupsRequest struct to get a list of FLIPGroups diff --git a/pkg/cloudapi/account/list_rg.go b/pkg/cloudapi/account/list_rg.go index 9aa8d9d..9ef940d 100644 --- a/pkg/cloudapi/account/list_rg.go +++ b/pkg/cloudapi/account/list_rg.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRGRequest struct to get a list of resource groups diff --git a/pkg/cloudapi/account/list_templates.go b/pkg/cloudapi/account/list_templates.go index eadcda2..6dc8207 100644 --- a/pkg/cloudapi/account/list_templates.go +++ b/pkg/cloudapi/account/list_templates.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListTemplatesRequest struct to get a list of templates diff --git a/pkg/cloudapi/account/list_vins.go b/pkg/cloudapi/account/list_vins.go index 5cba1f2..04bf0c6 100644 --- a/pkg/cloudapi/account/list_vins.go +++ b/pkg/cloudapi/account/list_vins.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListVINSRequest struct to get a list of VINS diff --git a/pkg/cloudapi/account/models.go b/pkg/cloudapi/account/models.go index 529578c..357cbc1 100644 --- a/pkg/cloudapi/account/models.go +++ b/pkg/cloudapi/account/models.go @@ -299,6 +299,9 @@ type RecordAccount struct { // UniqPools UniqPools []interface{} `json:"uniqPools"` + // Updated By + UpdatedBy string `json:"updatedBy"` + // Updated time UpdatedTime uint64 `json:"updatedTime"` diff --git a/pkg/cloudapi/account/restore.go b/pkg/cloudapi/account/restore.go index 98bf027..7b5cc0f 100644 --- a/pkg/cloudapi/account/restore.go +++ b/pkg/cloudapi/account/restore.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreRequest struct to restore a deleted account diff --git a/pkg/cloudapi/account/serialize.go b/pkg/cloudapi/account/serialize.go index 5a3416e..0d876d9 100644 --- a/pkg/cloudapi/account/serialize.go +++ b/pkg/cloudapi/account/serialize.go @@ -3,7 +3,7 @@ package account import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudapi/account/update.go b/pkg/cloudapi/account/update.go index bd84eac..2f92c90 100644 --- a/pkg/cloudapi/account/update.go +++ b/pkg/cloudapi/account/update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update account diff --git a/pkg/cloudapi/account/update_user.go b/pkg/cloudapi/account/update_user.go index 8f961cd..7457e20 100644 --- a/pkg/cloudapi/account/update_user.go +++ b/pkg/cloudapi/account/update_user.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateUserRequest struct to update user access rights diff --git a/pkg/cloudapi/audit.go b/pkg/cloudapi/audit.go index ee06685..d6cea1a 100644 --- a/pkg/cloudapi/audit.go +++ b/pkg/cloudapi/audit.go @@ -1,7 +1,7 @@ package cloudapi import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/audit" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/audit" ) // Accessing the Stack method group diff --git a/pkg/cloudapi/audit/audit.go b/pkg/cloudapi/audit/audit.go index 9b89774..c61b6f9 100644 --- a/pkg/cloudapi/audit/audit.go +++ b/pkg/cloudapi/audit/audit.go @@ -1,6 +1,6 @@ package audit -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to audit type Audit struct { diff --git a/pkg/cloudapi/audit/get.go b/pkg/cloudapi/audit/get.go index 0f87d42..498adba 100644 --- a/pkg/cloudapi/audit/get.go +++ b/pkg/cloudapi/audit/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about account diff --git a/pkg/cloudapi/audit/list.go b/pkg/cloudapi/audit/list.go index 82e7751..fcdba83 100644 --- a/pkg/cloudapi/audit/list.go +++ b/pkg/cloudapi/audit/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to give list of account audits diff --git a/pkg/cloudapi/bservice.go b/pkg/cloudapi/bservice.go index 35dd135..e14c09d 100644 --- a/pkg/cloudapi/bservice.go +++ b/pkg/cloudapi/bservice.go @@ -1,6 +1,6 @@ package cloudapi -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/bservice" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/bservice" // Accessing the BService method group func (ca *CloudAPI) BService() *bservice.BService { diff --git a/pkg/cloudapi/bservice/bservice.go b/pkg/cloudapi/bservice/bservice.go index dd0c486..52d3af1 100644 --- a/pkg/cloudapi/bservice/bservice.go +++ b/pkg/cloudapi/bservice/bservice.go @@ -1,7 +1,7 @@ // API Actor for managing Compute Group. This actor is a final API for endusers to manage Compute Group package bservice -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to bservice type BService struct { diff --git a/pkg/cloudapi/bservice/create.go b/pkg/cloudapi/bservice/create.go index c6c1870..e8a92c3 100644 --- a/pkg/cloudapi/bservice/create.go +++ b/pkg/cloudapi/bservice/create.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct for BasicService diff --git a/pkg/cloudapi/bservice/delete.go b/pkg/cloudapi/bservice/delete.go index 4a6b4e5..e0ee4ad 100644 --- a/pkg/cloudapi/bservice/delete.go +++ b/pkg/cloudapi/bservice/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete basic service diff --git a/pkg/cloudapi/bservice/disable.go b/pkg/cloudapi/bservice/disable.go index 6ae12e7..aabc095 100644 --- a/pkg/cloudapi/bservice/disable.go +++ b/pkg/cloudapi/bservice/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableRequest struct for disable service diff --git a/pkg/cloudapi/bservice/enable.go b/pkg/cloudapi/bservice/enable.go index dcbe8a6..62a9af4 100644 --- a/pkg/cloudapi/bservice/enable.go +++ b/pkg/cloudapi/bservice/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to disable service diff --git a/pkg/cloudapi/bservice/get.go b/pkg/cloudapi/bservice/get.go index bf48ac6..e1fa46e 100644 --- a/pkg/cloudapi/bservice/get.go +++ b/pkg/cloudapi/bservice/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get detailed information about service diff --git a/pkg/cloudapi/bservice/group_add.go b/pkg/cloudapi/bservice/group_add.go index 940f4d4..27b4e2a 100644 --- a/pkg/cloudapi/bservice/group_add.go +++ b/pkg/cloudapi/bservice/group_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupAddRequest struct to create new compute group within BasicService diff --git a/pkg/cloudapi/bservice/group_compute_remove.go b/pkg/cloudapi/bservice/group_compute_remove.go index 0fd86c7..28d3c8d 100644 --- a/pkg/cloudapi/bservice/group_compute_remove.go +++ b/pkg/cloudapi/bservice/group_compute_remove.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupComputeRemoveRequest struct to remove group compute diff --git a/pkg/cloudapi/bservice/group_get.go b/pkg/cloudapi/bservice/group_get.go index 8b1af45..5f58042 100644 --- a/pkg/cloudapi/bservice/group_get.go +++ b/pkg/cloudapi/bservice/group_get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupGetRequest struct to get detailed information about Compute Group diff --git a/pkg/cloudapi/bservice/group_parent_add.go b/pkg/cloudapi/bservice/group_parent_add.go index f7556c5..d67a151 100644 --- a/pkg/cloudapi/bservice/group_parent_add.go +++ b/pkg/cloudapi/bservice/group_parent_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupParentAddRequest struct to add parent Compute Group relation to the specified Compute Group diff --git a/pkg/cloudapi/bservice/group_parent_remove.go b/pkg/cloudapi/bservice/group_parent_remove.go index 701a3de..476d0c6 100644 --- a/pkg/cloudapi/bservice/group_parent_remove.go +++ b/pkg/cloudapi/bservice/group_parent_remove.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupParentRemoveRequest struct to remove parent Compute Group diff --git a/pkg/cloudapi/bservice/group_remove.go b/pkg/cloudapi/bservice/group_remove.go index 1d2cf2e..160a4cf 100644 --- a/pkg/cloudapi/bservice/group_remove.go +++ b/pkg/cloudapi/bservice/group_remove.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupRemoveRequest struct for destroy the specified Compute Group diff --git a/pkg/cloudapi/bservice/group_resize.go b/pkg/cloudapi/bservice/group_resize.go index b25b808..148e932 100644 --- a/pkg/cloudapi/bservice/group_resize.go +++ b/pkg/cloudapi/bservice/group_resize.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupResizeRequest struct to resize the group diff --git a/pkg/cloudapi/bservice/group_start.go b/pkg/cloudapi/bservice/group_start.go index 2dce834..b235c2b 100644 --- a/pkg/cloudapi/bservice/group_start.go +++ b/pkg/cloudapi/bservice/group_start.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupStartRequest struct to start the specified Compute Group diff --git a/pkg/cloudapi/bservice/group_stop.go b/pkg/cloudapi/bservice/group_stop.go index 267a5dc..9ff223f 100644 --- a/pkg/cloudapi/bservice/group_stop.go +++ b/pkg/cloudapi/bservice/group_stop.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupStopRequest struct to stop the specified Compute Group diff --git a/pkg/cloudapi/bservice/group_update.go b/pkg/cloudapi/bservice/group_update.go index e2fffe3..d8ebd49 100644 --- a/pkg/cloudapi/bservice/group_update.go +++ b/pkg/cloudapi/bservice/group_update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupUpdateRequest struct to update existing Compute group diff --git a/pkg/cloudapi/bservice/group_update_extnet.go b/pkg/cloudapi/bservice/group_update_extnet.go index b8b7ef5..07df71a 100644 --- a/pkg/cloudapi/bservice/group_update_extnet.go +++ b/pkg/cloudapi/bservice/group_update_extnet.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupUpdateExtNetRequest struct to update External Network settings diff --git a/pkg/cloudapi/bservice/group_update_vins.go b/pkg/cloudapi/bservice/group_update_vins.go index 418d5c5..7b3ee41 100644 --- a/pkg/cloudapi/bservice/group_update_vins.go +++ b/pkg/cloudapi/bservice/group_update_vins.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupUpdateVINSRequest struct to update VINS settings diff --git a/pkg/cloudapi/bservice/list.go b/pkg/cloudapi/bservice/list.go index 5b99707..38b2e18 100644 --- a/pkg/cloudapi/bservice/list.go +++ b/pkg/cloudapi/bservice/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of BasicService instances diff --git a/pkg/cloudapi/bservice/list_deleted.go b/pkg/cloudapi/bservice/list_deleted.go index 100b1c2..b56eadc 100644 --- a/pkg/cloudapi/bservice/list_deleted.go +++ b/pkg/cloudapi/bservice/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get list of deleted BasicService instances diff --git a/pkg/cloudapi/bservice/migrate_to_zone.go b/pkg/cloudapi/bservice/migrate_to_zone.go index 231d5af..b762328 100644 --- a/pkg/cloudapi/bservice/migrate_to_zone.go +++ b/pkg/cloudapi/bservice/migrate_to_zone.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateToZone struct to move basic service to another zone diff --git a/pkg/cloudapi/bservice/restore.go b/pkg/cloudapi/bservice/restore.go index d741e45..27e2bb7 100644 --- a/pkg/cloudapi/bservice/restore.go +++ b/pkg/cloudapi/bservice/restore.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreRequest struct to restore BasicService instance diff --git a/pkg/cloudapi/bservice/serialize.go b/pkg/cloudapi/bservice/serialize.go index cecbd82..762c573 100644 --- a/pkg/cloudapi/bservice/serialize.go +++ b/pkg/cloudapi/bservice/serialize.go @@ -3,7 +3,7 @@ package bservice import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudapi/bservice/snapshot_create.go b/pkg/cloudapi/bservice/snapshot_create.go index 31bf702..e7d5255 100644 --- a/pkg/cloudapi/bservice/snapshot_create.go +++ b/pkg/cloudapi/bservice/snapshot_create.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotCreateRequest struct to create snapshot diff --git a/pkg/cloudapi/bservice/snapshot_delete.go b/pkg/cloudapi/bservice/snapshot_delete.go index ee10c0f..0aba1a3 100644 --- a/pkg/cloudapi/bservice/snapshot_delete.go +++ b/pkg/cloudapi/bservice/snapshot_delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotDeleteRequest struct to delete snapshot diff --git a/pkg/cloudapi/bservice/snapshot_list.go b/pkg/cloudapi/bservice/snapshot_list.go index e2bfd8d..70c46fe 100644 --- a/pkg/cloudapi/bservice/snapshot_list.go +++ b/pkg/cloudapi/bservice/snapshot_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotListRequest struct to get list of existing snapshots diff --git a/pkg/cloudapi/bservice/snapshot_rollback.go b/pkg/cloudapi/bservice/snapshot_rollback.go index 58b2466..d377899 100644 --- a/pkg/cloudapi/bservice/snapshot_rollback.go +++ b/pkg/cloudapi/bservice/snapshot_rollback.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotRollbackRequest struct to rollback snapshot diff --git a/pkg/cloudapi/bservice/start.go b/pkg/cloudapi/bservice/start.go index b7587d0..f73fe09 100644 --- a/pkg/cloudapi/bservice/start.go +++ b/pkg/cloudapi/bservice/start.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StartRequest struct to start service diff --git a/pkg/cloudapi/bservice/stop.go b/pkg/cloudapi/bservice/stop.go index e6bdf72..1bbc993 100644 --- a/pkg/cloudapi/bservice/stop.go +++ b/pkg/cloudapi/bservice/stop.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StopRequest struct to stop service diff --git a/pkg/cloudapi/cloudapi.go b/pkg/cloudapi/cloudapi.go index 87a48a0..b6a3bd9 100644 --- a/pkg/cloudapi/cloudapi.go +++ b/pkg/cloudapi/cloudapi.go @@ -2,7 +2,7 @@ package cloudapi import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to CloudAPI groups diff --git a/pkg/cloudapi/compute.go b/pkg/cloudapi/compute.go index 0877df3..7979501 100644 --- a/pkg/cloudapi/compute.go +++ b/pkg/cloudapi/compute.go @@ -1,7 +1,7 @@ package cloudapi import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/compute" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/compute" ) // Accessing the Compute method group diff --git a/pkg/cloudapi/compute/abort_shared_snapshot_merge.go b/pkg/cloudapi/compute/abort_shared_snapshot_merge.go index ef9f42e..84e70c6 100644 --- a/pkg/cloudapi/compute/abort_shared_snapshot_merge.go +++ b/pkg/cloudapi/compute/abort_shared_snapshot_merge.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AbortSharedSnapshotMergeRequest struct to abort shared snapshots merge diff --git a/pkg/cloudapi/compute/affinity_group_check_start.go b/pkg/cloudapi/compute/affinity_group_check_start.go index 1d9bc20..d82bcff 100644 --- a/pkg/cloudapi/compute/affinity_group_check_start.go +++ b/pkg/cloudapi/compute/affinity_group_check_start.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityGroupCheckStartRequest struct to check all computes with current affinity label can start diff --git a/pkg/cloudapi/compute/affinity_label_remove.go b/pkg/cloudapi/compute/affinity_label_remove.go index 60e9bd3..0ca7077 100644 --- a/pkg/cloudapi/compute/affinity_label_remove.go +++ b/pkg/cloudapi/compute/affinity_label_remove.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityLabelRemoveRequest struct to clear affinity label for compute diff --git a/pkg/cloudapi/compute/affinity_label_set.go b/pkg/cloudapi/compute/affinity_label_set.go index df725e0..7cef615 100644 --- a/pkg/cloudapi/compute/affinity_label_set.go +++ b/pkg/cloudapi/compute/affinity_label_set.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityLabelSetRequest struct to set affinity label for compute diff --git a/pkg/cloudapi/compute/affinity_relations.go b/pkg/cloudapi/compute/affinity_relations.go index 61dbee4..c4a0a80 100644 --- a/pkg/cloudapi/compute/affinity_relations.go +++ b/pkg/cloudapi/compute/affinity_relations.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityRelationsRequest struct to get dict of computes diff --git a/pkg/cloudapi/compute/affinity_rule_add.go b/pkg/cloudapi/compute/affinity_rule_add.go index 3dc45bd..d16763a 100644 --- a/pkg/cloudapi/compute/affinity_rule_add.go +++ b/pkg/cloudapi/compute/affinity_rule_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityRuleAddRequest struct to add affinity rule diff --git a/pkg/cloudapi/compute/affinity_rule_remove.go b/pkg/cloudapi/compute/affinity_rule_remove.go index b3e4215..4873248 100644 --- a/pkg/cloudapi/compute/affinity_rule_remove.go +++ b/pkg/cloudapi/compute/affinity_rule_remove.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityRuleRemoveRequest struct to remove affinity rule diff --git a/pkg/cloudapi/compute/affinity_rules_clear.go b/pkg/cloudapi/compute/affinity_rules_clear.go index a2037ab..ad93d4b 100644 --- a/pkg/cloudapi/compute/affinity_rules_clear.go +++ b/pkg/cloudapi/compute/affinity_rules_clear.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityRulesClearRequest struct to clear affinity rules diff --git a/pkg/cloudapi/compute/anti_affinity_rule_add.go b/pkg/cloudapi/compute/anti_affinity_rule_add.go index 8aea52b..0bf0435 100644 --- a/pkg/cloudapi/compute/anti_affinity_rule_add.go +++ b/pkg/cloudapi/compute/anti_affinity_rule_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AntiAffinityRuleAddRequest struct to add anti affinity rule diff --git a/pkg/cloudapi/compute/anti_affinity_rule_remove.go b/pkg/cloudapi/compute/anti_affinity_rule_remove.go index 40952ad..ac97171 100644 --- a/pkg/cloudapi/compute/anti_affinity_rule_remove.go +++ b/pkg/cloudapi/compute/anti_affinity_rule_remove.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AntiAffinityRuleRemoveRequest struct to remove anti affinity rule diff --git a/pkg/cloudapi/compute/anti_affinity_rules_clear.go b/pkg/cloudapi/compute/anti_affinity_rules_clear.go index a24572d..c976e59 100644 --- a/pkg/cloudapi/compute/anti_affinity_rules_clear.go +++ b/pkg/cloudapi/compute/anti_affinity_rules_clear.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AntiAffinityRulesClearRequest struct to clear anti affinity rules diff --git a/pkg/cloudapi/compute/attach_gpu.go b/pkg/cloudapi/compute/attach_gpu.go index ca45089..58ab29e 100644 --- a/pkg/cloudapi/compute/attach_gpu.go +++ b/pkg/cloudapi/compute/attach_gpu.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AttachGPURequest struct to attach GPU for compute diff --git a/pkg/cloudapi/compute/attach_pci_device.go b/pkg/cloudapi/compute/attach_pci_device.go index c8a5cd1..bde53b4 100644 --- a/pkg/cloudapi/compute/attach_pci_device.go +++ b/pkg/cloudapi/compute/attach_pci_device.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AttachPCIDeviceRequest struct to attach PCI device diff --git a/pkg/cloudapi/compute/audits.go b/pkg/cloudapi/compute/audits.go index c719b1c..b514141 100644 --- a/pkg/cloudapi/compute/audits.go +++ b/pkg/cloudapi/compute/audits.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AuditsRequest struct to get audit records diff --git a/pkg/cloudapi/compute/boot_disk_set.go b/pkg/cloudapi/compute/boot_disk_set.go index 04cc5d0..2d5c3d1 100644 --- a/pkg/cloudapi/compute/boot_disk_set.go +++ b/pkg/cloudapi/compute/boot_disk_set.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BootDiskSetRequest struct to set boot disk for compute diff --git a/pkg/cloudapi/compute/boot_order_get.go b/pkg/cloudapi/compute/boot_order_get.go index f4782ba..d4ca40d 100644 --- a/pkg/cloudapi/compute/boot_order_get.go +++ b/pkg/cloudapi/compute/boot_order_get.go @@ -4,7 +4,7 @@ import ( "context" "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BootOrderGetRequest struct to get boot order diff --git a/pkg/cloudapi/compute/boot_order_set.go b/pkg/cloudapi/compute/boot_order_set.go index 6939dbd..046ad1c 100644 --- a/pkg/cloudapi/compute/boot_order_set.go +++ b/pkg/cloudapi/compute/boot_order_set.go @@ -4,7 +4,7 @@ import ( "context" "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BootOrderSetRequest struct to set boot order diff --git a/pkg/cloudapi/compute/cd_eject.go b/pkg/cloudapi/compute/cd_eject.go index efbc5f3..9f41396 100644 --- a/pkg/cloudapi/compute/cd_eject.go +++ b/pkg/cloudapi/compute/cd_eject.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CDEjectRequest struct to eject CD image diff --git a/pkg/cloudapi/compute/cd_insert.go b/pkg/cloudapi/compute/cd_insert.go index 1386e3f..7b953e0 100644 --- a/pkg/cloudapi/compute/cd_insert.go +++ b/pkg/cloudapi/compute/cd_insert.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CDInsertRequest struct to insert new CD image diff --git a/pkg/cloudapi/compute/change_ip.go b/pkg/cloudapi/compute/change_ip.go index e301022..1aa8282 100644 --- a/pkg/cloudapi/compute/change_ip.go +++ b/pkg/cloudapi/compute/change_ip.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ChangeIPRequest struct to change IP for network diff --git a/pkg/cloudapi/compute/change_link_state.go b/pkg/cloudapi/compute/change_link_state.go index 53e2efd..eb414f8 100644 --- a/pkg/cloudapi/compute/change_link_state.go +++ b/pkg/cloudapi/compute/change_link_state.go @@ -3,7 +3,7 @@ package compute import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" "strconv" ) diff --git a/pkg/cloudapi/compute/change_mac.go b/pkg/cloudapi/compute/change_mac.go index 1d52be2..f687e53 100644 --- a/pkg/cloudapi/compute/change_mac.go +++ b/pkg/cloudapi/compute/change_mac.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ChangeMACRequest struct to change MAC for network diff --git a/pkg/cloudapi/compute/change_mtu.go b/pkg/cloudapi/compute/change_mtu.go index 14ba2ab..c64d07b 100644 --- a/pkg/cloudapi/compute/change_mtu.go +++ b/pkg/cloudapi/compute/change_mtu.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ChangeMTURequest struct to change MTU for a compute diff --git a/pkg/cloudapi/compute/change_secutity_group.go b/pkg/cloudapi/compute/change_secutity_group.go index 9bf05e8..f96dcdc 100644 --- a/pkg/cloudapi/compute/change_secutity_group.go +++ b/pkg/cloudapi/compute/change_secutity_group.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ChangeSecGroupsRequest struct to change security groups for compute diff --git a/pkg/cloudapi/compute/clone.go b/pkg/cloudapi/compute/clone.go index ac5f82a..f5ff6cc 100644 --- a/pkg/cloudapi/compute/clone.go +++ b/pkg/cloudapi/compute/clone.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CloneRequest struct to clone compute instance diff --git a/pkg/cloudapi/compute/clone_abort.go b/pkg/cloudapi/compute/clone_abort.go index 49a43b3..54f8cad 100644 --- a/pkg/cloudapi/compute/clone_abort.go +++ b/pkg/cloudapi/compute/clone_abort.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CloneAbortRequest struct to abort a compute clone diff --git a/pkg/cloudapi/compute/clone_status.go b/pkg/cloudapi/compute/clone_status.go index 5303d0c..0e5c05a 100644 --- a/pkg/cloudapi/compute/clone_status.go +++ b/pkg/cloudapi/compute/clone_status.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetCloneStatusRequest struct to get information about compute clone status diff --git a/pkg/cloudapi/compute/compute.go b/pkg/cloudapi/compute/compute.go index e32c63b..bc6b483 100644 --- a/pkg/cloudapi/compute/compute.go +++ b/pkg/cloudapi/compute/compute.go @@ -2,7 +2,7 @@ package compute import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to compute diff --git a/pkg/cloudapi/compute/create_template.go b/pkg/cloudapi/compute/create_template.go index 51e9b3d..3f2bb1e 100644 --- a/pkg/cloudapi/compute/create_template.go +++ b/pkg/cloudapi/compute/create_template.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateTemplateRequest struct to create template diff --git a/pkg/cloudapi/compute/create_template_from_blank.go b/pkg/cloudapi/compute/create_template_from_blank.go index f57d402..aa25320 100644 --- a/pkg/cloudapi/compute/create_template_from_blank.go +++ b/pkg/cloudapi/compute/create_template_from_blank.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateTemplateFromBlankRequest struct to create template from boot disk of current compute diff --git a/pkg/cloudapi/compute/delete.go b/pkg/cloudapi/compute/delete.go index c313ebe..e84a21a 100644 --- a/pkg/cloudapi/compute/delete.go +++ b/pkg/cloudapi/compute/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete compute diff --git a/pkg/cloudapi/compute/delete_custom_fields.go b/pkg/cloudapi/compute/delete_custom_fields.go index 83e92b9..49e57d5 100644 --- a/pkg/cloudapi/compute/delete_custom_fields.go +++ b/pkg/cloudapi/compute/delete_custom_fields.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteCustomFieldsRequest struct to delete compute's custom fields diff --git a/pkg/cloudapi/compute/detach_gpu.go b/pkg/cloudapi/compute/detach_gpu.go index a506f5e..8871e29 100644 --- a/pkg/cloudapi/compute/detach_gpu.go +++ b/pkg/cloudapi/compute/detach_gpu.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DetachGPURequest struct to detach vgpu for compute diff --git a/pkg/cloudapi/compute/detach_pci_device.go b/pkg/cloudapi/compute/detach_pci_device.go index 34f9fe8..b786106 100644 --- a/pkg/cloudapi/compute/detach_pci_device.go +++ b/pkg/cloudapi/compute/detach_pci_device.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DetachPCIDeviceRequest struct to detach PCI device diff --git a/pkg/cloudapi/compute/disable.go b/pkg/cloudapi/compute/disable.go index d7fa542..96ad967 100644 --- a/pkg/cloudapi/compute/disable.go +++ b/pkg/cloudapi/compute/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableRequest struct to disable compute diff --git a/pkg/cloudapi/compute/disk_add.go b/pkg/cloudapi/compute/disk_add.go index 5420339..608995d 100644 --- a/pkg/cloudapi/compute/disk_add.go +++ b/pkg/cloudapi/compute/disk_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DiskAddRequest struct to create and attach disk to compute diff --git a/pkg/cloudapi/compute/disk_attach.go b/pkg/cloudapi/compute/disk_attach.go index d9c76cc..5b33ab6 100644 --- a/pkg/cloudapi/compute/disk_attach.go +++ b/pkg/cloudapi/compute/disk_attach.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DiskAttachRequest struct to attach disk to compute diff --git a/pkg/cloudapi/compute/disk_del.go b/pkg/cloudapi/compute/disk_del.go index db11d7b..2c21c06 100644 --- a/pkg/cloudapi/compute/disk_del.go +++ b/pkg/cloudapi/compute/disk_del.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DiskDelRequest struct to detach and delete disk from compute diff --git a/pkg/cloudapi/compute/disk_detach.go b/pkg/cloudapi/compute/disk_detach.go index 29d3b47..5b3bfc6 100644 --- a/pkg/cloudapi/compute/disk_detach.go +++ b/pkg/cloudapi/compute/disk_detach.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DiskDetachRequest struct to detach disk from compute diff --git a/pkg/cloudapi/compute/disk_migrate.go b/pkg/cloudapi/compute/disk_migrate.go index 9cfde90..84e3acb 100644 --- a/pkg/cloudapi/compute/disk_migrate.go +++ b/pkg/cloudapi/compute/disk_migrate.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DiskMigrateRequest struct to migrate compute's disk to target disk diff --git a/pkg/cloudapi/compute/disk_qos.go b/pkg/cloudapi/compute/disk_qos.go index f8fc642..b36c9ef 100644 --- a/pkg/cloudapi/compute/disk_qos.go +++ b/pkg/cloudapi/compute/disk_qos.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DiskQOSRequest struct to change QoS of the disk diff --git a/pkg/cloudapi/compute/disk_resize.go b/pkg/cloudapi/compute/disk_resize.go index 230da86..455f0ef 100644 --- a/pkg/cloudapi/compute/disk_resize.go +++ b/pkg/cloudapi/compute/disk_resize.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DiskResizeRequest struct to change disk size diff --git a/pkg/cloudapi/compute/disk_switch_to_replication.go b/pkg/cloudapi/compute/disk_switch_to_replication.go index 2f50d73..a8c7ad1 100644 --- a/pkg/cloudapi/compute/disk_switch_to_replication.go +++ b/pkg/cloudapi/compute/disk_switch_to_replication.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DiskSwitchToReplicationRequest struct to switch disk to it's replication diff --git a/pkg/cloudapi/compute/enable.go b/pkg/cloudapi/compute/enable.go index 3a86fb8..f34cfb5 100644 --- a/pkg/cloudapi/compute/enable.go +++ b/pkg/cloudapi/compute/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to enable compute diff --git a/pkg/cloudapi/compute/filter.go b/pkg/cloudapi/compute/filter.go index e6692e1..5abaf05 100644 --- a/pkg/cloudapi/compute/filter.go +++ b/pkg/cloudapi/compute/filter.go @@ -3,9 +3,9 @@ package compute import ( "context" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/k8s" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/lb" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/k8s" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/lb" ) // FilterByID returns ListComputes with specified ID. diff --git a/pkg/cloudapi/compute/get.go b/pkg/cloudapi/compute/get.go index 0f88828..932fa2e 100644 --- a/pkg/cloudapi/compute/get.go +++ b/pkg/cloudapi/compute/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about compute diff --git a/pkg/cloudapi/compute/get_audits.go b/pkg/cloudapi/compute/get_audits.go index be9fcce..b015bfc 100644 --- a/pkg/cloudapi/compute/get_audits.go +++ b/pkg/cloudapi/compute/get_audits.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetAuditsRequest struct to get compute audits diff --git a/pkg/cloudapi/compute/get_console_url.go b/pkg/cloudapi/compute/get_console_url.go index 62688e7..ae42d53 100644 --- a/pkg/cloudapi/compute/get_console_url.go +++ b/pkg/cloudapi/compute/get_console_url.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetConsoleURLRequest struct to get console URL diff --git a/pkg/cloudapi/compute/get_custom_fields.go b/pkg/cloudapi/compute/get_custom_fields.go index b7cdba4..4cea803 100644 --- a/pkg/cloudapi/compute/get_custom_fields.go +++ b/pkg/cloudapi/compute/get_custom_fields.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetCustomFieldsRequest struct to get Compute's customFields diff --git a/pkg/cloudapi/compute/get_log.go b/pkg/cloudapi/compute/get_log.go index 6b59a04..3f3b850 100644 --- a/pkg/cloudapi/compute/get_log.go +++ b/pkg/cloudapi/compute/get_log.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetLogRequest struct to get compute logs diff --git a/pkg/cloudapi/compute/guest_agent_disable.go b/pkg/cloudapi/compute/guest_agent_disable.go index ac05f20..735b285 100644 --- a/pkg/cloudapi/compute/guest_agent_disable.go +++ b/pkg/cloudapi/compute/guest_agent_disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GuestAgentDisableRequest struct to disable guest agent diff --git a/pkg/cloudapi/compute/guest_agent_enable.go b/pkg/cloudapi/compute/guest_agent_enable.go index c97547a..617aa96 100644 --- a/pkg/cloudapi/compute/guest_agent_enable.go +++ b/pkg/cloudapi/compute/guest_agent_enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GuestAgentEnableRequest struct to enable guest agent diff --git a/pkg/cloudapi/compute/guest_agent_execute.go b/pkg/cloudapi/compute/guest_agent_execute.go index 3d9188f..8cbcd56 100644 --- a/pkg/cloudapi/compute/guest_agent_execute.go +++ b/pkg/cloudapi/compute/guest_agent_execute.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GuestAgentExecuteRequest struct to execute command from user to agent diff --git a/pkg/cloudapi/compute/guest_agent_feature_get.go b/pkg/cloudapi/compute/guest_agent_feature_get.go index 8cea2fe..861da45 100644 --- a/pkg/cloudapi/compute/guest_agent_feature_get.go +++ b/pkg/cloudapi/compute/guest_agent_feature_get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GuestAgentFeatureGetRequest struct to feature get guest agent diff --git a/pkg/cloudapi/compute/guest_agent_feature_update.go b/pkg/cloudapi/compute/guest_agent_feature_update.go index 2470745..d80733c 100644 --- a/pkg/cloudapi/compute/guest_agent_feature_update.go +++ b/pkg/cloudapi/compute/guest_agent_feature_update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GuestAgentFeatureUpdateRequest struct to feature update guest agent diff --git a/pkg/cloudapi/compute/list.go b/pkg/cloudapi/compute/list.go index 5ba1581..ead22c7 100644 --- a/pkg/cloudapi/compute/list.go +++ b/pkg/cloudapi/compute/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of available computes diff --git a/pkg/cloudapi/compute/list_deleted.go b/pkg/cloudapi/compute/list_deleted.go index af3c8a2..70c1f15 100644 --- a/pkg/cloudapi/compute/list_deleted.go +++ b/pkg/cloudapi/compute/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get deleted computes list diff --git a/pkg/cloudapi/compute/list_pci_device.go b/pkg/cloudapi/compute/list_pci_device.go index ff7bdbc..253f16f 100644 --- a/pkg/cloudapi/compute/list_pci_device.go +++ b/pkg/cloudapi/compute/list_pci_device.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListPCIDeviceRequest struct to get list of PCI devices diff --git a/pkg/cloudapi/compute/list_vgpu.go b/pkg/cloudapi/compute/list_vgpu.go index 5c8c005..ffdd5c8 100644 --- a/pkg/cloudapi/compute/list_vgpu.go +++ b/pkg/cloudapi/compute/list_vgpu.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListVGPURequest struct to get vGPU list diff --git a/pkg/cloudapi/compute/migrate_to_zone.go b/pkg/cloudapi/compute/migrate_to_zone.go index c7b96fc..350111a 100644 --- a/pkg/cloudapi/compute/migrate_to_zone.go +++ b/pkg/cloudapi/compute/migrate_to_zone.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateToRGZone struct to move compute to another zone diff --git a/pkg/cloudapi/compute/models.go b/pkg/cloudapi/compute/models.go index d1fb397..5442273 100644 --- a/pkg/cloudapi/compute/models.go +++ b/pkg/cloudapi/compute/models.go @@ -792,6 +792,9 @@ type ItemComputeDisk struct { // BLK Discard BLKDiscard bool `json:"blkdiscard"` + // Block Size + BlockSize string `json:"block_size"` + // Boot partition BootPartition uint64 `json:"bootPartition"` diff --git a/pkg/cloudapi/compute/move_to_rg.go b/pkg/cloudapi/compute/move_to_rg.go index 22442f7..278f1c9 100644 --- a/pkg/cloudapi/compute/move_to_rg.go +++ b/pkg/cloudapi/compute/move_to_rg.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MoveToRGRequest struct to move compute to new resource group diff --git a/pkg/cloudapi/compute/net_attach.go b/pkg/cloudapi/compute/net_attach.go index 7213d09..f70f087 100644 --- a/pkg/cloudapi/compute/net_attach.go +++ b/pkg/cloudapi/compute/net_attach.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // NetAttachRequest struct to attach network diff --git a/pkg/cloudapi/compute/net_detach.go b/pkg/cloudapi/compute/net_detach.go index 3e54ea1..7171a8e 100644 --- a/pkg/cloudapi/compute/net_detach.go +++ b/pkg/cloudapi/compute/net_detach.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // NetDetachRequest struct to detach network from compute diff --git a/pkg/cloudapi/compute/pause.go b/pkg/cloudapi/compute/pause.go index d6cd785..6db4ed1 100644 --- a/pkg/cloudapi/compute/pause.go +++ b/pkg/cloudapi/compute/pause.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // PauseRequest struct to pause compute diff --git a/pkg/cloudapi/compute/pfw_add.go b/pkg/cloudapi/compute/pfw_add.go index a4f9bbc..e8c92c0 100644 --- a/pkg/cloudapi/compute/pfw_add.go +++ b/pkg/cloudapi/compute/pfw_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // PFWAddRequest struct to add port forward rule diff --git a/pkg/cloudapi/compute/pfw_del.go b/pkg/cloudapi/compute/pfw_del.go index 520b36e..9bf64eb 100644 --- a/pkg/cloudapi/compute/pfw_del.go +++ b/pkg/cloudapi/compute/pfw_del.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // PFWDelRequest struct to delete port forward rule diff --git a/pkg/cloudapi/compute/pfw_list.go b/pkg/cloudapi/compute/pfw_list.go index 5a4ed81..8574bbf 100644 --- a/pkg/cloudapi/compute/pfw_list.go +++ b/pkg/cloudapi/compute/pfw_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // PFWListRequest struct to get list of port forwards diff --git a/pkg/cloudapi/compute/pin_to_node.go b/pkg/cloudapi/compute/pin_to_node.go index 953f2a1..fd3afdb 100644 --- a/pkg/cloudapi/compute/pin_to_node.go +++ b/pkg/cloudapi/compute/pin_to_node.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // PinToNodeRequest struct to pin compute to node diff --git a/pkg/cloudapi/compute/power_cycle.go b/pkg/cloudapi/compute/power_cycle.go index 94ca851..5ba8f77 100644 --- a/pkg/cloudapi/compute/power_cycle.go +++ b/pkg/cloudapi/compute/power_cycle.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // PowerCycleRequest struct to force stop and start compute diff --git a/pkg/cloudapi/compute/reboot.go b/pkg/cloudapi/compute/reboot.go index a0facfa..7c348f1 100644 --- a/pkg/cloudapi/compute/reboot.go +++ b/pkg/cloudapi/compute/reboot.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RebootRequest struct to reboot compute diff --git a/pkg/cloudapi/compute/redeploy.go b/pkg/cloudapi/compute/redeploy.go index 333b612..15153ac 100644 --- a/pkg/cloudapi/compute/redeploy.go +++ b/pkg/cloudapi/compute/redeploy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RedeployRequest struct to redeploy diff --git a/pkg/cloudapi/compute/reset.go b/pkg/cloudapi/compute/reset.go index 74b081c..259f8c3 100644 --- a/pkg/cloudapi/compute/reset.go +++ b/pkg/cloudapi/compute/reset.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ResetRequest struct to reset compute diff --git a/pkg/cloudapi/compute/resize.go b/pkg/cloudapi/compute/resize.go index f2260b0..bf41ee2 100644 --- a/pkg/cloudapi/compute/resize.go +++ b/pkg/cloudapi/compute/resize.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ResizeRequest struct to resize compute diff --git a/pkg/cloudapi/compute/restore.go b/pkg/cloudapi/compute/restore.go index ecab88b..e7eccb9 100644 --- a/pkg/cloudapi/compute/restore.go +++ b/pkg/cloudapi/compute/restore.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreRequest struct to restore compute diff --git a/pkg/cloudapi/compute/resume.go b/pkg/cloudapi/compute/resume.go index 651b031..2d8d817 100644 --- a/pkg/cloudapi/compute/resume.go +++ b/pkg/cloudapi/compute/resume.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ResumeRequest struct to resume compute diff --git a/pkg/cloudapi/compute/serialize.go b/pkg/cloudapi/compute/serialize.go index af1c4e4..890fc2a 100644 --- a/pkg/cloudapi/compute/serialize.go +++ b/pkg/cloudapi/compute/serialize.go @@ -3,7 +3,7 @@ package compute import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudapi/compute/set_custom_fields.go b/pkg/cloudapi/compute/set_custom_fields.go index 491781c..d037331 100644 --- a/pkg/cloudapi/compute/set_custom_fields.go +++ b/pkg/cloudapi/compute/set_custom_fields.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetCustomFieldsRequest struct to set customFields values for the Compute diff --git a/pkg/cloudapi/compute/shared_snapshot_merge_status.go b/pkg/cloudapi/compute/shared_snapshot_merge_status.go index 5dc74cf..e7ab9f7 100644 --- a/pkg/cloudapi/compute/shared_snapshot_merge_status.go +++ b/pkg/cloudapi/compute/shared_snapshot_merge_status.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SharedSnapshotMergeStatusRequest struct to get shared snapshot merge status diff --git a/pkg/cloudapi/compute/snapshot_create.go b/pkg/cloudapi/compute/snapshot_create.go index 55d4d87..99d7fe7 100644 --- a/pkg/cloudapi/compute/snapshot_create.go +++ b/pkg/cloudapi/compute/snapshot_create.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotCreateRequest struct to create snapshot diff --git a/pkg/cloudapi/compute/snapshot_delete.go b/pkg/cloudapi/compute/snapshot_delete.go index d95c7bd..e190612 100644 --- a/pkg/cloudapi/compute/snapshot_delete.go +++ b/pkg/cloudapi/compute/snapshot_delete.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotDeleteRequest struct to delete snapshot diff --git a/pkg/cloudapi/compute/snapshot_list.go b/pkg/cloudapi/compute/snapshot_list.go index 6b06d45..c1c691f 100644 --- a/pkg/cloudapi/compute/snapshot_list.go +++ b/pkg/cloudapi/compute/snapshot_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotListRequest struct to get list snapshots diff --git a/pkg/cloudapi/compute/snapshot_rollback.go b/pkg/cloudapi/compute/snapshot_rollback.go index bfd96d6..9afb37d 100644 --- a/pkg/cloudapi/compute/snapshot_rollback.go +++ b/pkg/cloudapi/compute/snapshot_rollback.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotRollbackRequest struct for rollback diff --git a/pkg/cloudapi/compute/snapshot_usage.go b/pkg/cloudapi/compute/snapshot_usage.go index d831a88..12fd696 100644 --- a/pkg/cloudapi/compute/snapshot_usage.go +++ b/pkg/cloudapi/compute/snapshot_usage.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotUsageRequest struct to get compute snapshot real size on storage diff --git a/pkg/cloudapi/compute/start.go b/pkg/cloudapi/compute/start.go index d1c2fb0..bb6dfb6 100644 --- a/pkg/cloudapi/compute/start.go +++ b/pkg/cloudapi/compute/start.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StartRequest struct to start compute diff --git a/pkg/cloudapi/compute/stop.go b/pkg/cloudapi/compute/stop.go index ac4f3a2..3fee9b1 100644 --- a/pkg/cloudapi/compute/stop.go +++ b/pkg/cloudapi/compute/stop.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StopRequest struct to stop compute diff --git a/pkg/cloudapi/compute/tag_add.go b/pkg/cloudapi/compute/tag_add.go index e61b64c..7bcd278 100644 --- a/pkg/cloudapi/compute/tag_add.go +++ b/pkg/cloudapi/compute/tag_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // TagAddRequest struct to add tag to compute diff --git a/pkg/cloudapi/compute/tag_remove.go b/pkg/cloudapi/compute/tag_remove.go index c6174c8..a52aeaf 100644 --- a/pkg/cloudapi/compute/tag_remove.go +++ b/pkg/cloudapi/compute/tag_remove.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // TagRemoveRequest struct to remove tag from compute diff --git a/pkg/cloudapi/compute/unpin_from_node.go b/pkg/cloudapi/compute/unpin_from_node.go index f95a981..b620f97 100644 --- a/pkg/cloudapi/compute/unpin_from_node.go +++ b/pkg/cloudapi/compute/unpin_from_node.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UnpinFromNodeRequest struct for unpin from node diff --git a/pkg/cloudapi/compute/update.go b/pkg/cloudapi/compute/update.go index 1f88cda..cd36e4e 100644 --- a/pkg/cloudapi/compute/update.go +++ b/pkg/cloudapi/compute/update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update compute diff --git a/pkg/cloudapi/compute/user_grant.go b/pkg/cloudapi/compute/user_grant.go index 04724d1..5f156d3 100644 --- a/pkg/cloudapi/compute/user_grant.go +++ b/pkg/cloudapi/compute/user_grant.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UserGrantRequest struct to grant access to compute diff --git a/pkg/cloudapi/compute/user_list.go b/pkg/cloudapi/compute/user_list.go index 10186a2..4144e21 100644 --- a/pkg/cloudapi/compute/user_list.go +++ b/pkg/cloudapi/compute/user_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UserListRequest struct to get list of users for compute diff --git a/pkg/cloudapi/compute/user_revoke.go b/pkg/cloudapi/compute/user_revoke.go index 452904c..e0269d9 100644 --- a/pkg/cloudapi/compute/user_revoke.go +++ b/pkg/cloudapi/compute/user_revoke.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UserRevokeRequest struct to revoke user access diff --git a/pkg/cloudapi/compute/user_update.go b/pkg/cloudapi/compute/user_update.go index 9711875..d90e5fa 100644 --- a/pkg/cloudapi/compute/user_update.go +++ b/pkg/cloudapi/compute/user_update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UserUpdateRequest struct to update user access diff --git a/pkg/cloudapi/disks.go b/pkg/cloudapi/disks.go index 3b4b570..f276163 100644 --- a/pkg/cloudapi/disks.go +++ b/pkg/cloudapi/disks.go @@ -1,7 +1,7 @@ package cloudapi import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/disks" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/disks" ) // Accessing the Disks method group diff --git a/pkg/cloudapi/disks/change_disk_storage_policy.go b/pkg/cloudapi/disks/change_disk_storage_policy.go index 7f30e08..c2600db 100644 --- a/pkg/cloudapi/disks/change_disk_storage_policy.go +++ b/pkg/cloudapi/disks/change_disk_storage_policy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ChangeDiskStoragePolicyRequest struct to change storage policy for disk diff --git a/pkg/cloudapi/disks/create.go b/pkg/cloudapi/disks/create.go index 881e520..a9e80e7 100644 --- a/pkg/cloudapi/disks/create.go +++ b/pkg/cloudapi/disks/create.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create disk diff --git a/pkg/cloudapi/disks/delete.go b/pkg/cloudapi/disks/delete.go index a423faa..0cd50d2 100644 --- a/pkg/cloudapi/disks/delete.go +++ b/pkg/cloudapi/disks/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest to delete disk diff --git a/pkg/cloudapi/disks/delete_disks.go b/pkg/cloudapi/disks/delete_disks.go index 01f3abc..27130d0 100644 --- a/pkg/cloudapi/disks/delete_disks.go +++ b/pkg/cloudapi/disks/delete_disks.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisksDeleteRequest struct for multiple disks diff --git a/pkg/cloudapi/disks/disks.go b/pkg/cloudapi/disks/disks.go index 5772b25..3c4e80c 100644 --- a/pkg/cloudapi/disks/disks.go +++ b/pkg/cloudapi/disks/disks.go @@ -2,7 +2,7 @@ package disks import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to disks diff --git a/pkg/cloudapi/disks/filter.go b/pkg/cloudapi/disks/filter.go index 44e153c..3e39b88 100644 --- a/pkg/cloudapi/disks/filter.go +++ b/pkg/cloudapi/disks/filter.go @@ -4,9 +4,9 @@ import ( "context" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/k8s" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/lb" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/k8s" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/lb" ) // FilterByID returns ListDisks with specified ID. diff --git a/pkg/cloudapi/disks/filter_test.go b/pkg/cloudapi/disks/filter_test.go index 9e46355..947912b 100644 --- a/pkg/cloudapi/disks/filter_test.go +++ b/pkg/cloudapi/disks/filter_test.go @@ -360,7 +360,6 @@ func TestListSearchDisks_SortByCreatedTime(t *testing.T) { var unattachedDisks = ListDisksUnattached{ Data: []ItemDiskUnattached{ { - CKey: "", Meta: []interface{}{ "cloudbroker", "disk", @@ -412,7 +411,6 @@ var unattachedDisks = ListDisksUnattached{ VMID: 0, }, { - CKey: "", Meta: []interface{}{ "cloudbroker", "disk", diff --git a/pkg/cloudapi/disks/from_platform_disk.go b/pkg/cloudapi/disks/from_platform_disk.go index 0f9e6ec..006e2a0 100644 --- a/pkg/cloudapi/disks/from_platform_disk.go +++ b/pkg/cloudapi/disks/from_platform_disk.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // FromPlatformDiskRequest struct to create template from platform disk diff --git a/pkg/cloudapi/disks/get.go b/pkg/cloudapi/disks/get.go index d022ca1..9e6a3bb 100644 --- a/pkg/cloudapi/disks/get.go +++ b/pkg/cloudapi/disks/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about disk diff --git a/pkg/cloudapi/disks/limitio.go b/pkg/cloudapi/disks/limitio.go index 301c7e9..4432a28 100644 --- a/pkg/cloudapi/disks/limitio.go +++ b/pkg/cloudapi/disks/limitio.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // LimitIORequest struct for limit IO diff --git a/pkg/cloudapi/disks/list.go b/pkg/cloudapi/disks/list.go index b927912..c085eb0 100644 --- a/pkg/cloudapi/disks/list.go +++ b/pkg/cloudapi/disks/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of disks diff --git a/pkg/cloudapi/disks/list_deleted.go b/pkg/cloudapi/disks/list_deleted.go index e23f951..30779bc 100644 --- a/pkg/cloudapi/disks/list_deleted.go +++ b/pkg/cloudapi/disks/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get list of deleted disks diff --git a/pkg/cloudapi/disks/list_types.go b/pkg/cloudapi/disks/list_types.go index dc293c3..2497f2d 100644 --- a/pkg/cloudapi/disks/list_types.go +++ b/pkg/cloudapi/disks/list_types.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListTypesRequest struct to get list types of disks diff --git a/pkg/cloudapi/disks/list_unattached.go b/pkg/cloudapi/disks/list_unattached.go index a8a8a7a..ad42542 100644 --- a/pkg/cloudapi/disks/list_unattached.go +++ b/pkg/cloudapi/disks/list_unattached.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListUnattachedRequest struct to get list of unattached disk diff --git a/pkg/cloudapi/disks/models.go b/pkg/cloudapi/disks/models.go index d75f1d9..cd8fe09 100644 --- a/pkg/cloudapi/disks/models.go +++ b/pkg/cloudapi/disks/models.go @@ -14,6 +14,9 @@ type ItemDisk struct { // BLK Discard BLKDiscard bool `json:"blkdiscard"` + // Block size of disk + BlockSize string `json:"block_size"` + // Computes Computes map[string]string `json:"computes"` @@ -163,6 +166,9 @@ type ItemDiskUnattached struct { // BLK Discard BLKDiscard bool `json:"blkdiscard"` + // Block size of disk + BlockSize string `json:"block_size"` + // Boot Partition BootPartition uint64 `json:"bootPartition"` @@ -387,6 +393,9 @@ type RecordDisk struct { // BLK Discard BLKDiscard bool `json:"blkdiscard"` + // Block size of disk + BlockSize string `json:"block_size"` + // Computes Computes map[string]string `json:"computes"` diff --git a/pkg/cloudapi/disks/rename.go b/pkg/cloudapi/disks/rename.go index 3d97785..068eaaa 100644 --- a/pkg/cloudapi/disks/rename.go +++ b/pkg/cloudapi/disks/rename.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RenameRequest struct to rename disk diff --git a/pkg/cloudapi/disks/replicate.go b/pkg/cloudapi/disks/replicate.go index 139e928..645be1f 100644 --- a/pkg/cloudapi/disks/replicate.go +++ b/pkg/cloudapi/disks/replicate.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ReplicateRequest struct to create an empty disk in chosen SEP and pool combination. diff --git a/pkg/cloudapi/disks/replication_resume.go b/pkg/cloudapi/disks/replication_resume.go index 3d71bdc..28fe89d 100644 --- a/pkg/cloudapi/disks/replication_resume.go +++ b/pkg/cloudapi/disks/replication_resume.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ReplicationResume struct to resume suspended replication diff --git a/pkg/cloudapi/disks/replication_reverse.go b/pkg/cloudapi/disks/replication_reverse.go index daf7fe0..f80d53e 100644 --- a/pkg/cloudapi/disks/replication_reverse.go +++ b/pkg/cloudapi/disks/replication_reverse.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ReplicationReverseRequest struct to change role between disks replications diff --git a/pkg/cloudapi/disks/replication_start.go b/pkg/cloudapi/disks/replication_start.go index deb4c2d..715e004 100644 --- a/pkg/cloudapi/disks/replication_start.go +++ b/pkg/cloudapi/disks/replication_start.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ReplicationStartRequest struct to starts replication between two chosen disks diff --git a/pkg/cloudapi/disks/replication_status.go b/pkg/cloudapi/disks/replication_status.go index 1d11199..21c5bd8 100644 --- a/pkg/cloudapi/disks/replication_status.go +++ b/pkg/cloudapi/disks/replication_status.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ReplicationStatusRequest struct to get replication status diff --git a/pkg/cloudapi/disks/replication_stop.go b/pkg/cloudapi/disks/replication_stop.go index 42fc16f..46b1f7f 100644 --- a/pkg/cloudapi/disks/replication_stop.go +++ b/pkg/cloudapi/disks/replication_stop.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ReplicationStopRequest struct to remove replication between disks completely diff --git a/pkg/cloudapi/disks/replication_suspend.go b/pkg/cloudapi/disks/replication_suspend.go index d4a9dd4..f6dcae3 100644 --- a/pkg/cloudapi/disks/replication_suspend.go +++ b/pkg/cloudapi/disks/replication_suspend.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ReplicationSuspendRequest struct to pause replication with possibility to resume from pause moment diff --git a/pkg/cloudapi/disks/resize.go b/pkg/cloudapi/disks/resize.go index ddd600b..e1954af 100644 --- a/pkg/cloudapi/disks/resize.go +++ b/pkg/cloudapi/disks/resize.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ResizeRequest struct to resize disk diff --git a/pkg/cloudapi/disks/restore.go b/pkg/cloudapi/disks/restore.go index 67f1bb0..b758fc5 100644 --- a/pkg/cloudapi/disks/restore.go +++ b/pkg/cloudapi/disks/restore.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreRequest struct to restore a deleted unattached disk diff --git a/pkg/cloudapi/disks/serialize.go b/pkg/cloudapi/disks/serialize.go index 68e3910..91e44b5 100644 --- a/pkg/cloudapi/disks/serialize.go +++ b/pkg/cloudapi/disks/serialize.go @@ -3,7 +3,7 @@ package disks import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudapi/disks/share.go b/pkg/cloudapi/disks/share.go index ff55ea8..4b3eb3a 100644 --- a/pkg/cloudapi/disks/share.go +++ b/pkg/cloudapi/disks/share.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ShareRequest struct to share disk data diff --git a/pkg/cloudapi/disks/snapshot_delete.go b/pkg/cloudapi/disks/snapshot_delete.go index cfd2853..c488cc0 100644 --- a/pkg/cloudapi/disks/snapshot_delete.go +++ b/pkg/cloudapi/disks/snapshot_delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotDeleteRequest struct to delete snapshot diff --git a/pkg/cloudapi/disks/snapshot_rollback.go b/pkg/cloudapi/disks/snapshot_rollback.go index 87b41f7..00dd808 100644 --- a/pkg/cloudapi/disks/snapshot_rollback.go +++ b/pkg/cloudapi/disks/snapshot_rollback.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotRollbackRequest struct to rollback snapshot diff --git a/pkg/cloudapi/disks/unshare.go b/pkg/cloudapi/disks/unshare.go index e14bcef..477dca4 100644 --- a/pkg/cloudapi/disks/unshare.go +++ b/pkg/cloudapi/disks/unshare.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UnshareRequest struct to unshare data disk diff --git a/pkg/cloudapi/dpdknet.go b/pkg/cloudapi/dpdknet.go index f96c456..d984406 100644 --- a/pkg/cloudapi/dpdknet.go +++ b/pkg/cloudapi/dpdknet.go @@ -1,6 +1,6 @@ package cloudapi -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/dpdknet" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/dpdknet" // Accessing the DPDKNet method group func (ca *CloudAPI) DPDKNet() *dpdknet.DPDKNet { diff --git a/pkg/cloudapi/dpdknet/dpdknet.go b/pkg/cloudapi/dpdknet/dpdknet.go index 48dccfe..fefd604 100644 --- a/pkg/cloudapi/dpdknet/dpdknet.go +++ b/pkg/cloudapi/dpdknet/dpdknet.go @@ -1,6 +1,6 @@ package dpdknet -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to DPDK network type DPDKNet struct { diff --git a/pkg/cloudapi/dpdknet/get.go b/pkg/cloudapi/dpdknet/get.go index 26e7a21..d92f42e 100644 --- a/pkg/cloudapi/dpdknet/get.go +++ b/pkg/cloudapi/dpdknet/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about DPDK network diff --git a/pkg/cloudapi/dpdknet/list.go b/pkg/cloudapi/dpdknet/list.go index 7ff0767..8ccc854 100644 --- a/pkg/cloudapi/dpdknet/list.go +++ b/pkg/cloudapi/dpdknet/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of DPDK networks diff --git a/pkg/cloudapi/extnet.go b/pkg/cloudapi/extnet.go index f1ba505..4964bbd 100644 --- a/pkg/cloudapi/extnet.go +++ b/pkg/cloudapi/extnet.go @@ -1,7 +1,7 @@ package cloudapi import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/extnet" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/extnet" ) // Accessing the ExtNet method group diff --git a/pkg/cloudapi/extnet/extnet.go b/pkg/cloudapi/extnet/extnet.go index f798bef..3eecf89 100644 --- a/pkg/cloudapi/extnet/extnet.go +++ b/pkg/cloudapi/extnet/extnet.go @@ -2,7 +2,7 @@ package extnet import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to extnet diff --git a/pkg/cloudapi/extnet/get.go b/pkg/cloudapi/extnet/get.go index 86821b5..3595c53 100644 --- a/pkg/cloudapi/extnet/get.go +++ b/pkg/cloudapi/extnet/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get detailed information about external network diff --git a/pkg/cloudapi/extnet/get_reserved_ip.go b/pkg/cloudapi/extnet/get_reserved_ip.go index 8971eb3..a343228 100644 --- a/pkg/cloudapi/extnet/get_reserved_ip.go +++ b/pkg/cloudapi/extnet/get_reserved_ip.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about reserved address or address poll diff --git a/pkg/cloudapi/extnet/list.go b/pkg/cloudapi/extnet/list.go index 8af29df..0b1f6d6 100644 --- a/pkg/cloudapi/extnet/list.go +++ b/pkg/cloudapi/extnet/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of external network diff --git a/pkg/cloudapi/extnet/list_computes.go b/pkg/cloudapi/extnet/list_computes.go index c8fa831..12fdc69 100644 --- a/pkg/cloudapi/extnet/list_computes.go +++ b/pkg/cloudapi/extnet/list_computes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListComputesRequest struct to get list computes diff --git a/pkg/cloudapi/extnet/serialize.go b/pkg/cloudapi/extnet/serialize.go index 456df57..1e9826d 100644 --- a/pkg/cloudapi/extnet/serialize.go +++ b/pkg/cloudapi/extnet/serialize.go @@ -3,7 +3,7 @@ package extnet import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudapi/flipgroup.go b/pkg/cloudapi/flipgroup.go index defd334..a1b13fb 100644 --- a/pkg/cloudapi/flipgroup.go +++ b/pkg/cloudapi/flipgroup.go @@ -1,7 +1,7 @@ package cloudapi import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/flipgroup" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/flipgroup" ) // Accessing the FLIPGroup method group diff --git a/pkg/cloudapi/flipgroup/compute_add.go b/pkg/cloudapi/flipgroup/compute_add.go index d400d8e..de84919 100644 --- a/pkg/cloudapi/flipgroup/compute_add.go +++ b/pkg/cloudapi/flipgroup/compute_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ComputeAddRequest struct to add compute instance diff --git a/pkg/cloudapi/flipgroup/compute_remove.go b/pkg/cloudapi/flipgroup/compute_remove.go index f02490c..ade3577 100644 --- a/pkg/cloudapi/flipgroup/compute_remove.go +++ b/pkg/cloudapi/flipgroup/compute_remove.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ComputeRemoveRequest struct to remove compute instance diff --git a/pkg/cloudapi/flipgroup/create.go b/pkg/cloudapi/flipgroup/create.go index 74483c1..c019d60 100644 --- a/pkg/cloudapi/flipgroup/create.go +++ b/pkg/cloudapi/flipgroup/create.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create FLIPGroup diff --git a/pkg/cloudapi/flipgroup/delete.go b/pkg/cloudapi/flipgroup/delete.go index 2e96d3d..ffd81ba 100644 --- a/pkg/cloudapi/flipgroup/delete.go +++ b/pkg/cloudapi/flipgroup/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete FLIPGroup diff --git a/pkg/cloudapi/flipgroup/edit.go b/pkg/cloudapi/flipgroup/edit.go index 806908b..76330a7 100644 --- a/pkg/cloudapi/flipgroup/edit.go +++ b/pkg/cloudapi/flipgroup/edit.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EditRequest struct to edit FLIPGroup diff --git a/pkg/cloudapi/flipgroup/flipgroup.go b/pkg/cloudapi/flipgroup/flipgroup.go index e4aae94..54acd86 100644 --- a/pkg/cloudapi/flipgroup/flipgroup.go +++ b/pkg/cloudapi/flipgroup/flipgroup.go @@ -2,7 +2,7 @@ package flipgroup import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to FLIPGroup diff --git a/pkg/cloudapi/flipgroup/get.go b/pkg/cloudapi/flipgroup/get.go index 1b2b2e2..3b123c2 100644 --- a/pkg/cloudapi/flipgroup/get.go +++ b/pkg/cloudapi/flipgroup/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about FLIPGroup diff --git a/pkg/cloudapi/flipgroup/list.go b/pkg/cloudapi/flipgroup/list.go index 27238a9..431bbb3 100644 --- a/pkg/cloudapi/flipgroup/list.go +++ b/pkg/cloudapi/flipgroup/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of FLIPGroup available to the current user diff --git a/pkg/cloudapi/flipgroup/serialize.go b/pkg/cloudapi/flipgroup/serialize.go index e3f5e3b..925beb6 100644 --- a/pkg/cloudapi/flipgroup/serialize.go +++ b/pkg/cloudapi/flipgroup/serialize.go @@ -3,7 +3,7 @@ package flipgroup import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudapi/image.go b/pkg/cloudapi/image.go index 9844f1a..17922e0 100644 --- a/pkg/cloudapi/image.go +++ b/pkg/cloudapi/image.go @@ -1,7 +1,7 @@ package cloudapi import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/image" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/image" ) // Accessing the Image method group diff --git a/pkg/cloudapi/image/change_storage_policy.go b/pkg/cloudapi/image/change_storage_policy.go index 31ee615..4fe7f28 100644 --- a/pkg/cloudapi/image/change_storage_policy.go +++ b/pkg/cloudapi/image/change_storage_policy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ChangeStoragePolicyRequest struct { diff --git a/pkg/cloudapi/image/create.go b/pkg/cloudapi/image/create.go index 164e00e..0267487 100644 --- a/pkg/cloudapi/image/create.go +++ b/pkg/cloudapi/image/create.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create image diff --git a/pkg/cloudapi/image/create_virtual.go b/pkg/cloudapi/image/create_virtual.go index df0e367..886fc0b 100644 --- a/pkg/cloudapi/image/create_virtual.go +++ b/pkg/cloudapi/image/create_virtual.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateVirtualRequest struct to create virtual image diff --git a/pkg/cloudapi/image/delete.go b/pkg/cloudapi/image/delete.go index 2b83619..f735907 100644 --- a/pkg/cloudapi/image/delete.go +++ b/pkg/cloudapi/image/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete image diff --git a/pkg/cloudapi/image/get.go b/pkg/cloudapi/image/get.go index 61d04c7..79a04a5 100644 --- a/pkg/cloudapi/image/get.go +++ b/pkg/cloudapi/image/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get detailed information about image diff --git a/pkg/cloudapi/image/image.go b/pkg/cloudapi/image/image.go index 431e4e0..a31213c 100644 --- a/pkg/cloudapi/image/image.go +++ b/pkg/cloudapi/image/image.go @@ -2,7 +2,7 @@ package image import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to image diff --git a/pkg/cloudapi/image/link.go b/pkg/cloudapi/image/link.go index ebf1732..c58aae5 100644 --- a/pkg/cloudapi/image/link.go +++ b/pkg/cloudapi/image/link.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // LinkRequest struct to link virtual image to another image diff --git a/pkg/cloudapi/image/list.go b/pkg/cloudapi/image/list.go index 0fe0598..d76ee13 100644 --- a/pkg/cloudapi/image/list.go +++ b/pkg/cloudapi/image/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of available images diff --git a/pkg/cloudapi/image/rename.go b/pkg/cloudapi/image/rename.go index aa11271..ec8006b 100644 --- a/pkg/cloudapi/image/rename.go +++ b/pkg/cloudapi/image/rename.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RenameRequest struct to rename image diff --git a/pkg/cloudapi/image/serialize.go b/pkg/cloudapi/image/serialize.go index 1034a6c..70cd14c 100644 --- a/pkg/cloudapi/image/serialize.go +++ b/pkg/cloudapi/image/serialize.go @@ -3,7 +3,7 @@ package image import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudapi/k8ci.go b/pkg/cloudapi/k8ci.go index 908821f..2595568 100644 --- a/pkg/cloudapi/k8ci.go +++ b/pkg/cloudapi/k8ci.go @@ -1,7 +1,7 @@ package cloudapi import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/k8ci" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/k8ci" ) // Accessing the K8CI method group diff --git a/pkg/cloudapi/k8ci/get.go b/pkg/cloudapi/k8ci/get.go index ded990f..35beb12 100644 --- a/pkg/cloudapi/k8ci/get.go +++ b/pkg/cloudapi/k8ci/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about K8CI diff --git a/pkg/cloudapi/k8ci/k8ci.go b/pkg/cloudapi/k8ci/k8ci.go index 0292a72..a118c1b 100644 --- a/pkg/cloudapi/k8ci/k8ci.go +++ b/pkg/cloudapi/k8ci/k8ci.go @@ -2,7 +2,7 @@ package k8ci import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to K8CI diff --git a/pkg/cloudapi/k8ci/list.go b/pkg/cloudapi/k8ci/list.go index a4d5613..25b1810 100644 --- a/pkg/cloudapi/k8ci/list.go +++ b/pkg/cloudapi/k8ci/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of information about images diff --git a/pkg/cloudapi/k8ci/list_deleted.go b/pkg/cloudapi/k8ci/list_deleted.go index 2d6c6cb..0b16e3d 100644 --- a/pkg/cloudapi/k8ci/list_deleted.go +++ b/pkg/cloudapi/k8ci/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get list information about deleted k8ci items diff --git a/pkg/cloudapi/k8ci/serialize.go b/pkg/cloudapi/k8ci/serialize.go index c5aefc6..7ae08c8 100644 --- a/pkg/cloudapi/k8ci/serialize.go +++ b/pkg/cloudapi/k8ci/serialize.go @@ -3,7 +3,7 @@ package k8ci import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudapi/k8s.go b/pkg/cloudapi/k8s.go index 997a549..a7c5cc0 100644 --- a/pkg/cloudapi/k8s.go +++ b/pkg/cloudapi/k8s.go @@ -1,7 +1,7 @@ package cloudapi import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/k8s" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/k8s" ) // Accessing the K8S method group diff --git a/pkg/cloudapi/k8s/create.go b/pkg/cloudapi/k8s/create.go index 950d81f..8ad7319 100644 --- a/pkg/cloudapi/k8s/create.go +++ b/pkg/cloudapi/k8s/create.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create kubernetes cluster diff --git a/pkg/cloudapi/k8s/delete.go b/pkg/cloudapi/k8s/delete.go index 72dae81..ff7a219 100644 --- a/pkg/cloudapi/k8s/delete.go +++ b/pkg/cloudapi/k8s/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete kubernetes cluster diff --git a/pkg/cloudapi/k8s/delete_master_from_group.go b/pkg/cloudapi/k8s/delete_master_from_group.go index 186f9f5..6ee907e 100644 --- a/pkg/cloudapi/k8s/delete_master_from_group.go +++ b/pkg/cloudapi/k8s/delete_master_from_group.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteMasterFromGroupRequest struct to delete master from group diff --git a/pkg/cloudapi/k8s/delete_worker_from_group.go b/pkg/cloudapi/k8s/delete_worker_from_group.go index 6fcb265..3586178 100644 --- a/pkg/cloudapi/k8s/delete_worker_from_group.go +++ b/pkg/cloudapi/k8s/delete_worker_from_group.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteWorkerFromGroupRequest struct to delete worker from group diff --git a/pkg/cloudapi/k8s/disable_enable.go b/pkg/cloudapi/k8s/disable_enable.go index b6d2e52..e54245f 100644 --- a/pkg/cloudapi/k8s/disable_enable.go +++ b/pkg/cloudapi/k8s/disable_enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableEnableRequest struct to disable/enable kubernetes cluster diff --git a/pkg/cloudapi/k8s/find_group_by_label.go b/pkg/cloudapi/k8s/find_group_by_label.go index 3e61559..20f4a25 100644 --- a/pkg/cloudapi/k8s/find_group_by_label.go +++ b/pkg/cloudapi/k8s/find_group_by_label.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // FindGroupByLabelRequest struct to get information about group of kubernetes cluster diff --git a/pkg/cloudapi/k8s/get.go b/pkg/cloudapi/k8s/get.go index 4b519ff..f179b45 100644 --- a/pkg/cloudapi/k8s/get.go +++ b/pkg/cloudapi/k8s/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get detailed information about kubernetes cluster diff --git a/pkg/cloudapi/k8s/get_config.go b/pkg/cloudapi/k8s/get_config.go index 4c73e24..cea2da8 100644 --- a/pkg/cloudapi/k8s/get_config.go +++ b/pkg/cloudapi/k8s/get_config.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetConfigRequest struct to get configuration of kubernetes cluster diff --git a/pkg/cloudapi/k8s/get_node_annotations.go b/pkg/cloudapi/k8s/get_node_annotations.go index 8e6fb8f..9ff8b38 100644 --- a/pkg/cloudapi/k8s/get_node_annotations.go +++ b/pkg/cloudapi/k8s/get_node_annotations.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetNodeAnnotationsRequest struct to get node annotations diff --git a/pkg/cloudapi/k8s/get_node_labels.go b/pkg/cloudapi/k8s/get_node_labels.go index 00bb506..f7a60fa 100644 --- a/pkg/cloudapi/k8s/get_node_labels.go +++ b/pkg/cloudapi/k8s/get_node_labels.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetNodeLabelsRequest struct to get node labels diff --git a/pkg/cloudapi/k8s/get_node_taints.go b/pkg/cloudapi/k8s/get_node_taints.go index 8265ceb..3043bd8 100644 --- a/pkg/cloudapi/k8s/get_node_taints.go +++ b/pkg/cloudapi/k8s/get_node_taints.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetNodeTaintsRequest struct to get node taints diff --git a/pkg/cloudapi/k8s/get_worker_nodes_meta_data.go b/pkg/cloudapi/k8s/get_worker_nodes_meta_data.go index bebb108..7a1a79e 100644 --- a/pkg/cloudapi/k8s/get_worker_nodes_meta_data.go +++ b/pkg/cloudapi/k8s/get_worker_nodes_meta_data.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetWorkerNodesMetaDataRequest struct to get worker group metadata by ID diff --git a/pkg/cloudapi/k8s/k8s.go b/pkg/cloudapi/k8s/k8s.go index 26c22a9..ada8b47 100644 --- a/pkg/cloudapi/k8s/k8s.go +++ b/pkg/cloudapi/k8s/k8s.go @@ -2,7 +2,7 @@ package k8s import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to K8S diff --git a/pkg/cloudapi/k8s/list.go b/pkg/cloudapi/k8s/list.go index 9718bba..1c3cd0f 100644 --- a/pkg/cloudapi/k8s/list.go +++ b/pkg/cloudapi/k8s/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list information K8S diff --git a/pkg/cloudapi/k8s/list_deleted.go b/pkg/cloudapi/k8s/list_deleted.go index 84c087d..bb020f2 100644 --- a/pkg/cloudapi/k8s/list_deleted.go +++ b/pkg/cloudapi/k8s/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get list of deleted kubernetes cluster diff --git a/pkg/cloudapi/k8s/migrate_to_zone.go b/pkg/cloudapi/k8s/migrate_to_zone.go index 1d19f95..770af90 100644 --- a/pkg/cloudapi/k8s/migrate_to_zone.go +++ b/pkg/cloudapi/k8s/migrate_to_zone.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateToZone struct to move k8s cluster to another zone diff --git a/pkg/cloudapi/k8s/restore.go b/pkg/cloudapi/k8s/restore.go index bc3df7e..5da502a 100644 --- a/pkg/cloudapi/k8s/restore.go +++ b/pkg/cloudapi/k8s/restore.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreRequest struct to restore kubernetes cluster diff --git a/pkg/cloudapi/k8s/serialize.go b/pkg/cloudapi/k8s/serialize.go index 78b080f..3c0d87e 100644 --- a/pkg/cloudapi/k8s/serialize.go +++ b/pkg/cloudapi/k8s/serialize.go @@ -3,7 +3,7 @@ package k8s import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudapi/k8s/start.go b/pkg/cloudapi/k8s/start.go index 3c60e32..fe7e862 100644 --- a/pkg/cloudapi/k8s/start.go +++ b/pkg/cloudapi/k8s/start.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StartRequest struct to start kubernetes cluster diff --git a/pkg/cloudapi/k8s/stop.go b/pkg/cloudapi/k8s/stop.go index 506d8ae..62c967d 100644 --- a/pkg/cloudapi/k8s/stop.go +++ b/pkg/cloudapi/k8s/stop.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StopRequest struct to stop kubernetes cluster diff --git a/pkg/cloudapi/k8s/update.go b/pkg/cloudapi/k8s/update.go index 84212a5..cfd0662 100644 --- a/pkg/cloudapi/k8s/update.go +++ b/pkg/cloudapi/k8s/update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update kubernetes cluster diff --git a/pkg/cloudapi/k8s/update_worker_nodes_meta_data.go b/pkg/cloudapi/k8s/update_worker_nodes_meta_data.go index 6d6e718..3c27566 100644 --- a/pkg/cloudapi/k8s/update_worker_nodes_meta_data.go +++ b/pkg/cloudapi/k8s/update_worker_nodes_meta_data.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateWorkerNodesMetaDataRequest struct to add worker to a kubernetes cluster diff --git a/pkg/cloudapi/k8s/worker_add.go b/pkg/cloudapi/k8s/worker_add.go index 4a292ae..6dde7d4 100644 --- a/pkg/cloudapi/k8s/worker_add.go +++ b/pkg/cloudapi/k8s/worker_add.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // WorkerAddRequest struct to add worker to a kubernetes cluster diff --git a/pkg/cloudapi/k8s/worker_reset.go b/pkg/cloudapi/k8s/worker_reset.go index 4bd6623..ee9e7a4 100644 --- a/pkg/cloudapi/k8s/worker_reset.go +++ b/pkg/cloudapi/k8s/worker_reset.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // WorkerResetRequest struct for hard reset kubernetes cluster diff --git a/pkg/cloudapi/k8s/worker_restart.go b/pkg/cloudapi/k8s/worker_restart.go index 12f0bbe..c9545d1 100644 --- a/pkg/cloudapi/k8s/worker_restart.go +++ b/pkg/cloudapi/k8s/worker_restart.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // WorkerRestartRequest struct to restart worker node diff --git a/pkg/cloudapi/k8s/workers_group_add.go b/pkg/cloudapi/k8s/workers_group_add.go index 890d45a..494e734 100644 --- a/pkg/cloudapi/k8s/workers_group_add.go +++ b/pkg/cloudapi/k8s/workers_group_add.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // WorkersGroupAddRequest struct to add workers group diff --git a/pkg/cloudapi/k8s/workers_group_delete.go b/pkg/cloudapi/k8s/workers_group_delete.go index 2137432..eeedcf7 100644 --- a/pkg/cloudapi/k8s/workers_group_delete.go +++ b/pkg/cloudapi/k8s/workers_group_delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // WorkersGroupDeleteRequest struct to delete workers group diff --git a/pkg/cloudapi/k8s/workers_group_get_by_name.go b/pkg/cloudapi/k8s/workers_group_get_by_name.go index 78a6a29..06249f7 100644 --- a/pkg/cloudapi/k8s/workers_group_get_by_name.go +++ b/pkg/cloudapi/k8s/workers_group_get_by_name.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // WorkersGroupGetByNameRequest struct to get information about worker group diff --git a/pkg/cloudapi/kvmx86.go b/pkg/cloudapi/kvmx86.go index cb104e9..b719622 100644 --- a/pkg/cloudapi/kvmx86.go +++ b/pkg/cloudapi/kvmx86.go @@ -1,7 +1,7 @@ package cloudapi import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/kvmx86" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/kvmx86" ) // Accessing the KVMX86 method group diff --git a/pkg/cloudapi/kvmx86/create.go b/pkg/cloudapi/kvmx86/create.go index 259ccea..173c005 100644 --- a/pkg/cloudapi/kvmx86/create.go +++ b/pkg/cloudapi/kvmx86/create.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type Interface struct { @@ -183,14 +183,6 @@ type CreateRequest struct { // Required: false Start bool `url:"start" json:"start"` - // System name - // Required: false - IS string `url:"IS,omitempty" json:"IS,omitempty"` - - // Compute purpose - // Required: false - IPAType string `url:"ipaType,omitempty" json:"ipaType,omitempty"` - // Custom fields for compute. Must be a dict // Required: false CustomFields string `url:"customFields,omitempty" json:"customFields,omitempty"` diff --git a/pkg/cloudapi/kvmx86/create_blank.go b/pkg/cloudapi/kvmx86/create_blank.go index 61779cb..c13caef 100644 --- a/pkg/cloudapi/kvmx86/create_blank.go +++ b/pkg/cloudapi/kvmx86/create_blank.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateBlankRequest struct to create KVM x86 VM from scratch diff --git a/pkg/cloudapi/kvmx86/kvmx86.go b/pkg/cloudapi/kvmx86/kvmx86.go index 3f4f322..88b96cb 100644 --- a/pkg/cloudapi/kvmx86/kvmx86.go +++ b/pkg/cloudapi/kvmx86/kvmx86.go @@ -2,7 +2,7 @@ package kvmx86 import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to KVMX86 diff --git a/pkg/cloudapi/lb.go b/pkg/cloudapi/lb.go index b5ad7b3..fc5bce0 100644 --- a/pkg/cloudapi/lb.go +++ b/pkg/cloudapi/lb.go @@ -1,6 +1,6 @@ package cloudapi -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/lb" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/lb" // Accessing the LB method group func (ca *CloudAPI) LB() *lb.LB { diff --git a/pkg/cloudapi/lb/backend_create.go b/pkg/cloudapi/lb/backend_create.go index c92676b..8c25953 100644 --- a/pkg/cloudapi/lb/backend_create.go +++ b/pkg/cloudapi/lb/backend_create.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BackendCreateRequest struct to create backend diff --git a/pkg/cloudapi/lb/backend_delete.go b/pkg/cloudapi/lb/backend_delete.go index 8d5f40b..9cba721 100644 --- a/pkg/cloudapi/lb/backend_delete.go +++ b/pkg/cloudapi/lb/backend_delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BackendDeleteRequest struct to delete backend diff --git a/pkg/cloudapi/lb/backend_server_add.go b/pkg/cloudapi/lb/backend_server_add.go index 634dc4f..e1b6d21 100644 --- a/pkg/cloudapi/lb/backend_server_add.go +++ b/pkg/cloudapi/lb/backend_server_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BackendServerAddRequest struct to add server definition to the backend diff --git a/pkg/cloudapi/lb/backend_server_delete.go b/pkg/cloudapi/lb/backend_server_delete.go index 3508159..2d3404d 100644 --- a/pkg/cloudapi/lb/backend_server_delete.go +++ b/pkg/cloudapi/lb/backend_server_delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BackendServerDeleteRequest struct to delete server definition diff --git a/pkg/cloudapi/lb/backend_server_update.go b/pkg/cloudapi/lb/backend_server_update.go index dbdb09a..08b0060 100644 --- a/pkg/cloudapi/lb/backend_server_update.go +++ b/pkg/cloudapi/lb/backend_server_update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BackendServerUpdateRequest struct to update server diff --git a/pkg/cloudapi/lb/backend_update.go b/pkg/cloudapi/lb/backend_update.go index 7d30966..6f142af 100644 --- a/pkg/cloudapi/lb/backend_update.go +++ b/pkg/cloudapi/lb/backend_update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BackendUpdateRequest struct to update backend diff --git a/pkg/cloudapi/lb/config_reset.go b/pkg/cloudapi/lb/config_reset.go index 738cdd6..5d8bddd 100644 --- a/pkg/cloudapi/lb/config_reset.go +++ b/pkg/cloudapi/lb/config_reset.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ConfigResetRequest struct for reset config diff --git a/pkg/cloudapi/lb/create.go b/pkg/cloudapi/lb/create.go index 91977f0..39eda9f 100644 --- a/pkg/cloudapi/lb/create.go +++ b/pkg/cloudapi/lb/create.go @@ -7,7 +7,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create load balancer diff --git a/pkg/cloudapi/lb/delete.go b/pkg/cloudapi/lb/delete.go index dd6deac..802dab8 100644 --- a/pkg/cloudapi/lb/delete.go +++ b/pkg/cloudapi/lb/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete load balancer diff --git a/pkg/cloudapi/lb/disable_enable.go b/pkg/cloudapi/lb/disable_enable.go index e25f981..473f26a 100644 --- a/pkg/cloudapi/lb/disable_enable.go +++ b/pkg/cloudapi/lb/disable_enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableEnableRequest struct for disable/enable load balancer diff --git a/pkg/cloudapi/lb/filter.go b/pkg/cloudapi/lb/filter.go index fdf9418..2a71cb0 100644 --- a/pkg/cloudapi/lb/filter.go +++ b/pkg/cloudapi/lb/filter.go @@ -3,8 +3,8 @@ package lb import ( "context" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/k8s" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/k8s" ) // FilterByID returns ListLB with specified ID. diff --git a/pkg/cloudapi/lb/frontend_bind.go b/pkg/cloudapi/lb/frontend_bind.go index 08fa204..e7c5c8f 100644 --- a/pkg/cloudapi/lb/frontend_bind.go +++ b/pkg/cloudapi/lb/frontend_bind.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // FrontendBindRequest struct for frontend bind diff --git a/pkg/cloudapi/lb/frontend_bind_delete.go b/pkg/cloudapi/lb/frontend_bind_delete.go index 6ff55c2..901bee9 100644 --- a/pkg/cloudapi/lb/frontend_bind_delete.go +++ b/pkg/cloudapi/lb/frontend_bind_delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // FrontendBindDeleteRequest struct to delete bind diff --git a/pkg/cloudapi/lb/frontend_bind_update.go b/pkg/cloudapi/lb/frontend_bind_update.go index ebb81fe..efb11e0 100644 --- a/pkg/cloudapi/lb/frontend_bind_update.go +++ b/pkg/cloudapi/lb/frontend_bind_update.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // FrontendBindUpdateRequest struct to update binding diff --git a/pkg/cloudapi/lb/frontend_create.go b/pkg/cloudapi/lb/frontend_create.go index 07d38cf..eef0cdd 100644 --- a/pkg/cloudapi/lb/frontend_create.go +++ b/pkg/cloudapi/lb/frontend_create.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // FrontendCreateRequest struct to create frontend diff --git a/pkg/cloudapi/lb/frontend_delete.go b/pkg/cloudapi/lb/frontend_delete.go index ee9613d..4276aee 100644 --- a/pkg/cloudapi/lb/frontend_delete.go +++ b/pkg/cloudapi/lb/frontend_delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // FrontendDeleteRequest struct to delete frontend diff --git a/pkg/cloudapi/lb/get.go b/pkg/cloudapi/lb/get.go index 6288c75..f31cc4d 100644 --- a/pkg/cloudapi/lb/get.go +++ b/pkg/cloudapi/lb/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get detailed information about load balancer diff --git a/pkg/cloudapi/lb/lb.go b/pkg/cloudapi/lb/lb.go index dcc056e..40d05d1 100644 --- a/pkg/cloudapi/lb/lb.go +++ b/pkg/cloudapi/lb/lb.go @@ -2,7 +2,7 @@ package lb import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to load balancer diff --git a/pkg/cloudapi/lb/list.go b/pkg/cloudapi/lb/list.go index c0da3a8..1502fbe 100644 --- a/pkg/cloudapi/lb/list.go +++ b/pkg/cloudapi/lb/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of load balancers diff --git a/pkg/cloudapi/lb/list_deleted.go b/pkg/cloudapi/lb/list_deleted.go index d3335d9..f2468e2 100644 --- a/pkg/cloudapi/lb/list_deleted.go +++ b/pkg/cloudapi/lb/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get list of deleted load balancers diff --git a/pkg/cloudapi/lb/make_highly_available.go b/pkg/cloudapi/lb/make_highly_available.go index 019be56..44602d5 100644 --- a/pkg/cloudapi/lb/make_highly_available.go +++ b/pkg/cloudapi/lb/make_highly_available.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // HighlyAvailableRequest struct to make Load Balancer Highly available diff --git a/pkg/cloudapi/lb/migrate_to_zone.go b/pkg/cloudapi/lb/migrate_to_zone.go index 3a1a189..60e314b 100644 --- a/pkg/cloudapi/lb/migrate_to_zone.go +++ b/pkg/cloudapi/lb/migrate_to_zone.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateToZone struct to move lb to another zone diff --git a/pkg/cloudapi/lb/restart.go b/pkg/cloudapi/lb/restart.go index 9664304..c27a5cb 100644 --- a/pkg/cloudapi/lb/restart.go +++ b/pkg/cloudapi/lb/restart.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestartRequest struct to restart load balancer diff --git a/pkg/cloudapi/lb/restore.go b/pkg/cloudapi/lb/restore.go index 7a62dc3..4788032 100644 --- a/pkg/cloudapi/lb/restore.go +++ b/pkg/cloudapi/lb/restore.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreRequest struct to restore load balancer diff --git a/pkg/cloudapi/lb/serialize.go b/pkg/cloudapi/lb/serialize.go index d6ebe06..b98122a 100644 --- a/pkg/cloudapi/lb/serialize.go +++ b/pkg/cloudapi/lb/serialize.go @@ -3,7 +3,7 @@ package lb import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudapi/lb/start.go b/pkg/cloudapi/lb/start.go index 14c3ea2..476b18d 100644 --- a/pkg/cloudapi/lb/start.go +++ b/pkg/cloudapi/lb/start.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StartRequest struct to start load balancer diff --git a/pkg/cloudapi/lb/stop.go b/pkg/cloudapi/lb/stop.go index c48ddf6..370d088 100644 --- a/pkg/cloudapi/lb/stop.go +++ b/pkg/cloudapi/lb/stop.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StopRequest struct to stop load balancer diff --git a/pkg/cloudapi/lb/update.go b/pkg/cloudapi/lb/update.go index 430442e..c00e6bb 100644 --- a/pkg/cloudapi/lb/update.go +++ b/pkg/cloudapi/lb/update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update load balancer diff --git a/pkg/cloudapi/lb/update_sysctl_params.go b/pkg/cloudapi/lb/update_sysctl_params.go index c897781..1d8b1d2 100644 --- a/pkg/cloudapi/lb/update_sysctl_params.go +++ b/pkg/cloudapi/lb/update_sysctl_params.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateSysctParamsRequest struct to update sysct params for lb diff --git a/pkg/cloudapi/locations/get_list.go b/pkg/cloudapi/locations/get_list.go index 35720cb..5407c6d 100644 --- a/pkg/cloudapi/locations/get_list.go +++ b/pkg/cloudapi/locations/get_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListGetRequest struct to get list of locations diff --git a/pkg/cloudapi/locations/list.go b/pkg/cloudapi/locations/list.go index 9f37118..90c1203 100644 --- a/pkg/cloudapi/locations/list.go +++ b/pkg/cloudapi/locations/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of locations diff --git a/pkg/cloudapi/locations/locations.go b/pkg/cloudapi/locations/locations.go index ec0b77b..950c64f 100644 --- a/pkg/cloudapi/locations/locations.go +++ b/pkg/cloudapi/locations/locations.go @@ -2,7 +2,7 @@ package locations import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to locations diff --git a/pkg/cloudapi/locations/serialize.go b/pkg/cloudapi/locations/serialize.go index 37db057..124855b 100644 --- a/pkg/cloudapi/locations/serialize.go +++ b/pkg/cloudapi/locations/serialize.go @@ -3,7 +3,7 @@ package locations import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudapi/locatons.go b/pkg/cloudapi/locatons.go index 6500320..87fa1ff 100644 --- a/pkg/cloudapi/locatons.go +++ b/pkg/cloudapi/locatons.go @@ -1,6 +1,6 @@ package cloudapi -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/locations" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/locations" // Accessing the Locations method group func (ca *CloudAPI) Locations() *locations.Locations { diff --git a/pkg/cloudapi/pcidevice.go b/pkg/cloudapi/pcidevice.go index 17774c7..23f6e8b 100644 --- a/pkg/cloudapi/pcidevice.go +++ b/pkg/cloudapi/pcidevice.go @@ -1,6 +1,6 @@ package cloudapi -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/pcidevice" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/pcidevice" // Accessing the PCI Device method group func (ca *CloudAPI) PCIDevice() *pcidevice.PCIDevice { diff --git a/pkg/cloudapi/pcidevice/list.go b/pkg/cloudapi/pcidevice/list.go index 53b3550..55a9bd6 100644 --- a/pkg/cloudapi/pcidevice/list.go +++ b/pkg/cloudapi/pcidevice/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of pci devices diff --git a/pkg/cloudapi/pcidevice/pcidevice.go b/pkg/cloudapi/pcidevice/pcidevice.go index 50f72b5..8a3a2e4 100644 --- a/pkg/cloudapi/pcidevice/pcidevice.go +++ b/pkg/cloudapi/pcidevice/pcidevice.go @@ -1,6 +1,6 @@ package pcidevice -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to PCI device type PCIDevice struct { diff --git a/pkg/cloudapi/pcidevice/serialize.go b/pkg/cloudapi/pcidevice/serialize.go index 163ad0e..dc801e5 100644 --- a/pkg/cloudapi/pcidevice/serialize.go +++ b/pkg/cloudapi/pcidevice/serialize.go @@ -2,7 +2,7 @@ package pcidevice import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudapi/prometheus.go b/pkg/cloudapi/prometheus.go index 505ff8b..4084232 100644 --- a/pkg/cloudapi/prometheus.go +++ b/pkg/cloudapi/prometheus.go @@ -1,6 +1,6 @@ package cloudapi -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/prometheus" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/prometheus" // Accessing the Resmon method group func (ca *CloudAPI) Prometheus() *prometheus.Prometheus { diff --git a/pkg/cloudapi/prometheus/compute_cpu_load.go b/pkg/cloudapi/prometheus/compute_cpu_load.go index 2ceb9ab..29f8522 100644 --- a/pkg/cloudapi/prometheus/compute_cpu_load.go +++ b/pkg/cloudapi/prometheus/compute_cpu_load.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeCPULoadRequest struct { diff --git a/pkg/cloudapi/prometheus/compute_memory_available.go b/pkg/cloudapi/prometheus/compute_memory_available.go index 1105f6a..6b4dce2 100644 --- a/pkg/cloudapi/prometheus/compute_memory_available.go +++ b/pkg/cloudapi/prometheus/compute_memory_available.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeMemoryAvailableRequest struct { diff --git a/pkg/cloudapi/prometheus/compute_memory_unused.go b/pkg/cloudapi/prometheus/compute_memory_unused.go index 0bf7b0c..57f304a 100644 --- a/pkg/cloudapi/prometheus/compute_memory_unused.go +++ b/pkg/cloudapi/prometheus/compute_memory_unused.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeMemoryUnusedRequest struct { diff --git a/pkg/cloudapi/prometheus/compute_memory_usable.go b/pkg/cloudapi/prometheus/compute_memory_usable.go index 1af3eb3..f66bc49 100644 --- a/pkg/cloudapi/prometheus/compute_memory_usable.go +++ b/pkg/cloudapi/prometheus/compute_memory_usable.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeMemoryUsableRequest struct { diff --git a/pkg/cloudapi/prometheus/compute_memory_usage.go b/pkg/cloudapi/prometheus/compute_memory_usage.go index ca83bfe..1972230 100644 --- a/pkg/cloudapi/prometheus/compute_memory_usage.go +++ b/pkg/cloudapi/prometheus/compute_memory_usage.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeMemoryUsageRequest struct { diff --git a/pkg/cloudapi/prometheus/compute_memory_used.go b/pkg/cloudapi/prometheus/compute_memory_used.go index ebc76fc..5cbfb39 100644 --- a/pkg/cloudapi/prometheus/compute_memory_used.go +++ b/pkg/cloudapi/prometheus/compute_memory_used.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeMemoryUsedRequest struct { diff --git a/pkg/cloudapi/prometheus/compute_read_bytes.go b/pkg/cloudapi/prometheus/compute_read_bytes.go index af23741..3f2607e 100644 --- a/pkg/cloudapi/prometheus/compute_read_bytes.go +++ b/pkg/cloudapi/prometheus/compute_read_bytes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeReadBytesRequest struct { diff --git a/pkg/cloudapi/prometheus/compute_read_requests.go b/pkg/cloudapi/prometheus/compute_read_requests.go index 3b4bf52..584f522 100644 --- a/pkg/cloudapi/prometheus/compute_read_requests.go +++ b/pkg/cloudapi/prometheus/compute_read_requests.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeReadRequestsRequest struct { diff --git a/pkg/cloudapi/prometheus/compute_receive_bytes.go b/pkg/cloudapi/prometheus/compute_receive_bytes.go index 05db7a2..eff3f48 100644 --- a/pkg/cloudapi/prometheus/compute_receive_bytes.go +++ b/pkg/cloudapi/prometheus/compute_receive_bytes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeReceiveBytesRequest struct { diff --git a/pkg/cloudapi/prometheus/compute_receive_packets.go b/pkg/cloudapi/prometheus/compute_receive_packets.go index 0b47929..e0c2908 100644 --- a/pkg/cloudapi/prometheus/compute_receive_packets.go +++ b/pkg/cloudapi/prometheus/compute_receive_packets.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeReceivePacketsRequest struct { diff --git a/pkg/cloudapi/prometheus/compute_transmit_bytes.go b/pkg/cloudapi/prometheus/compute_transmit_bytes.go index 6c3fc35..214b3e1 100644 --- a/pkg/cloudapi/prometheus/compute_transmit_bytes.go +++ b/pkg/cloudapi/prometheus/compute_transmit_bytes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeTransmitBytesRequest struct { diff --git a/pkg/cloudapi/prometheus/compute_transmit_packets.go b/pkg/cloudapi/prometheus/compute_transmit_packets.go index 4c0e2d4..53acdd3 100644 --- a/pkg/cloudapi/prometheus/compute_transmit_packets.go +++ b/pkg/cloudapi/prometheus/compute_transmit_packets.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeTransmitPacketsRequest struct { diff --git a/pkg/cloudapi/prometheus/compute_write_bytes.go b/pkg/cloudapi/prometheus/compute_write_bytes.go index 3d73c53..f2ddf83 100644 --- a/pkg/cloudapi/prometheus/compute_write_bytes.go +++ b/pkg/cloudapi/prometheus/compute_write_bytes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeWriteBytesRequest struct { diff --git a/pkg/cloudapi/prometheus/compute_write_requests.go b/pkg/cloudapi/prometheus/compute_write_requests.go index fba5f64..f7932d5 100644 --- a/pkg/cloudapi/prometheus/compute_write_requests.go +++ b/pkg/cloudapi/prometheus/compute_write_requests.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeWriteRequestsRequest struct { diff --git a/pkg/cloudapi/prometheus/computes.go b/pkg/cloudapi/prometheus/computes.go index 8c471c2..7b0191c 100644 --- a/pkg/cloudapi/prometheus/computes.go +++ b/pkg/cloudapi/prometheus/computes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) const ( diff --git a/pkg/cloudapi/prometheus/prometheus.go b/pkg/cloudapi/prometheus/prometheus.go index 52d1be8..749be47 100644 --- a/pkg/cloudapi/prometheus/prometheus.go +++ b/pkg/cloudapi/prometheus/prometheus.go @@ -1,7 +1,7 @@ package prometheus import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) type Prometheus struct { diff --git a/pkg/cloudapi/rg.go b/pkg/cloudapi/rg.go index 26f69dc..a7946c5 100644 --- a/pkg/cloudapi/rg.go +++ b/pkg/cloudapi/rg.go @@ -1,6 +1,6 @@ package cloudapi -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/rg" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/rg" // Accessing the RG method group func (ca *CloudAPI) RG() *rg.RG { diff --git a/pkg/cloudapi/rg/access_grant.go b/pkg/cloudapi/rg/access_grant.go index ace18c9..2d90fbb 100644 --- a/pkg/cloudapi/rg/access_grant.go +++ b/pkg/cloudapi/rg/access_grant.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AccessGrantRequest struct to grant access to resource group diff --git a/pkg/cloudapi/rg/access_revoke.go b/pkg/cloudapi/rg/access_revoke.go index a2e9831..6fd686c 100644 --- a/pkg/cloudapi/rg/access_revoke.go +++ b/pkg/cloudapi/rg/access_revoke.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AccessRevokeRequest struct to revoke access diff --git a/pkg/cloudapi/rg/add_storage_policy.go b/pkg/cloudapi/rg/add_storage_policy.go index 09525ef..0aafb9b 100644 --- a/pkg/cloudapi/rg/add_storage_policy.go +++ b/pkg/cloudapi/rg/add_storage_policy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AddStoragePolicyRequest struct for adding storage policy to the resource group diff --git a/pkg/cloudapi/rg/affinity_group_computes.go b/pkg/cloudapi/rg/affinity_group_computes.go index a8febbb..2ff29f5 100644 --- a/pkg/cloudapi/rg/affinity_group_computes.go +++ b/pkg/cloudapi/rg/affinity_group_computes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityGroupComputesRequest struct to get list of all computes with their relationships diff --git a/pkg/cloudapi/rg/affinity_groups_get.go b/pkg/cloudapi/rg/affinity_groups_get.go index 8d9da70..1edb11d 100644 --- a/pkg/cloudapi/rg/affinity_groups_get.go +++ b/pkg/cloudapi/rg/affinity_groups_get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityGroupsGetRequest struct to get list computes from affinity group diff --git a/pkg/cloudapi/rg/affinity_groups_list.go b/pkg/cloudapi/rg/affinity_groups_list.go index c7c7d24..e79f886 100644 --- a/pkg/cloudapi/rg/affinity_groups_list.go +++ b/pkg/cloudapi/rg/affinity_groups_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityGroupsListRequest struct to get list of affinity groups from resource group diff --git a/pkg/cloudapi/rg/audits.go b/pkg/cloudapi/rg/audits.go index 2f1d6f1..18b7102 100644 --- a/pkg/cloudapi/rg/audits.go +++ b/pkg/cloudapi/rg/audits.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AuditsRequest struct to get audit diff --git a/pkg/cloudapi/rg/create.go b/pkg/cloudapi/rg/create.go index 7d35cfd..1d0bfd8 100644 --- a/pkg/cloudapi/rg/create.go +++ b/pkg/cloudapi/rg/create.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create resource group diff --git a/pkg/cloudapi/rg/del_storage_policy.go b/pkg/cloudapi/rg/del_storage_policy.go index fbd0bd5..e1b0d7d 100644 --- a/pkg/cloudapi/rg/del_storage_policy.go +++ b/pkg/cloudapi/rg/del_storage_policy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DelStoragePolicyRequest struct for deleting storage policy to the resource group diff --git a/pkg/cloudapi/rg/delete.go b/pkg/cloudapi/rg/delete.go index ff36510..3ab97f8 100644 --- a/pkg/cloudapi/rg/delete.go +++ b/pkg/cloudapi/rg/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete resource group diff --git a/pkg/cloudapi/rg/disable.go b/pkg/cloudapi/rg/disable.go index ca03e86..b778d4d 100644 --- a/pkg/cloudapi/rg/disable.go +++ b/pkg/cloudapi/rg/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableRequest struct to disable resource group diff --git a/pkg/cloudapi/rg/enable.go b/pkg/cloudapi/rg/enable.go index 0af8459..2f24bbf 100644 --- a/pkg/cloudapi/rg/enable.go +++ b/pkg/cloudapi/rg/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to enable resource group diff --git a/pkg/cloudapi/rg/get.go b/pkg/cloudapi/rg/get.go index 2c79f58..6e3b307 100644 --- a/pkg/cloudapi/rg/get.go +++ b/pkg/cloudapi/rg/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get detailed information about resource group diff --git a/pkg/cloudapi/rg/get_resource_consumption.go b/pkg/cloudapi/rg/get_resource_consumption.go index 7fadb6a..d2f28c6 100644 --- a/pkg/cloudapi/rg/get_resource_consumption.go +++ b/pkg/cloudapi/rg/get_resource_consumption.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetResourceConsumptionRequest struct to get detailed information about resource consumption for ResGroup diff --git a/pkg/cloudapi/rg/list.go b/pkg/cloudapi/rg/list.go index 5666da1..44a1b9e 100644 --- a/pkg/cloudapi/rg/list.go +++ b/pkg/cloudapi/rg/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of resource groups diff --git a/pkg/cloudapi/rg/list_computes.go b/pkg/cloudapi/rg/list_computes.go index fba3158..29bba4d 100644 --- a/pkg/cloudapi/rg/list_computes.go +++ b/pkg/cloudapi/rg/list_computes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListComputesRequest struct to get list of computes diff --git a/pkg/cloudapi/rg/list_deleted.go b/pkg/cloudapi/rg/list_deleted.go index 7ef916f..b97a022 100644 --- a/pkg/cloudapi/rg/list_deleted.go +++ b/pkg/cloudapi/rg/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get list deleted resource groups diff --git a/pkg/cloudapi/rg/list_lb.go b/pkg/cloudapi/rg/list_lb.go index e61de97..3c299f3 100644 --- a/pkg/cloudapi/rg/list_lb.go +++ b/pkg/cloudapi/rg/list_lb.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListLBRequest struct to get list of load balancers diff --git a/pkg/cloudapi/rg/list_pfw.go b/pkg/cloudapi/rg/list_pfw.go index c405eaf..6cc70a3 100644 --- a/pkg/cloudapi/rg/list_pfw.go +++ b/pkg/cloudapi/rg/list_pfw.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListPFWRequest struct to get list of port forward rules diff --git a/pkg/cloudapi/rg/list_vins.go b/pkg/cloudapi/rg/list_vins.go index cf39654..11ceb4a 100644 --- a/pkg/cloudapi/rg/list_vins.go +++ b/pkg/cloudapi/rg/list_vins.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListVINSRequest struct to get list of VINSes diff --git a/pkg/cloudapi/rg/remove_def_net.go b/pkg/cloudapi/rg/remove_def_net.go index a1024a2..7136b49 100644 --- a/pkg/cloudapi/rg/remove_def_net.go +++ b/pkg/cloudapi/rg/remove_def_net.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RemoveDefNetRequest struct to remove default network diff --git a/pkg/cloudapi/rg/restore.go b/pkg/cloudapi/rg/restore.go index b0d60de..0d94c5d 100644 --- a/pkg/cloudapi/rg/restore.go +++ b/pkg/cloudapi/rg/restore.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreRequest struct to restore resource group diff --git a/pkg/cloudapi/rg/rg.go b/pkg/cloudapi/rg/rg.go index 21393d3..6348a21 100644 --- a/pkg/cloudapi/rg/rg.go +++ b/pkg/cloudapi/rg/rg.go @@ -2,7 +2,7 @@ package rg import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to resource group diff --git a/pkg/cloudapi/rg/serialize.go b/pkg/cloudapi/rg/serialize.go index 8777df1..254fc2a 100644 --- a/pkg/cloudapi/rg/serialize.go +++ b/pkg/cloudapi/rg/serialize.go @@ -3,7 +3,7 @@ package rg import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudapi/rg/set_def_net.go b/pkg/cloudapi/rg/set_def_net.go index 6192d20..affe913 100644 --- a/pkg/cloudapi/rg/set_def_net.go +++ b/pkg/cloudapi/rg/set_def_net.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetDefNetRequest struct to set default network diff --git a/pkg/cloudapi/rg/update.go b/pkg/cloudapi/rg/update.go index c4f4208..777f4fe 100644 --- a/pkg/cloudapi/rg/update.go +++ b/pkg/cloudapi/rg/update.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update resource group diff --git a/pkg/cloudapi/rg/usage.go b/pkg/cloudapi/rg/usage.go index d954a0b..cf9ad11 100644 --- a/pkg/cloudapi/rg/usage.go +++ b/pkg/cloudapi/rg/usage.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UsageRequest struct to get report of resource usage diff --git a/pkg/cloudapi/secgroup/create.go b/pkg/cloudapi/secgroup/create.go index b13bb5d..5eeb0f0 100644 --- a/pkg/cloudapi/secgroup/create.go +++ b/pkg/cloudapi/secgroup/create.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type CreateRequest struct { diff --git a/pkg/cloudapi/secgroup/create_rule.go b/pkg/cloudapi/secgroup/create_rule.go index c3f742a..2c8ca6c 100644 --- a/pkg/cloudapi/secgroup/create_rule.go +++ b/pkg/cloudapi/secgroup/create_rule.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type CreateRuleRequest struct { diff --git a/pkg/cloudapi/secgroup/delete.go b/pkg/cloudapi/secgroup/delete.go index d166e4e..d9cf146 100644 --- a/pkg/cloudapi/secgroup/delete.go +++ b/pkg/cloudapi/secgroup/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type DeleteRequest struct { diff --git a/pkg/cloudapi/secgroup/delete_rule.go b/pkg/cloudapi/secgroup/delete_rule.go index b8e9c0b..6f99047 100644 --- a/pkg/cloudapi/secgroup/delete_rule.go +++ b/pkg/cloudapi/secgroup/delete_rule.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type DeleteRuleRequest struct { diff --git a/pkg/cloudapi/secgroup/get.go b/pkg/cloudapi/secgroup/get.go index 5624800..6edeefb 100644 --- a/pkg/cloudapi/secgroup/get.go +++ b/pkg/cloudapi/secgroup/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type GetRequest struct { diff --git a/pkg/cloudapi/secgroup/list.go b/pkg/cloudapi/secgroup/list.go index c3e85db..a0de996 100644 --- a/pkg/cloudapi/secgroup/list.go +++ b/pkg/cloudapi/secgroup/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ListRequest struct { diff --git a/pkg/cloudapi/secgroup/security_group.go b/pkg/cloudapi/secgroup/security_group.go index db2f8b0..44489d4 100644 --- a/pkg/cloudapi/secgroup/security_group.go +++ b/pkg/cloudapi/secgroup/security_group.go @@ -1,6 +1,6 @@ package secgroup -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to storage policy type SecurityGroup struct { diff --git a/pkg/cloudapi/secgroup/update.go b/pkg/cloudapi/secgroup/update.go index 85da839..b2980a4 100644 --- a/pkg/cloudapi/secgroup/update.go +++ b/pkg/cloudapi/secgroup/update.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type UpdateRequest struct { diff --git a/pkg/cloudapi/securitygroup.go b/pkg/cloudapi/securitygroup.go index 3886616..141c60d 100644 --- a/pkg/cloudapi/securitygroup.go +++ b/pkg/cloudapi/securitygroup.go @@ -1,7 +1,7 @@ package cloudapi import ( - secgroup "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/secgroup" + secgroup "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/secgroup" ) // Accessing the Security Group method group diff --git a/pkg/cloudapi/sep.go b/pkg/cloudapi/sep.go index 9a1d919..b4f3cf2 100644 --- a/pkg/cloudapi/sep.go +++ b/pkg/cloudapi/sep.go @@ -1,6 +1,6 @@ package cloudapi -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/sep" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/sep" // Accessing the SEP method group func (cb *CloudAPI) SEP() *sep.SEP { diff --git a/pkg/cloudapi/sep/list_available_sep_and_pools.go b/pkg/cloudapi/sep/list_available_sep_and_pools.go index e84aa48..33c0281 100644 --- a/pkg/cloudapi/sep/list_available_sep_and_pools.go +++ b/pkg/cloudapi/sep/list_available_sep_and_pools.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListAvailableSEPAndPoolsRequest struct to get dict with entry count and list of dict with SEPs and pools details accessible by the Account and RG diff --git a/pkg/cloudapi/sep/sep.go b/pkg/cloudapi/sep/sep.go index f31d22f..2b7e603 100644 --- a/pkg/cloudapi/sep/sep.go +++ b/pkg/cloudapi/sep/sep.go @@ -2,7 +2,7 @@ package sep import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to storage endpoint provider diff --git a/pkg/cloudapi/sep/serialize.go b/pkg/cloudapi/sep/serialize.go index a82c38d..3a6503a 100644 --- a/pkg/cloudapi/sep/serialize.go +++ b/pkg/cloudapi/sep/serialize.go @@ -3,7 +3,7 @@ package sep import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudapi/storage_policy.go b/pkg/cloudapi/storage_policy.go index 323b34c..7779e14 100644 --- a/pkg/cloudapi/storage_policy.go +++ b/pkg/cloudapi/storage_policy.go @@ -1,7 +1,7 @@ package cloudapi import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/stpolicy" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/stpolicy" ) // Accessing the Storage Policy method group diff --git a/pkg/cloudapi/stpolicy/get.go b/pkg/cloudapi/stpolicy/get.go index cf7e8c3..9aebaf7 100644 --- a/pkg/cloudapi/stpolicy/get.go +++ b/pkg/cloudapi/stpolicy/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type GetRequest struct { diff --git a/pkg/cloudapi/stpolicy/list.go b/pkg/cloudapi/stpolicy/list.go index ba8d1e5..5c312d8 100644 --- a/pkg/cloudapi/stpolicy/list.go +++ b/pkg/cloudapi/stpolicy/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ListRequest struct { diff --git a/pkg/cloudapi/stpolicy/storage_policy.go b/pkg/cloudapi/stpolicy/storage_policy.go index 4ff5281..7694187 100644 --- a/pkg/cloudapi/stpolicy/storage_policy.go +++ b/pkg/cloudapi/stpolicy/storage_policy.go @@ -1,6 +1,6 @@ package stpolicy -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to storage policy type StPolicy struct { diff --git a/pkg/cloudapi/tasks.go b/pkg/cloudapi/tasks.go index 5b66651..75dc7b0 100644 --- a/pkg/cloudapi/tasks.go +++ b/pkg/cloudapi/tasks.go @@ -1,7 +1,7 @@ package cloudapi import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/tasks" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/tasks" ) // Accessing the Tasks method group diff --git a/pkg/cloudapi/tasks/get.go b/pkg/cloudapi/tasks/get.go index fe0642b..229fd7f 100644 --- a/pkg/cloudapi/tasks/get.go +++ b/pkg/cloudapi/tasks/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about task diff --git a/pkg/cloudapi/tasks/list.go b/pkg/cloudapi/tasks/list.go index e1b4acf..f57b2db 100644 --- a/pkg/cloudapi/tasks/list.go +++ b/pkg/cloudapi/tasks/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of tasks diff --git a/pkg/cloudapi/tasks/tasks.go b/pkg/cloudapi/tasks/tasks.go index 4a63ae6..d29d955 100644 --- a/pkg/cloudapi/tasks/tasks.go +++ b/pkg/cloudapi/tasks/tasks.go @@ -2,7 +2,7 @@ package tasks import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to tasks diff --git a/pkg/cloudapi/trunk.go b/pkg/cloudapi/trunk.go index 688ae3d..443fb22 100644 --- a/pkg/cloudapi/trunk.go +++ b/pkg/cloudapi/trunk.go @@ -1,7 +1,7 @@ package cloudapi import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/trunk" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/trunk" ) // Accessing the Trunk method group diff --git a/pkg/cloudapi/trunk/get.go b/pkg/cloudapi/trunk/get.go index 9651519..e87317a 100644 --- a/pkg/cloudapi/trunk/get.go +++ b/pkg/cloudapi/trunk/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about a trunk diff --git a/pkg/cloudapi/trunk/list.go b/pkg/cloudapi/trunk/list.go index db9e277..87839c1 100644 --- a/pkg/cloudapi/trunk/list.go +++ b/pkg/cloudapi/trunk/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of trunks diff --git a/pkg/cloudapi/trunk/trunk.go b/pkg/cloudapi/trunk/trunk.go index 710389b..9fed1a4 100644 --- a/pkg/cloudapi/trunk/trunk.go +++ b/pkg/cloudapi/trunk/trunk.go @@ -2,7 +2,7 @@ package trunk import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to trunk diff --git a/pkg/cloudapi/user.go b/pkg/cloudapi/user.go index 2c8fd8a..bb7046e 100644 --- a/pkg/cloudapi/user.go +++ b/pkg/cloudapi/user.go @@ -1,6 +1,6 @@ package cloudapi -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/user" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/user" func (ca *CloudAPI) User() *user.User { return user.New(ca.client) diff --git a/pkg/cloudapi/user/api_list.go b/pkg/cloudapi/user/api_list.go index ff6e2db..6409405 100644 --- a/pkg/cloudapi/user/api_list.go +++ b/pkg/cloudapi/user/api_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // APIListRequest struct for getting API list. diff --git a/pkg/cloudapi/user/authenticate.go b/pkg/cloudapi/user/authenticate.go index 268ec08..997e5de 100644 --- a/pkg/cloudapi/user/authenticate.go +++ b/pkg/cloudapi/user/authenticate.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AuthenticateRequest struct to authenticate user. diff --git a/pkg/cloudapi/user/get.go b/pkg/cloudapi/user/get.go index 22065dc..ed1ae4b 100644 --- a/pkg/cloudapi/user/get.go +++ b/pkg/cloudapi/user/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get user details. diff --git a/pkg/cloudapi/user/is_valid_invite_user_token.go b/pkg/cloudapi/user/is_valid_invite_user_token.go index fbb535c..f7525d0 100644 --- a/pkg/cloudapi/user/is_valid_invite_user_token.go +++ b/pkg/cloudapi/user/is_valid_invite_user_token.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to check if the inviteusertoken and emailaddress pair are valid and matching. diff --git a/pkg/cloudapi/user/set_data.go b/pkg/cloudapi/user/set_data.go index 7807a6a..604eeea 100644 --- a/pkg/cloudapi/user/set_data.go +++ b/pkg/cloudapi/user/set_data.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetDataRequest struct for setting extra user information. diff --git a/pkg/cloudapi/user/user.go b/pkg/cloudapi/user/user.go index ed93790..662365d 100644 --- a/pkg/cloudapi/user/user.go +++ b/pkg/cloudapi/user/user.go @@ -1,6 +1,6 @@ package user -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to User type User struct { diff --git a/pkg/cloudapi/vfpool.go b/pkg/cloudapi/vfpool.go index 07fac33..fe29c09 100644 --- a/pkg/cloudapi/vfpool.go +++ b/pkg/cloudapi/vfpool.go @@ -1,6 +1,6 @@ package cloudapi -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/vfpool" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/vfpool" // Accessing the VFPool method group func (ca *CloudAPI) VFPool() *vfpool.VFPool { diff --git a/pkg/cloudapi/vfpool/get.go b/pkg/cloudapi/vfpool/get.go index 296ae61..5dc5975 100644 --- a/pkg/cloudapi/vfpool/get.go +++ b/pkg/cloudapi/vfpool/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get detailed information about vfpool device diff --git a/pkg/cloudapi/vfpool/list.go b/pkg/cloudapi/vfpool/list.go index bf93128..23cf687 100644 --- a/pkg/cloudapi/vfpool/list.go +++ b/pkg/cloudapi/vfpool/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of vfpool devices diff --git a/pkg/cloudapi/vfpool/serialize.go b/pkg/cloudapi/vfpool/serialize.go index 858e6f1..1214ce7 100644 --- a/pkg/cloudapi/vfpool/serialize.go +++ b/pkg/cloudapi/vfpool/serialize.go @@ -3,7 +3,7 @@ package vfpool import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudapi/vfpool/vfpool.go b/pkg/cloudapi/vfpool/vfpool.go index cf0f368..48885fa 100644 --- a/pkg/cloudapi/vfpool/vfpool.go +++ b/pkg/cloudapi/vfpool/vfpool.go @@ -2,7 +2,7 @@ package vfpool import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to vfpool diff --git a/pkg/cloudapi/vins.go b/pkg/cloudapi/vins.go index 072ca77..4d299a5 100644 --- a/pkg/cloudapi/vins.go +++ b/pkg/cloudapi/vins.go @@ -1,7 +1,7 @@ package cloudapi import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/vins" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/vins" ) // Accessing the VINS method group diff --git a/pkg/cloudapi/vins/audits.go b/pkg/cloudapi/vins/audits.go index d45c4d4..0a967cb 100644 --- a/pkg/cloudapi/vins/audits.go +++ b/pkg/cloudapi/vins/audits.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AuditsRequest struct to get audits diff --git a/pkg/cloudapi/vins/create_in_account.go b/pkg/cloudapi/vins/create_in_account.go index 0a62d3b..97d158c 100644 --- a/pkg/cloudapi/vins/create_in_account.go +++ b/pkg/cloudapi/vins/create_in_account.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type Route struct { diff --git a/pkg/cloudapi/vins/create_in_rg.go b/pkg/cloudapi/vins/create_in_rg.go index 217a54d..a0a73a6 100644 --- a/pkg/cloudapi/vins/create_in_rg.go +++ b/pkg/cloudapi/vins/create_in_rg.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateInRGRequest struct to create VINS in resource group diff --git a/pkg/cloudapi/vins/delete.go b/pkg/cloudapi/vins/delete.go index 2590b66..5ec0e08 100644 --- a/pkg/cloudapi/vins/delete.go +++ b/pkg/cloudapi/vins/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete VINS diff --git a/pkg/cloudapi/vins/disable_enable.go b/pkg/cloudapi/vins/disable_enable.go index 4bde694..5b19619 100644 --- a/pkg/cloudapi/vins/disable_enable.go +++ b/pkg/cloudapi/vins/disable_enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableEnableRequest struct to disable/enable VINS diff --git a/pkg/cloudapi/vins/dns_apply.go b/pkg/cloudapi/vins/dns_apply.go index 5140df2..f3ebd10 100644 --- a/pkg/cloudapi/vins/dns_apply.go +++ b/pkg/cloudapi/vins/dns_apply.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DNSApplyRequest struct to apply new DNS list in VINS diff --git a/pkg/cloudapi/vins/extnet_connect.go b/pkg/cloudapi/vins/extnet_connect.go index 352b35f..6ea25e9 100644 --- a/pkg/cloudapi/vins/extnet_connect.go +++ b/pkg/cloudapi/vins/extnet_connect.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ExtNetConnectRequest struct to connect to external network diff --git a/pkg/cloudapi/vins/extnet_disconnect.go b/pkg/cloudapi/vins/extnet_disconnect.go index ad0b23a..4f068af 100644 --- a/pkg/cloudapi/vins/extnet_disconnect.go +++ b/pkg/cloudapi/vins/extnet_disconnect.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ExtNetDisconnectRequest struct to disconnect VINS from external network diff --git a/pkg/cloudapi/vins/extnet_list.go b/pkg/cloudapi/vins/extnet_list.go index 11c9e2e..00998b7 100644 --- a/pkg/cloudapi/vins/extnet_list.go +++ b/pkg/cloudapi/vins/extnet_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ExtNetListRequest struct to get list of VINS external network connections diff --git a/pkg/cloudapi/vins/get.go b/pkg/cloudapi/vins/get.go index f665408..7c7f1e0 100644 --- a/pkg/cloudapi/vins/get.go +++ b/pkg/cloudapi/vins/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about VINS diff --git a/pkg/cloudapi/vins/ip_list.go b/pkg/cloudapi/vins/ip_list.go index 2cdb6ca..82e67f5 100644 --- a/pkg/cloudapi/vins/ip_list.go +++ b/pkg/cloudapi/vins/ip_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // IPListRequest struct for DHCP IP diff --git a/pkg/cloudapi/vins/ip_release.go b/pkg/cloudapi/vins/ip_release.go index 08c785d..e71c7f1 100644 --- a/pkg/cloudapi/vins/ip_release.go +++ b/pkg/cloudapi/vins/ip_release.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // IPReleaseRequest struct for IP release diff --git a/pkg/cloudapi/vins/ip_reserve.go b/pkg/cloudapi/vins/ip_reserve.go index 6787e27..f903e7b 100644 --- a/pkg/cloudapi/vins/ip_reserve.go +++ b/pkg/cloudapi/vins/ip_reserve.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // IPReserveRequest struct for IP reserve diff --git a/pkg/cloudapi/vins/list.go b/pkg/cloudapi/vins/list.go index d1aaa56..a5660a7 100644 --- a/pkg/cloudapi/vins/list.go +++ b/pkg/cloudapi/vins/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of VINSes diff --git a/pkg/cloudapi/vins/list_deleted.go b/pkg/cloudapi/vins/list_deleted.go index 1fff069..114fa1e 100644 --- a/pkg/cloudapi/vins/list_deleted.go +++ b/pkg/cloudapi/vins/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get list of deleted VINSes diff --git a/pkg/cloudapi/vins/migrate_to_zone.go b/pkg/cloudapi/vins/migrate_to_zone.go index a60b310..86af90c 100644 --- a/pkg/cloudapi/vins/migrate_to_zone.go +++ b/pkg/cloudapi/vins/migrate_to_zone.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateToZone struct to move VINS to another zone diff --git a/pkg/cloudapi/vins/nat_rule_add.go b/pkg/cloudapi/vins/nat_rule_add.go index ab41e38..b4935fc 100644 --- a/pkg/cloudapi/vins/nat_rule_add.go +++ b/pkg/cloudapi/vins/nat_rule_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // NATRuleAddRequest struct to create NAT rules diff --git a/pkg/cloudapi/vins/nat_rule_del.go b/pkg/cloudapi/vins/nat_rule_del.go index 3ddfa46..95fddf9 100644 --- a/pkg/cloudapi/vins/nat_rule_del.go +++ b/pkg/cloudapi/vins/nat_rule_del.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // NATRuleDelRequest struct to delete NAT rule diff --git a/pkg/cloudapi/vins/nat_rule_list.go b/pkg/cloudapi/vins/nat_rule_list.go index 9948fe3..b99aac8 100644 --- a/pkg/cloudapi/vins/nat_rule_list.go +++ b/pkg/cloudapi/vins/nat_rule_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // NATRuleListRequest struct to get list of NAT rules diff --git a/pkg/cloudapi/vins/restore.go b/pkg/cloudapi/vins/restore.go index ed116c0..3342c14 100644 --- a/pkg/cloudapi/vins/restore.go +++ b/pkg/cloudapi/vins/restore.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreRequest struct for restore diff --git a/pkg/cloudapi/vins/serialize.go b/pkg/cloudapi/vins/serialize.go index 5adfccb..bc1bb43 100644 --- a/pkg/cloudapi/vins/serialize.go +++ b/pkg/cloudapi/vins/serialize.go @@ -3,7 +3,7 @@ package vins import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudapi/vins/static_route_access_grant.go b/pkg/cloudapi/vins/static_route_access_grant.go index 8c1bdc0..bb45cf5 100644 --- a/pkg/cloudapi/vins/static_route_access_grant.go +++ b/pkg/cloudapi/vins/static_route_access_grant.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StaticRouteAccessGrantRequest struct to grant access to static route to Compute/ViNS diff --git a/pkg/cloudapi/vins/static_route_access_revoke.go b/pkg/cloudapi/vins/static_route_access_revoke.go index 4d587dc..cecf43f 100644 --- a/pkg/cloudapi/vins/static_route_access_revoke.go +++ b/pkg/cloudapi/vins/static_route_access_revoke.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StaticRouteAccessRevokeRequest struct to revoke access to static route to Compute/ViNS diff --git a/pkg/cloudapi/vins/static_route_add.go b/pkg/cloudapi/vins/static_route_add.go index 3938e0f..2ae331f 100644 --- a/pkg/cloudapi/vins/static_route_add.go +++ b/pkg/cloudapi/vins/static_route_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StaticRouteAddRequest struct to add static route diff --git a/pkg/cloudapi/vins/static_route_del.go b/pkg/cloudapi/vins/static_route_del.go index f6766bc..b56042a 100644 --- a/pkg/cloudapi/vins/static_route_del.go +++ b/pkg/cloudapi/vins/static_route_del.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StaticRouteDelRequest struct to remove static route from ViNS diff --git a/pkg/cloudapi/vins/static_route_list.go b/pkg/cloudapi/vins/static_route_list.go index 0428a93..93b3e06 100644 --- a/pkg/cloudapi/vins/static_route_list.go +++ b/pkg/cloudapi/vins/static_route_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StaticRouteListRequest struct for static route list diff --git a/pkg/cloudapi/vins/vins.go b/pkg/cloudapi/vins/vins.go index a0ec09f..b26c0a8 100644 --- a/pkg/cloudapi/vins/vins.go +++ b/pkg/cloudapi/vins/vins.go @@ -2,7 +2,7 @@ package vins import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to VINS diff --git a/pkg/cloudapi/vins/vnfdev_redeploy.go b/pkg/cloudapi/vins/vnfdev_redeploy.go index f8fba79..ced7c0d 100644 --- a/pkg/cloudapi/vins/vnfdev_redeploy.go +++ b/pkg/cloudapi/vins/vnfdev_redeploy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // VNFDevRedeployRequest struct for redeploy VNFDevs diff --git a/pkg/cloudapi/vins/vnfdev_restart.go b/pkg/cloudapi/vins/vnfdev_restart.go index e518fd4..1c9547f 100644 --- a/pkg/cloudapi/vins/vnfdev_restart.go +++ b/pkg/cloudapi/vins/vnfdev_restart.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // VNFDevRestartRequest struct for reboot VINSes primary VNF device diff --git a/pkg/cloudapi/zone.go b/pkg/cloudapi/zone.go index 38956f3..67e0565 100644 --- a/pkg/cloudapi/zone.go +++ b/pkg/cloudapi/zone.go @@ -1,7 +1,7 @@ package cloudapi import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi/zone" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi/zone" ) // Accessing the Zone method group diff --git a/pkg/cloudapi/zone/get.go b/pkg/cloudapi/zone/get.go index 92166d9..717d861 100644 --- a/pkg/cloudapi/zone/get.go +++ b/pkg/cloudapi/zone/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get detailed information about zone diff --git a/pkg/cloudapi/zone/list.go b/pkg/cloudapi/zone/list.go index 4e61bde..688333f 100644 --- a/pkg/cloudapi/zone/list.go +++ b/pkg/cloudapi/zone/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of zones diff --git a/pkg/cloudapi/zone/serialize.go b/pkg/cloudapi/zone/serialize.go index 137dad3..304198d 100644 --- a/pkg/cloudapi/zone/serialize.go +++ b/pkg/cloudapi/zone/serialize.go @@ -3,7 +3,7 @@ package zone import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudapi/zone/zone.go b/pkg/cloudapi/zone/zone.go index 76c018d..bf9af21 100644 --- a/pkg/cloudapi/zone/zone.go +++ b/pkg/cloudapi/zone/zone.go @@ -2,7 +2,7 @@ package zone import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to zone diff --git a/pkg/cloudbroker/account.go b/pkg/cloudbroker/account.go index 114b2f3..a6e78dd 100644 --- a/pkg/cloudbroker/account.go +++ b/pkg/cloudbroker/account.go @@ -1,7 +1,7 @@ package cloudbroker import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/account" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/account" ) // Accessing the Account method group diff --git a/pkg/cloudbroker/account/account.go b/pkg/cloudbroker/account/account.go index 1f00602..84f4814 100644 --- a/pkg/cloudbroker/account/account.go +++ b/pkg/cloudbroker/account/account.go @@ -1,7 +1,7 @@ // API Actor API for managing account package account -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to account type Account struct { diff --git a/pkg/cloudbroker/account/add_storage_policy.go b/pkg/cloudbroker/account/add_storage_policy.go index 6912204..04dc622 100644 --- a/pkg/cloudbroker/account/add_storage_policy.go +++ b/pkg/cloudbroker/account/add_storage_policy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AddStoragePolicyRequest struct for adding storage policy to the account diff --git a/pkg/cloudbroker/account/add_user.go b/pkg/cloudbroker/account/add_user.go index e029239..1bb27f3 100644 --- a/pkg/cloudbroker/account/add_user.go +++ b/pkg/cloudbroker/account/add_user.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AddUserRequest struct for adding permission to access to account for a user diff --git a/pkg/cloudbroker/account/add_zone.go b/pkg/cloudbroker/account/add_zone.go index 50782e4..2db6a67 100644 --- a/pkg/cloudbroker/account/add_zone.go +++ b/pkg/cloudbroker/account/add_zone.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AddZoneRequest struct for adding zone to account for a user diff --git a/pkg/cloudbroker/account/audits.go b/pkg/cloudbroker/account/audits.go index e041dc9..003b815 100644 --- a/pkg/cloudbroker/account/audits.go +++ b/pkg/cloudbroker/account/audits.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AuditsRequest struct to give list of account audits diff --git a/pkg/cloudbroker/account/create.go b/pkg/cloudbroker/account/create.go index 04dfc89..020f230 100644 --- a/pkg/cloudbroker/account/create.go +++ b/pkg/cloudbroker/account/create.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct for creating account diff --git a/pkg/cloudbroker/account/del_storage_policy.go b/pkg/cloudbroker/account/del_storage_policy.go index 19a61a4..b190450 100644 --- a/pkg/cloudbroker/account/del_storage_policy.go +++ b/pkg/cloudbroker/account/del_storage_policy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DelStoragePolicyRequest struct for deleting storage policy to the account diff --git a/pkg/cloudbroker/account/delete.go b/pkg/cloudbroker/account/delete.go index 06e55b9..7f7c5f4 100644 --- a/pkg/cloudbroker/account/delete.go +++ b/pkg/cloudbroker/account/delete.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete account diff --git a/pkg/cloudbroker/account/delete_accounts.go b/pkg/cloudbroker/account/delete_accounts.go index 97c1299..8db2e02 100644 --- a/pkg/cloudbroker/account/delete_accounts.go +++ b/pkg/cloudbroker/account/delete_accounts.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteAccountsRequest struct to delete group of accounts diff --git a/pkg/cloudbroker/account/delete_user.go b/pkg/cloudbroker/account/delete_user.go index 0d87909..949e16a 100644 --- a/pkg/cloudbroker/account/delete_user.go +++ b/pkg/cloudbroker/account/delete_user.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteUserRequest struct to revoke access to account diff --git a/pkg/cloudbroker/account/disable.go b/pkg/cloudbroker/account/disable.go index 1bf9ad2..2f71ffd 100644 --- a/pkg/cloudbroker/account/disable.go +++ b/pkg/cloudbroker/account/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableRequest struct to disable account diff --git a/pkg/cloudbroker/account/disable_accounts.go b/pkg/cloudbroker/account/disable_accounts.go index 1882281..f310cc6 100644 --- a/pkg/cloudbroker/account/disable_accounts.go +++ b/pkg/cloudbroker/account/disable_accounts.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableAccountsRequest struct to disable group of accounts diff --git a/pkg/cloudbroker/account/enable.go b/pkg/cloudbroker/account/enable.go index 6d0333b..26bbf70 100644 --- a/pkg/cloudbroker/account/enable.go +++ b/pkg/cloudbroker/account/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to enable account diff --git a/pkg/cloudbroker/account/enable_accounts.go b/pkg/cloudbroker/account/enable_accounts.go index d746548..c1e9a51 100644 --- a/pkg/cloudbroker/account/enable_accounts.go +++ b/pkg/cloudbroker/account/enable_accounts.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableAccountsRequest to enable group of accounts diff --git a/pkg/cloudbroker/account/get.go b/pkg/cloudbroker/account/get.go index 7520d59..b6a0e89 100644 --- a/pkg/cloudbroker/account/get.go +++ b/pkg/cloudbroker/account/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about account diff --git a/pkg/cloudbroker/account/get_resource_consumption.go b/pkg/cloudbroker/account/get_resource_consumption.go index b2398d9..1b48f33 100644 --- a/pkg/cloudbroker/account/get_resource_consumption.go +++ b/pkg/cloudbroker/account/get_resource_consumption.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetResourceConsumptionRequest struct for getting resource consumption diff --git a/pkg/cloudbroker/account/grant_access_templates.go b/pkg/cloudbroker/account/grant_access_templates.go index 7bf9c8d..5ac5e81 100644 --- a/pkg/cloudbroker/account/grant_access_templates.go +++ b/pkg/cloudbroker/account/grant_access_templates.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GrantAccessTemplatesRequest struct to share images with account diff --git a/pkg/cloudbroker/account/list.go b/pkg/cloudbroker/account/list.go index 0c5a478..f52e129 100644 --- a/pkg/cloudbroker/account/list.go +++ b/pkg/cloudbroker/account/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of accounts diff --git a/pkg/cloudbroker/account/list_available_templates.go b/pkg/cloudbroker/account/list_available_templates.go index 32f5f8e..f9f9e72 100644 --- a/pkg/cloudbroker/account/list_available_templates.go +++ b/pkg/cloudbroker/account/list_available_templates.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListAvailableTemplatesRequest struct to list templates who sharedWith include accountId diff --git a/pkg/cloudbroker/account/list_computes.go b/pkg/cloudbroker/account/list_computes.go index 155b5fc..091db18 100644 --- a/pkg/cloudbroker/account/list_computes.go +++ b/pkg/cloudbroker/account/list_computes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListComputesRequest struct to a get list of compute instances diff --git a/pkg/cloudbroker/account/list_deleted.go b/pkg/cloudbroker/account/list_deleted.go index 8ed5337..794ec4b 100644 --- a/pkg/cloudbroker/account/list_deleted.go +++ b/pkg/cloudbroker/account/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get list of deleted accounts diff --git a/pkg/cloudbroker/account/list_disks.go b/pkg/cloudbroker/account/list_disks.go index 58f833a..25dbcf6 100644 --- a/pkg/cloudbroker/account/list_disks.go +++ b/pkg/cloudbroker/account/list_disks.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDisksRequest struct to get list of deleted disks diff --git a/pkg/cloudbroker/account/list_flip_groups.go b/pkg/cloudbroker/account/list_flip_groups.go index 422760d..69ac896 100644 --- a/pkg/cloudbroker/account/list_flip_groups.go +++ b/pkg/cloudbroker/account/list_flip_groups.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListFLIPGroupsRequest struct to get list of FLIPGroups diff --git a/pkg/cloudbroker/account/list_rg.go b/pkg/cloudbroker/account/list_rg.go index 78b8f10..ff60947 100644 --- a/pkg/cloudbroker/account/list_rg.go +++ b/pkg/cloudbroker/account/list_rg.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRGRequest struct to get list of resource groups diff --git a/pkg/cloudbroker/account/list_vins.go b/pkg/cloudbroker/account/list_vins.go index b63dc97..1d862db 100644 --- a/pkg/cloudbroker/account/list_vins.go +++ b/pkg/cloudbroker/account/list_vins.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListVINSRequest struct to get list of VINS diff --git a/pkg/cloudbroker/account/models.go b/pkg/cloudbroker/account/models.go index 024ed9a..850cc76 100644 --- a/pkg/cloudbroker/account/models.go +++ b/pkg/cloudbroker/account/models.go @@ -215,6 +215,9 @@ type InfoAccount struct { // UniqPools UniqPools []string `json:"uniqPools"` + // Updated By + UpdatedBy string `json:"updatedBy"` + // UpdatedTime UpdatedTime uint64 `json:"updatedTime"` diff --git a/pkg/cloudbroker/account/remove_zone.go b/pkg/cloudbroker/account/remove_zone.go index 8d713ac..124d707 100644 --- a/pkg/cloudbroker/account/remove_zone.go +++ b/pkg/cloudbroker/account/remove_zone.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RemoveZoneRequest struct for removing zone from account for a user diff --git a/pkg/cloudbroker/account/restore.go b/pkg/cloudbroker/account/restore.go index 971b676..f51fb61 100644 --- a/pkg/cloudbroker/account/restore.go +++ b/pkg/cloudbroker/account/restore.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreRequest struct to restore a deleted account diff --git a/pkg/cloudbroker/account/revoke_access_templates.go b/pkg/cloudbroker/account/revoke_access_templates.go index 3a88ecc..3dfb53f 100644 --- a/pkg/cloudbroker/account/revoke_access_templates.go +++ b/pkg/cloudbroker/account/revoke_access_templates.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RevokeAccessTemplatesRequest struct to unshare images with account diff --git a/pkg/cloudbroker/account/serialize.go b/pkg/cloudbroker/account/serialize.go index 24ab4e5..9210491 100644 --- a/pkg/cloudbroker/account/serialize.go +++ b/pkg/cloudbroker/account/serialize.go @@ -3,7 +3,7 @@ package account import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/account/set_cpu_allocation_parameter.go b/pkg/cloudbroker/account/set_cpu_allocation_parameter.go index 37a1f2c..527fe90 100644 --- a/pkg/cloudbroker/account/set_cpu_allocation_parameter.go +++ b/pkg/cloudbroker/account/set_cpu_allocation_parameter.go @@ -3,7 +3,7 @@ package account import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" "strconv" ) diff --git a/pkg/cloudbroker/account/set_cpu_allocation_ratio.go b/pkg/cloudbroker/account/set_cpu_allocation_ratio.go index 907b0cd..a5d9044 100644 --- a/pkg/cloudbroker/account/set_cpu_allocation_ratio.go +++ b/pkg/cloudbroker/account/set_cpu_allocation_ratio.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetCPUAllocationRatioRequest struct for setting CPU allocation ratio diff --git a/pkg/cloudbroker/account/update.go b/pkg/cloudbroker/account/update.go index 092a634..778d3e1 100644 --- a/pkg/cloudbroker/account/update.go +++ b/pkg/cloudbroker/account/update.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update account diff --git a/pkg/cloudbroker/account/update_compute_features.go b/pkg/cloudbroker/account/update_compute_features.go index ee6794a..cbb7529 100644 --- a/pkg/cloudbroker/account/update_compute_features.go +++ b/pkg/cloudbroker/account/update_compute_features.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateComputeFeaturesRequest struct to update advanced compute features diff --git a/pkg/cloudbroker/account/update_resource_types.go b/pkg/cloudbroker/account/update_resource_types.go index 3a59cbb..3d94052 100644 --- a/pkg/cloudbroker/account/update_resource_types.go +++ b/pkg/cloudbroker/account/update_resource_types.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateResourceTypesRequest struct to update resource types in account diff --git a/pkg/cloudbroker/account/update_user.go b/pkg/cloudbroker/account/update_user.go index 7442a4c..6a8e064 100644 --- a/pkg/cloudbroker/account/update_user.go +++ b/pkg/cloudbroker/account/update_user.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateUserRequest struct to update user access rights diff --git a/pkg/cloudbroker/apiaccess.go b/pkg/cloudbroker/apiaccess.go index c758098..78494d6 100644 --- a/pkg/cloudbroker/apiaccess.go +++ b/pkg/cloudbroker/apiaccess.go @@ -1,6 +1,6 @@ package cloudbroker -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/apiaccess" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/apiaccess" // Accessing the APIAccess method group func (cb *CloudBroker) APIAccess() *apiaccess.APIAccess { diff --git a/pkg/cloudbroker/apiaccess/api_find.go b/pkg/cloudbroker/apiaccess/api_find.go index cbe8bf7..ac967cb 100644 --- a/pkg/cloudbroker/apiaccess/api_find.go +++ b/pkg/cloudbroker/apiaccess/api_find.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // APIFindRequest struct for finding apiaccess groups. diff --git a/pkg/cloudbroker/apiaccess/apiaccess.go b/pkg/cloudbroker/apiaccess/apiaccess.go index 8cfb7c2..02d0ac8 100644 --- a/pkg/cloudbroker/apiaccess/apiaccess.go +++ b/pkg/cloudbroker/apiaccess/apiaccess.go @@ -1,6 +1,6 @@ package apiaccess -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to APIAccess type APIAccess struct { diff --git a/pkg/cloudbroker/apiaccess/apis_exclude.go b/pkg/cloudbroker/apiaccess/apis_exclude.go index 55c4d90..86d5cb0 100644 --- a/pkg/cloudbroker/apiaccess/apis_exclude.go +++ b/pkg/cloudbroker/apiaccess/apis_exclude.go @@ -6,7 +6,7 @@ import ( "fmt" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type APIString string diff --git a/pkg/cloudbroker/apiaccess/apis_include.go b/pkg/cloudbroker/apiaccess/apis_include.go index 592a36a..15f144c 100644 --- a/pkg/cloudbroker/apiaccess/apis_include.go +++ b/pkg/cloudbroker/apiaccess/apis_include.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // APIsIncludeRequest struct for adding api to access group. diff --git a/pkg/cloudbroker/apiaccess/copy.go b/pkg/cloudbroker/apiaccess/copy.go index 7cd947b..9137760 100644 --- a/pkg/cloudbroker/apiaccess/copy.go +++ b/pkg/cloudbroker/apiaccess/copy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CopyRequest Request for copying apiaccess group. diff --git a/pkg/cloudbroker/apiaccess/create.go b/pkg/cloudbroker/apiaccess/create.go index 627d745..6df8172 100644 --- a/pkg/cloudbroker/apiaccess/create.go +++ b/pkg/cloudbroker/apiaccess/create.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct for creating apiaccess group. diff --git a/pkg/cloudbroker/apiaccess/delete.go b/pkg/cloudbroker/apiaccess/delete.go index 5166f5a..fb93e68 100644 --- a/pkg/cloudbroker/apiaccess/delete.go +++ b/pkg/cloudbroker/apiaccess/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct for deleting apiaccess group. diff --git a/pkg/cloudbroker/apiaccess/desc_update.go b/pkg/cloudbroker/apiaccess/desc_update.go index 3a395c0..f84d089 100644 --- a/pkg/cloudbroker/apiaccess/desc_update.go +++ b/pkg/cloudbroker/apiaccess/desc_update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DescUpdateRequest struct for updating apiaccess group description. diff --git a/pkg/cloudbroker/apiaccess/get.go b/pkg/cloudbroker/apiaccess/get.go index 1bcc0f4..7578ad8 100644 --- a/pkg/cloudbroker/apiaccess/get.go +++ b/pkg/cloudbroker/apiaccess/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get apiaccess group. diff --git a/pkg/cloudbroker/apiaccess/list.go b/pkg/cloudbroker/apiaccess/list.go index 07140c3..4cb24eb 100644 --- a/pkg/cloudbroker/apiaccess/list.go +++ b/pkg/cloudbroker/apiaccess/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of all non deleted apiaccess instances. diff --git a/pkg/cloudbroker/apiaccess/set_default.go b/pkg/cloudbroker/apiaccess/set_default.go index 9d4605e..be3a09b 100644 --- a/pkg/cloudbroker/apiaccess/set_default.go +++ b/pkg/cloudbroker/apiaccess/set_default.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetDefaultRequest struct for setting default apiaccess group. diff --git a/pkg/cloudbroker/apiaccess/subtract.go b/pkg/cloudbroker/apiaccess/subtract.go index 825e043..57838eb 100644 --- a/pkg/cloudbroker/apiaccess/subtract.go +++ b/pkg/cloudbroker/apiaccess/subtract.go @@ -6,7 +6,7 @@ import ( "context" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SubtractRequest struct for subtracting. diff --git a/pkg/cloudbroker/apiaccess/union.go b/pkg/cloudbroker/apiaccess/union.go index 9f715de..9ace57e 100644 --- a/pkg/cloudbroker/apiaccess/union.go +++ b/pkg/cloudbroker/apiaccess/union.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UnionRequest struct for union. diff --git a/pkg/cloudbroker/apiaccess/update.go b/pkg/cloudbroker/apiaccess/update.go index 33a5330..2ca807f 100644 --- a/pkg/cloudbroker/apiaccess/update.go +++ b/pkg/cloudbroker/apiaccess/update.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct for updating apis of apiaccess group. diff --git a/pkg/cloudbroker/apiaccess/user_list.go b/pkg/cloudbroker/apiaccess/user_list.go index 9a2806f..1acbb88 100644 --- a/pkg/cloudbroker/apiaccess/user_list.go +++ b/pkg/cloudbroker/apiaccess/user_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UserListRequest struct for getting a list of users currently included in the specified group. diff --git a/pkg/cloudbroker/audit.go b/pkg/cloudbroker/audit.go index 739b54c..9db3c41 100644 --- a/pkg/cloudbroker/audit.go +++ b/pkg/cloudbroker/audit.go @@ -1,7 +1,7 @@ package cloudbroker import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/audit" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/audit" ) // Accessing the Audit method group diff --git a/pkg/cloudbroker/audit/audit.go b/pkg/cloudbroker/audit/audit.go index 9b89774..c61b6f9 100644 --- a/pkg/cloudbroker/audit/audit.go +++ b/pkg/cloudbroker/audit/audit.go @@ -1,6 +1,6 @@ package audit -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to audit type Audit struct { diff --git a/pkg/cloudbroker/audit/get.go b/pkg/cloudbroker/audit/get.go index f6e9033..cab477e 100644 --- a/pkg/cloudbroker/audit/get.go +++ b/pkg/cloudbroker/audit/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about account diff --git a/pkg/cloudbroker/audit/linked_jobs.go b/pkg/cloudbroker/audit/linked_jobs.go index 1e2deb0..a00003f 100644 --- a/pkg/cloudbroker/audit/linked_jobs.go +++ b/pkg/cloudbroker/audit/linked_jobs.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // LinkedJobsRequest struct to get information about jobs linked with Audit diff --git a/pkg/cloudbroker/audit/list.go b/pkg/cloudbroker/audit/list.go index 8433322..96c8230 100644 --- a/pkg/cloudbroker/audit/list.go +++ b/pkg/cloudbroker/audit/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to give list of account audits diff --git a/pkg/cloudbroker/backup.go b/pkg/cloudbroker/backup.go index f240b95..a4f0b5b 100644 --- a/pkg/cloudbroker/backup.go +++ b/pkg/cloudbroker/backup.go @@ -1,6 +1,6 @@ package cloudbroker -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/backup" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/backup" // Accessing the Backup method group func (cb *CloudBroker) Backup() *backup.Backup { diff --git a/pkg/cloudbroker/backup/backup.go b/pkg/cloudbroker/backup/backup.go index 8fe6f7a..35ff550 100644 --- a/pkg/cloudbroker/backup/backup.go +++ b/pkg/cloudbroker/backup/backup.go @@ -1,7 +1,7 @@ package backup import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to backup diff --git a/pkg/cloudbroker/backup/create_disk_backup.go b/pkg/cloudbroker/backup/create_disk_backup.go index 8694e30..16dc4dc 100644 --- a/pkg/cloudbroker/backup/create_disk_backup.go +++ b/pkg/cloudbroker/backup/create_disk_backup.go @@ -6,7 +6,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateDiskBackupRequest struct for creating disk backup diff --git a/pkg/cloudbroker/backup/create_disks_backup.go b/pkg/cloudbroker/backup/create_disks_backup.go index b8adbad..7ae3e3e 100644 --- a/pkg/cloudbroker/backup/create_disks_backup.go +++ b/pkg/cloudbroker/backup/create_disks_backup.go @@ -6,7 +6,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type Disk struct { diff --git a/pkg/cloudbroker/backup/delete_disk_backup.go b/pkg/cloudbroker/backup/delete_disk_backup.go index 9f8bc4b..6fd9577 100644 --- a/pkg/cloudbroker/backup/delete_disk_backup.go +++ b/pkg/cloudbroker/backup/delete_disk_backup.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteDiskBackupRequest struct for deleting disk backup diff --git a/pkg/cloudbroker/backup/list_backup_paths.go b/pkg/cloudbroker/backup/list_backup_paths.go index b5cdbae..c74c8d6 100644 --- a/pkg/cloudbroker/backup/list_backup_paths.go +++ b/pkg/cloudbroker/backup/list_backup_paths.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListBackupPathsRequest struct for getting list of backup paths diff --git a/pkg/cloudbroker/backup/restore_disk_from_backup.go b/pkg/cloudbroker/backup/restore_disk_from_backup.go index c07eace..27b6730 100644 --- a/pkg/cloudbroker/backup/restore_disk_from_backup.go +++ b/pkg/cloudbroker/backup/restore_disk_from_backup.go @@ -6,7 +6,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreDiskFromBackupRequest struct for restoring disk from backup diff --git a/pkg/cloudbroker/backup/restore_disks_from_backup.go b/pkg/cloudbroker/backup/restore_disks_from_backup.go index bba4984..f8e5836 100644 --- a/pkg/cloudbroker/backup/restore_disks_from_backup.go +++ b/pkg/cloudbroker/backup/restore_disks_from_backup.go @@ -6,7 +6,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type BackupFile struct { diff --git a/pkg/cloudbroker/bservice.go b/pkg/cloudbroker/bservice.go index d979a45..d99c250 100644 --- a/pkg/cloudbroker/bservice.go +++ b/pkg/cloudbroker/bservice.go @@ -1,6 +1,6 @@ package cloudbroker -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/bservice" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/bservice" // Accessing the BService method group func (ca *CloudBroker) BService() *bservice.BService { diff --git a/pkg/cloudbroker/bservice/bservice.go b/pkg/cloudbroker/bservice/bservice.go index 9cd6a55..47daf3a 100644 --- a/pkg/cloudbroker/bservice/bservice.go +++ b/pkg/cloudbroker/bservice/bservice.go @@ -1,6 +1,6 @@ package bservice -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to bservice type BService struct { diff --git a/pkg/cloudbroker/bservice/create.go b/pkg/cloudbroker/bservice/create.go index 6303e13..5192b2b 100644 --- a/pkg/cloudbroker/bservice/create.go +++ b/pkg/cloudbroker/bservice/create.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct for BasicService diff --git a/pkg/cloudbroker/bservice/delete.go b/pkg/cloudbroker/bservice/delete.go index a58e64d..bc0fb80 100644 --- a/pkg/cloudbroker/bservice/delete.go +++ b/pkg/cloudbroker/bservice/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete basic service diff --git a/pkg/cloudbroker/bservice/disable.go b/pkg/cloudbroker/bservice/disable.go index 7e22534..90fb352 100644 --- a/pkg/cloudbroker/bservice/disable.go +++ b/pkg/cloudbroker/bservice/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableRequest struct for disable service diff --git a/pkg/cloudbroker/bservice/enable.go b/pkg/cloudbroker/bservice/enable.go index 852a64e..b595ba0 100644 --- a/pkg/cloudbroker/bservice/enable.go +++ b/pkg/cloudbroker/bservice/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to disable service diff --git a/pkg/cloudbroker/bservice/get.go b/pkg/cloudbroker/bservice/get.go index a325e9e..c8afe7d 100644 --- a/pkg/cloudbroker/bservice/get.go +++ b/pkg/cloudbroker/bservice/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get detailed information about service diff --git a/pkg/cloudbroker/bservice/group_add.go b/pkg/cloudbroker/bservice/group_add.go index a6dcc27..614700c 100644 --- a/pkg/cloudbroker/bservice/group_add.go +++ b/pkg/cloudbroker/bservice/group_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupAddRequest struct to create new compute group within BasicService diff --git a/pkg/cloudbroker/bservice/group_compute_remove.go b/pkg/cloudbroker/bservice/group_compute_remove.go index 8f58ca5..9e0be6e 100644 --- a/pkg/cloudbroker/bservice/group_compute_remove.go +++ b/pkg/cloudbroker/bservice/group_compute_remove.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupComputeRemoveRequest struct to remove group compute diff --git a/pkg/cloudbroker/bservice/group_get.go b/pkg/cloudbroker/bservice/group_get.go index 8783844..9b3e14d 100644 --- a/pkg/cloudbroker/bservice/group_get.go +++ b/pkg/cloudbroker/bservice/group_get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupGetRequest struct to get detailed information about Compute Group diff --git a/pkg/cloudbroker/bservice/group_parent_remove.go b/pkg/cloudbroker/bservice/group_parent_remove.go index 53c7816..ac3f20b 100644 --- a/pkg/cloudbroker/bservice/group_parent_remove.go +++ b/pkg/cloudbroker/bservice/group_parent_remove.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupParentRemoveRequest struct to remove parent Compute Group diff --git a/pkg/cloudbroker/bservice/group_parrent_add.go b/pkg/cloudbroker/bservice/group_parrent_add.go index 60ad0b6..0af11dd 100644 --- a/pkg/cloudbroker/bservice/group_parrent_add.go +++ b/pkg/cloudbroker/bservice/group_parrent_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupParentAddRequest struct to add parent Compute Group relation to the specified Compute Group diff --git a/pkg/cloudbroker/bservice/group_remove.go b/pkg/cloudbroker/bservice/group_remove.go index 9a02f3a..7dfa2ef 100644 --- a/pkg/cloudbroker/bservice/group_remove.go +++ b/pkg/cloudbroker/bservice/group_remove.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupRemoveRequest struct for destroy the specified Compute Group diff --git a/pkg/cloudbroker/bservice/group_resize.go b/pkg/cloudbroker/bservice/group_resize.go index b1e6937..7a9db8f 100644 --- a/pkg/cloudbroker/bservice/group_resize.go +++ b/pkg/cloudbroker/bservice/group_resize.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupResizeRequest struct to resize the group diff --git a/pkg/cloudbroker/bservice/group_start.go b/pkg/cloudbroker/bservice/group_start.go index 3466415..02e3e17 100644 --- a/pkg/cloudbroker/bservice/group_start.go +++ b/pkg/cloudbroker/bservice/group_start.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupStartRequest struct to start the specified Compute Group diff --git a/pkg/cloudbroker/bservice/group_stop.go b/pkg/cloudbroker/bservice/group_stop.go index 2b2a06b..9b53c30 100644 --- a/pkg/cloudbroker/bservice/group_stop.go +++ b/pkg/cloudbroker/bservice/group_stop.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupStopRequest struct to stop the specified Compute Group diff --git a/pkg/cloudbroker/bservice/group_update.go b/pkg/cloudbroker/bservice/group_update.go index 8068f99..b65afef 100644 --- a/pkg/cloudbroker/bservice/group_update.go +++ b/pkg/cloudbroker/bservice/group_update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupUpdateRequest struct to update existing Compute group diff --git a/pkg/cloudbroker/bservice/group_update_extnet.go b/pkg/cloudbroker/bservice/group_update_extnet.go index e0a8862..efca21b 100644 --- a/pkg/cloudbroker/bservice/group_update_extnet.go +++ b/pkg/cloudbroker/bservice/group_update_extnet.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupUpdateExtNetRequest struct to update External Network settings diff --git a/pkg/cloudbroker/bservice/group_update_vins.go b/pkg/cloudbroker/bservice/group_update_vins.go index e84c9eb..54c53a3 100644 --- a/pkg/cloudbroker/bservice/group_update_vins.go +++ b/pkg/cloudbroker/bservice/group_update_vins.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GroupUpdateVINSRequest struct to update VINS settings diff --git a/pkg/cloudbroker/bservice/list.go b/pkg/cloudbroker/bservice/list.go index 53bbeae..d2eb227 100644 --- a/pkg/cloudbroker/bservice/list.go +++ b/pkg/cloudbroker/bservice/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of BasicService instances diff --git a/pkg/cloudbroker/bservice/list_deleted.go b/pkg/cloudbroker/bservice/list_deleted.go index 6a0c76f..f338ecb 100644 --- a/pkg/cloudbroker/bservice/list_deleted.go +++ b/pkg/cloudbroker/bservice/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get list of deleted BasicService instances diff --git a/pkg/cloudbroker/bservice/migrate_to_zone.go b/pkg/cloudbroker/bservice/migrate_to_zone.go index de63610..89a720e 100644 --- a/pkg/cloudbroker/bservice/migrate_to_zone.go +++ b/pkg/cloudbroker/bservice/migrate_to_zone.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateToZone struct to move basic service to another zone diff --git a/pkg/cloudbroker/bservice/restore.go b/pkg/cloudbroker/bservice/restore.go index d2c0c1d..c73b522 100644 --- a/pkg/cloudbroker/bservice/restore.go +++ b/pkg/cloudbroker/bservice/restore.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreRequest struct to restore BasicService instance diff --git a/pkg/cloudbroker/bservice/snapshot_create.go b/pkg/cloudbroker/bservice/snapshot_create.go index 4f75254..7504a2c 100644 --- a/pkg/cloudbroker/bservice/snapshot_create.go +++ b/pkg/cloudbroker/bservice/snapshot_create.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotCreateRequest struct to create snapshot diff --git a/pkg/cloudbroker/bservice/snapshot_delete.go b/pkg/cloudbroker/bservice/snapshot_delete.go index 9dd92eb..286d45d 100644 --- a/pkg/cloudbroker/bservice/snapshot_delete.go +++ b/pkg/cloudbroker/bservice/snapshot_delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotDeleteRequest struct to delete snapshot diff --git a/pkg/cloudbroker/bservice/snapshot_list.go b/pkg/cloudbroker/bservice/snapshot_list.go index 7ad1209..3901d2d 100644 --- a/pkg/cloudbroker/bservice/snapshot_list.go +++ b/pkg/cloudbroker/bservice/snapshot_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotListRequest struct to get list of existing snapshots diff --git a/pkg/cloudbroker/bservice/snapshot_rollback.go b/pkg/cloudbroker/bservice/snapshot_rollback.go index 93fb0d8..828366c 100644 --- a/pkg/cloudbroker/bservice/snapshot_rollback.go +++ b/pkg/cloudbroker/bservice/snapshot_rollback.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotRollbackRequest struct to rollback snapshot diff --git a/pkg/cloudbroker/bservice/start.go b/pkg/cloudbroker/bservice/start.go index ce741a8..2f7756b 100644 --- a/pkg/cloudbroker/bservice/start.go +++ b/pkg/cloudbroker/bservice/start.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StartRequest struct to start service diff --git a/pkg/cloudbroker/bservice/stop.go b/pkg/cloudbroker/bservice/stop.go index f52fe43..ccac36a 100644 --- a/pkg/cloudbroker/bservice/stop.go +++ b/pkg/cloudbroker/bservice/stop.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StopRequest struct to stop service diff --git a/pkg/cloudbroker/cloudbroker.go b/pkg/cloudbroker/cloudbroker.go index e71a527..0e3e2dd 100644 --- a/pkg/cloudbroker/cloudbroker.go +++ b/pkg/cloudbroker/cloudbroker.go @@ -1,7 +1,7 @@ // List of method groups for the admin package cloudbroker -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to CloudBroker groups type CloudBroker struct { diff --git a/pkg/cloudbroker/compute.go b/pkg/cloudbroker/compute.go index 919037e..7f83f3f 100644 --- a/pkg/cloudbroker/compute.go +++ b/pkg/cloudbroker/compute.go @@ -1,7 +1,7 @@ package cloudbroker import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/compute" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/compute" ) // Accessing the Compute method group diff --git a/pkg/cloudbroker/compute/abort_shared_snapshot_merge.go b/pkg/cloudbroker/compute/abort_shared_snapshot_merge.go index 0c3feb9..71ce38f 100644 --- a/pkg/cloudbroker/compute/abort_shared_snapshot_merge.go +++ b/pkg/cloudbroker/compute/abort_shared_snapshot_merge.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AbortSharedSnapshotMergeRequest struct to abort shared snapshots merge diff --git a/pkg/cloudbroker/compute/affinity_group_check_start.go b/pkg/cloudbroker/compute/affinity_group_check_start.go index 8f24565..37d461d 100644 --- a/pkg/cloudbroker/compute/affinity_group_check_start.go +++ b/pkg/cloudbroker/compute/affinity_group_check_start.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityGroupCheckStartRequest struct to check all computes with current affinity label can start diff --git a/pkg/cloudbroker/compute/affinity_label_remove.go b/pkg/cloudbroker/compute/affinity_label_remove.go index 3439a6e..74e39b8 100644 --- a/pkg/cloudbroker/compute/affinity_label_remove.go +++ b/pkg/cloudbroker/compute/affinity_label_remove.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityLabelRemoveRequest struct for clear affinity label for compute diff --git a/pkg/cloudbroker/compute/affinity_label_set.go b/pkg/cloudbroker/compute/affinity_label_set.go index 78bd84c..bcb5930 100644 --- a/pkg/cloudbroker/compute/affinity_label_set.go +++ b/pkg/cloudbroker/compute/affinity_label_set.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityLabelSetRequest struct to set affinity label for compute diff --git a/pkg/cloudbroker/compute/affinity_relations.go b/pkg/cloudbroker/compute/affinity_relations.go index cc3dc3c..afd1dca 100644 --- a/pkg/cloudbroker/compute/affinity_relations.go +++ b/pkg/cloudbroker/compute/affinity_relations.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityRelationsRequest struct to get dict of computes diff --git a/pkg/cloudbroker/compute/affinity_rule_add.go b/pkg/cloudbroker/compute/affinity_rule_add.go index 7b3cfe1..e3a030e 100644 --- a/pkg/cloudbroker/compute/affinity_rule_add.go +++ b/pkg/cloudbroker/compute/affinity_rule_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityRuleAddRequest struct to add affinity rule diff --git a/pkg/cloudbroker/compute/affinity_rule_remove.go b/pkg/cloudbroker/compute/affinity_rule_remove.go index 6f3d935..0b9fe43 100644 --- a/pkg/cloudbroker/compute/affinity_rule_remove.go +++ b/pkg/cloudbroker/compute/affinity_rule_remove.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityRuleRemoveRequest struct to remove affinity rule diff --git a/pkg/cloudbroker/compute/affinity_rules_clear.go b/pkg/cloudbroker/compute/affinity_rules_clear.go index 02a4c38..c04dcee 100644 --- a/pkg/cloudbroker/compute/affinity_rules_clear.go +++ b/pkg/cloudbroker/compute/affinity_rules_clear.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityRulesClearRequest struct to clear affinity rules diff --git a/pkg/cloudbroker/compute/anti_affinity_rule_add.go b/pkg/cloudbroker/compute/anti_affinity_rule_add.go index aa8a19b..db9410f 100644 --- a/pkg/cloudbroker/compute/anti_affinity_rule_add.go +++ b/pkg/cloudbroker/compute/anti_affinity_rule_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AntiAffinityRuleAddRequest struct to add anti affinity rule diff --git a/pkg/cloudbroker/compute/anti_affinity_rule_clear.go b/pkg/cloudbroker/compute/anti_affinity_rule_clear.go index 8319a74..5ae73c3 100644 --- a/pkg/cloudbroker/compute/anti_affinity_rule_clear.go +++ b/pkg/cloudbroker/compute/anti_affinity_rule_clear.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AntiAffinityRulesClearRequest struct to clear anti affinity rules diff --git a/pkg/cloudbroker/compute/anti_affinity_rule_remove.go b/pkg/cloudbroker/compute/anti_affinity_rule_remove.go index 57e7031..7052938 100644 --- a/pkg/cloudbroker/compute/anti_affinity_rule_remove.go +++ b/pkg/cloudbroker/compute/anti_affinity_rule_remove.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AntiAffinityRuleRemoveRequest struct to remove anti affinity rule diff --git a/pkg/cloudbroker/compute/attach_gpu.go b/pkg/cloudbroker/compute/attach_gpu.go index 2c71efb..f0643c0 100644 --- a/pkg/cloudbroker/compute/attach_gpu.go +++ b/pkg/cloudbroker/compute/attach_gpu.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AttachGPURequest struct to attach GPU for compute diff --git a/pkg/cloudbroker/compute/attach_pci_device.go b/pkg/cloudbroker/compute/attach_pci_device.go index 8c4ef82..c5d155a 100644 --- a/pkg/cloudbroker/compute/attach_pci_device.go +++ b/pkg/cloudbroker/compute/attach_pci_device.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AttachPCIDeviceRequest struct to attach PCI device diff --git a/pkg/cloudbroker/compute/audits.go b/pkg/cloudbroker/compute/audits.go index df63b12..664696b 100644 --- a/pkg/cloudbroker/compute/audits.go +++ b/pkg/cloudbroker/compute/audits.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AuditsRequest struct to get audit records diff --git a/pkg/cloudbroker/compute/boot_disk_set.go b/pkg/cloudbroker/compute/boot_disk_set.go index d196cb2..16e558c 100644 --- a/pkg/cloudbroker/compute/boot_disk_set.go +++ b/pkg/cloudbroker/compute/boot_disk_set.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BootDiskSetRequest struct to set boot disk for compute diff --git a/pkg/cloudbroker/compute/boot_order_get.go b/pkg/cloudbroker/compute/boot_order_get.go index 7a184b6..b27b136 100644 --- a/pkg/cloudbroker/compute/boot_order_get.go +++ b/pkg/cloudbroker/compute/boot_order_get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BootOrderGetRequest struct to get boot order diff --git a/pkg/cloudbroker/compute/boot_order_set.go b/pkg/cloudbroker/compute/boot_order_set.go index c24057b..0b71e2e 100644 --- a/pkg/cloudbroker/compute/boot_order_set.go +++ b/pkg/cloudbroker/compute/boot_order_set.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BootOrderSetRequest struct to set boot order diff --git a/pkg/cloudbroker/compute/cd_eject.go b/pkg/cloudbroker/compute/cd_eject.go index 8910db8..7a51fbc 100644 --- a/pkg/cloudbroker/compute/cd_eject.go +++ b/pkg/cloudbroker/compute/cd_eject.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CDEjectRequest struct to eject CD image diff --git a/pkg/cloudbroker/compute/cd_insert.go b/pkg/cloudbroker/compute/cd_insert.go index c9de609..1047aa4 100644 --- a/pkg/cloudbroker/compute/cd_insert.go +++ b/pkg/cloudbroker/compute/cd_insert.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CDInsertRequest struct to insert new CD image diff --git a/pkg/cloudbroker/compute/change_ip.go b/pkg/cloudbroker/compute/change_ip.go index 2eff707..c8f3edd 100644 --- a/pkg/cloudbroker/compute/change_ip.go +++ b/pkg/cloudbroker/compute/change_ip.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ChangeIPRequest struct to change IP for network diff --git a/pkg/cloudbroker/compute/change_link_state.go b/pkg/cloudbroker/compute/change_link_state.go index 708f9be..8f53cdd 100644 --- a/pkg/cloudbroker/compute/change_link_state.go +++ b/pkg/cloudbroker/compute/change_link_state.go @@ -3,7 +3,7 @@ package compute import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" "strconv" ) diff --git a/pkg/cloudbroker/compute/change_mac.go b/pkg/cloudbroker/compute/change_mac.go index 3b38c4b..caddfde 100644 --- a/pkg/cloudbroker/compute/change_mac.go +++ b/pkg/cloudbroker/compute/change_mac.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ChangeMACRequest struct to change MAC for network diff --git a/pkg/cloudbroker/compute/change_mtu.go b/pkg/cloudbroker/compute/change_mtu.go index dbd44db..7191ef8 100644 --- a/pkg/cloudbroker/compute/change_mtu.go +++ b/pkg/cloudbroker/compute/change_mtu.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ChangeMTURequest struct to change MTU for a compute diff --git a/pkg/cloudbroker/compute/change_read_only.go b/pkg/cloudbroker/compute/change_read_only.go index 89d78d8..2333e58 100644 --- a/pkg/cloudbroker/compute/change_read_only.go +++ b/pkg/cloudbroker/compute/change_read_only.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ChangeReadOnlyRequest defines parameters for toggling read-only mode. diff --git a/pkg/cloudbroker/compute/change_secutity_group.go b/pkg/cloudbroker/compute/change_secutity_group.go index 6afd24a..b4b073a 100644 --- a/pkg/cloudbroker/compute/change_secutity_group.go +++ b/pkg/cloudbroker/compute/change_secutity_group.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ChangeSecGroupsRequest struct to change security groups for compute diff --git a/pkg/cloudbroker/compute/check_compute_placement.go b/pkg/cloudbroker/compute/check_compute_placement.go new file mode 100644 index 0000000..8fe4bc6 --- /dev/null +++ b/pkg/cloudbroker/compute/check_compute_placement.go @@ -0,0 +1,47 @@ +package compute + +import ( + "context" + "encoding/json" + "net/http" + + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" +) + +// CheckComputePlacementRequest struct for check compute placement +type CheckComputePlacementRequest struct { + // IDs of compute instances to check + // Required: true + ComputeIDs []uint64 `url:"compute_ids" json:"compute_ids" validate:"required"` + + // Filter by CPU and RAM when checking placement + // Required: false + // Default: true + FilterByCPURAM interface{} `url:"filter_by_cpu_ram,omitempty" json:"filter_by_cpu_ram,omitempty" validate:"omitempty,isBool"` +} + +// CheckComputePlacement checks compute placement and returns structured result +func (c Compute) CheckComputePlacement(ctx context.Context, req CheckComputePlacementRequest) (CheckComputePlacementResult, error) { + err := validators.ValidateRequest(req) + if err != nil { + return nil, validators.ValidationErrors(validators.GetErrors(err)) + } + + url := "/cloudbroker/compute/check_compute_placement" + + if req.FilterByCPURAM == nil { + req.FilterByCPURAM = true + } + + res, err := c.client.DecortApiCall(ctx, http.MethodPost, url, req) + if err != nil { + return nil, err + } + + result := make(CheckComputePlacementResult) + if err := json.Unmarshal(res, &result); err != nil { + return nil, err + } + + return result, nil +} diff --git a/pkg/cloudbroker/compute/clone.go b/pkg/cloudbroker/compute/clone.go index 60af18d..1efba1e 100644 --- a/pkg/cloudbroker/compute/clone.go +++ b/pkg/cloudbroker/compute/clone.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CloneRequest struct to clone compute instance diff --git a/pkg/cloudbroker/compute/clone_abort.go b/pkg/cloudbroker/compute/clone_abort.go index 902019f..491ba6d 100644 --- a/pkg/cloudbroker/compute/clone_abort.go +++ b/pkg/cloudbroker/compute/clone_abort.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CloneAbortRequest struct to abort a compute clone diff --git a/pkg/cloudbroker/compute/clone_status.go b/pkg/cloudbroker/compute/clone_status.go index 4ea9786..8732ea1 100644 --- a/pkg/cloudbroker/compute/clone_status.go +++ b/pkg/cloudbroker/compute/clone_status.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetCloneStatusRequest struct to get information about compute clone status diff --git a/pkg/cloudbroker/compute/compute.go b/pkg/cloudbroker/compute/compute.go index 80fdada..9b1ff8b 100644 --- a/pkg/cloudbroker/compute/compute.go +++ b/pkg/cloudbroker/compute/compute.go @@ -1,7 +1,7 @@ // API Actor for managing Compute. This actor is a final API for admin to manage Compute package compute -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to compute type Compute struct { diff --git a/pkg/cloudbroker/compute/computeci_set.go b/pkg/cloudbroker/compute/computeci_set.go index dec9273..87480bf 100644 --- a/pkg/cloudbroker/compute/computeci_set.go +++ b/pkg/cloudbroker/compute/computeci_set.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ComputeCISetRequest struct to set compute CI diff --git a/pkg/cloudbroker/compute/computeci_unset.go b/pkg/cloudbroker/compute/computeci_unset.go index 2594456..20d536d 100644 --- a/pkg/cloudbroker/compute/computeci_unset.go +++ b/pkg/cloudbroker/compute/computeci_unset.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ComputeCIUnsetRequest struct to unset compute CI diff --git a/pkg/cloudbroker/compute/create_template.go b/pkg/cloudbroker/compute/create_template.go index 655fe86..2cbfe69 100644 --- a/pkg/cloudbroker/compute/create_template.go +++ b/pkg/cloudbroker/compute/create_template.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateTemplateRequest struct to create template diff --git a/pkg/cloudbroker/compute/create_template_from_blank.go b/pkg/cloudbroker/compute/create_template_from_blank.go index 30f533d..58e369d 100644 --- a/pkg/cloudbroker/compute/create_template_from_blank.go +++ b/pkg/cloudbroker/compute/create_template_from_blank.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateTemplateFromBlankRequest struct to create template from boot disk of current compute diff --git a/pkg/cloudbroker/compute/delete.go b/pkg/cloudbroker/compute/delete.go index 0d62cbf..d2ce060 100644 --- a/pkg/cloudbroker/compute/delete.go +++ b/pkg/cloudbroker/compute/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete compute diff --git a/pkg/cloudbroker/compute/delete_custom_fields.go b/pkg/cloudbroker/compute/delete_custom_fields.go index 3da5987..c3c6740 100644 --- a/pkg/cloudbroker/compute/delete_custom_fields.go +++ b/pkg/cloudbroker/compute/delete_custom_fields.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteCustomFieldsRequest struct to delete compute's custom fields diff --git a/pkg/cloudbroker/compute/detach_gpu.go b/pkg/cloudbroker/compute/detach_gpu.go index faf78e0..cfda39f 100644 --- a/pkg/cloudbroker/compute/detach_gpu.go +++ b/pkg/cloudbroker/compute/detach_gpu.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DetachGPURequest struct to detach VGPU for compute diff --git a/pkg/cloudbroker/compute/detach_pci_device.go b/pkg/cloudbroker/compute/detach_pci_device.go index 797dc85..cf612e9 100644 --- a/pkg/cloudbroker/compute/detach_pci_device.go +++ b/pkg/cloudbroker/compute/detach_pci_device.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DetachPCIDeviceRequest struct to detach PCI device diff --git a/pkg/cloudbroker/compute/disable.go b/pkg/cloudbroker/compute/disable.go index 68a9ab2..98c093d 100644 --- a/pkg/cloudbroker/compute/disable.go +++ b/pkg/cloudbroker/compute/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableRequest struct to disable compute diff --git a/pkg/cloudbroker/compute/disk_add.go b/pkg/cloudbroker/compute/disk_add.go index c75d365..1f521cf 100644 --- a/pkg/cloudbroker/compute/disk_add.go +++ b/pkg/cloudbroker/compute/disk_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DiskAddRequest struct to create and attach disk to compute diff --git a/pkg/cloudbroker/compute/disk_attach.go b/pkg/cloudbroker/compute/disk_attach.go index 6db28e1..b0f95a8 100644 --- a/pkg/cloudbroker/compute/disk_attach.go +++ b/pkg/cloudbroker/compute/disk_attach.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DiskAttachRequest struct to attach disk to compute diff --git a/pkg/cloudbroker/compute/disk_del.go b/pkg/cloudbroker/compute/disk_del.go index d5c5122..ddce380 100644 --- a/pkg/cloudbroker/compute/disk_del.go +++ b/pkg/cloudbroker/compute/disk_del.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DiskDelRequest struct to detach and delete disk from compute diff --git a/pkg/cloudbroker/compute/disk_detach.go b/pkg/cloudbroker/compute/disk_detach.go index 0c4ef84..de45e65 100644 --- a/pkg/cloudbroker/compute/disk_detach.go +++ b/pkg/cloudbroker/compute/disk_detach.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DiskDetachRequest struct to detach disk from compute diff --git a/pkg/cloudbroker/compute/disk_migrate.go b/pkg/cloudbroker/compute/disk_migrate.go index dde8d9b..69da4da 100644 --- a/pkg/cloudbroker/compute/disk_migrate.go +++ b/pkg/cloudbroker/compute/disk_migrate.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DiskMigrateRequest struct to migrate compute's disk to target disk diff --git a/pkg/cloudbroker/compute/disk_qos.go b/pkg/cloudbroker/compute/disk_qos.go index c5a577c..d6961a4 100644 --- a/pkg/cloudbroker/compute/disk_qos.go +++ b/pkg/cloudbroker/compute/disk_qos.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DiskQOSRequest struct to change QOS of the disk diff --git a/pkg/cloudbroker/compute/disk_resize.go b/pkg/cloudbroker/compute/disk_resize.go index c746c83..13cab71 100644 --- a/pkg/cloudbroker/compute/disk_resize.go +++ b/pkg/cloudbroker/compute/disk_resize.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DiskResizeRequest struct to change disk size diff --git a/pkg/cloudbroker/compute/disk_switch_to_replication.go b/pkg/cloudbroker/compute/disk_switch_to_replication.go index 2eb33f8..f58964b 100644 --- a/pkg/cloudbroker/compute/disk_switch_to_replication.go +++ b/pkg/cloudbroker/compute/disk_switch_to_replication.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DiskSwitchToReplicationRequest struct to switch disk to it's replication diff --git a/pkg/cloudbroker/compute/enable.go b/pkg/cloudbroker/compute/enable.go index 18b734e..f9db5c8 100644 --- a/pkg/cloudbroker/compute/enable.go +++ b/pkg/cloudbroker/compute/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to enable compute diff --git a/pkg/cloudbroker/compute/filter.go b/pkg/cloudbroker/compute/filter.go index ff93f47..f08a48f 100644 --- a/pkg/cloudbroker/compute/filter.go +++ b/pkg/cloudbroker/compute/filter.go @@ -3,9 +3,9 @@ package compute import ( "context" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/k8s" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/lb" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/k8s" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/lb" ) // FilterByID returns ListComputes with specified ID. diff --git a/pkg/cloudbroker/compute/get.go b/pkg/cloudbroker/compute/get.go index ffb2670..68a1591 100644 --- a/pkg/cloudbroker/compute/get.go +++ b/pkg/cloudbroker/compute/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest to get information about compute diff --git a/pkg/cloudbroker/compute/get_audits.go b/pkg/cloudbroker/compute/get_audits.go index 996d6d8..6da8f11 100644 --- a/pkg/cloudbroker/compute/get_audits.go +++ b/pkg/cloudbroker/compute/get_audits.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetAuditsRequest struct to get compute audits diff --git a/pkg/cloudbroker/compute/get_console_url.go b/pkg/cloudbroker/compute/get_console_url.go index a9d6e2c..e39b519 100644 --- a/pkg/cloudbroker/compute/get_console_url.go +++ b/pkg/cloudbroker/compute/get_console_url.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetConsoleURLRequest struct to get console URL diff --git a/pkg/cloudbroker/compute/get_custom_fields.go b/pkg/cloudbroker/compute/get_custom_fields.go index b89cb45..0570f68 100644 --- a/pkg/cloudbroker/compute/get_custom_fields.go +++ b/pkg/cloudbroker/compute/get_custom_fields.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetCustomFieldsRequest struct to get Compute's customFields diff --git a/pkg/cloudbroker/compute/get_log.go b/pkg/cloudbroker/compute/get_log.go index e77fab5..dd72b2f 100644 --- a/pkg/cloudbroker/compute/get_log.go +++ b/pkg/cloudbroker/compute/get_log.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetLogRequest struct to get compute logs diff --git a/pkg/cloudbroker/compute/guest_agent_disable.go b/pkg/cloudbroker/compute/guest_agent_disable.go index 49e7f51..84acfd9 100644 --- a/pkg/cloudbroker/compute/guest_agent_disable.go +++ b/pkg/cloudbroker/compute/guest_agent_disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GuestAgentDisableRequest struct to disable guest agent diff --git a/pkg/cloudbroker/compute/guest_agent_enable.go b/pkg/cloudbroker/compute/guest_agent_enable.go index 8da3522..8b49d3f 100644 --- a/pkg/cloudbroker/compute/guest_agent_enable.go +++ b/pkg/cloudbroker/compute/guest_agent_enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GuestAgentEnableRequest struct to enable guest agent diff --git a/pkg/cloudbroker/compute/guest_agent_execute.go b/pkg/cloudbroker/compute/guest_agent_execute.go index 8f1689a..8273dcc 100644 --- a/pkg/cloudbroker/compute/guest_agent_execute.go +++ b/pkg/cloudbroker/compute/guest_agent_execute.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GuestAgentExecuteRequest struct to execute command from user to agent diff --git a/pkg/cloudbroker/compute/guest_agent_feature_get.go b/pkg/cloudbroker/compute/guest_agent_feature_get.go index fdf0d3a..3f97dd5 100644 --- a/pkg/cloudbroker/compute/guest_agent_feature_get.go +++ b/pkg/cloudbroker/compute/guest_agent_feature_get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GuestAgentFeatureGetRequest struct to feature get guest agent diff --git a/pkg/cloudbroker/compute/guest_agent_feature_update.go b/pkg/cloudbroker/compute/guest_agent_feature_update.go index 38036f0..52579dd 100644 --- a/pkg/cloudbroker/compute/guest_agent_feature_update.go +++ b/pkg/cloudbroker/compute/guest_agent_feature_update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GuestAgentFeatureUpdateRequest struct to feature update guest agent diff --git a/pkg/cloudbroker/compute/list.go b/pkg/cloudbroker/compute/list.go index 2b72f14..714a1c3 100644 --- a/pkg/cloudbroker/compute/list.go +++ b/pkg/cloudbroker/compute/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of available computes diff --git a/pkg/cloudbroker/compute/list_deleted.go b/pkg/cloudbroker/compute/list_deleted.go index 0b1548e..d85a96d 100644 --- a/pkg/cloudbroker/compute/list_deleted.go +++ b/pkg/cloudbroker/compute/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get deleted computes list diff --git a/pkg/cloudbroker/compute/list_pci_device.go b/pkg/cloudbroker/compute/list_pci_device.go index e4e38b5..977e8e0 100644 --- a/pkg/cloudbroker/compute/list_pci_device.go +++ b/pkg/cloudbroker/compute/list_pci_device.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListPCIDeviceRequest struct to get list of PCI devices diff --git a/pkg/cloudbroker/compute/list_vgpu.go b/pkg/cloudbroker/compute/list_vgpu.go index ea5c1b3..378ae81 100644 --- a/pkg/cloudbroker/compute/list_vgpu.go +++ b/pkg/cloudbroker/compute/list_vgpu.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListVGPURequest struct to get list of GPU for compute diff --git a/pkg/cloudbroker/compute/mass_delete.go b/pkg/cloudbroker/compute/mass_delete.go index cb8e1b4..0e2a6aa 100644 --- a/pkg/cloudbroker/compute/mass_delete.go +++ b/pkg/cloudbroker/compute/mass_delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MassDeleteRequest struct to delete several computes diff --git a/pkg/cloudbroker/compute/mass_reboot.go b/pkg/cloudbroker/compute/mass_reboot.go index 0be4120..f5df3aa 100644 --- a/pkg/cloudbroker/compute/mass_reboot.go +++ b/pkg/cloudbroker/compute/mass_reboot.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MassRebootRequest struct to reboot several computes diff --git a/pkg/cloudbroker/compute/mass_start.go b/pkg/cloudbroker/compute/mass_start.go index d896209..7aa1b24 100644 --- a/pkg/cloudbroker/compute/mass_start.go +++ b/pkg/cloudbroker/compute/mass_start.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MassStartRequest struct to start several computes diff --git a/pkg/cloudbroker/compute/mass_stop.go b/pkg/cloudbroker/compute/mass_stop.go index 484f11e..dfd7aa8 100644 --- a/pkg/cloudbroker/compute/mass_stop.go +++ b/pkg/cloudbroker/compute/mass_stop.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MassStopRequest struct to stop several computes diff --git a/pkg/cloudbroker/compute/migrate.go b/pkg/cloudbroker/compute/migrate.go index 632db33..a941c7c 100644 --- a/pkg/cloudbroker/compute/migrate.go +++ b/pkg/cloudbroker/compute/migrate.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateRequest struct to migrate compute diff --git a/pkg/cloudbroker/compute/migrate_abort.go b/pkg/cloudbroker/compute/migrate_abort.go index ac8f16b..e5e4810 100644 --- a/pkg/cloudbroker/compute/migrate_abort.go +++ b/pkg/cloudbroker/compute/migrate_abort.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateAbortRequest struct to abort migration diff --git a/pkg/cloudbroker/compute/migrate_storage.go b/pkg/cloudbroker/compute/migrate_storage.go index 5fb0024..e0536df 100644 --- a/pkg/cloudbroker/compute/migrate_storage.go +++ b/pkg/cloudbroker/compute/migrate_storage.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateStorageRequest struct for migration diff --git a/pkg/cloudbroker/compute/migrate_storage_abort.go b/pkg/cloudbroker/compute/migrate_storage_abort.go index 570b84b..5dd381e 100644 --- a/pkg/cloudbroker/compute/migrate_storage_abort.go +++ b/pkg/cloudbroker/compute/migrate_storage_abort.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateStorageAbortRequest struct to abort migration diff --git a/pkg/cloudbroker/compute/migrate_storage_clean_up.go b/pkg/cloudbroker/compute/migrate_storage_clean_up.go index 999c55c..a04db51 100644 --- a/pkg/cloudbroker/compute/migrate_storage_clean_up.go +++ b/pkg/cloudbroker/compute/migrate_storage_clean_up.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateStorageCleanUpRequest struct to cleanup resources after finished migration diff --git a/pkg/cloudbroker/compute/migrate_storage_info.go b/pkg/cloudbroker/compute/migrate_storage_info.go index 25e10e5..e8610c8 100644 --- a/pkg/cloudbroker/compute/migrate_storage_info.go +++ b/pkg/cloudbroker/compute/migrate_storage_info.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateStorageInfoRequest struct to get info about migration diff --git a/pkg/cloudbroker/compute/migrate_storage_list.go b/pkg/cloudbroker/compute/migrate_storage_list.go index 80add73..976f8eb 100644 --- a/pkg/cloudbroker/compute/migrate_storage_list.go +++ b/pkg/cloudbroker/compute/migrate_storage_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateStorageListRequest struct to get list of jobs diff --git a/pkg/cloudbroker/compute/migrate_to_zone.go b/pkg/cloudbroker/compute/migrate_to_zone.go index 7ef306d..79bcf41 100644 --- a/pkg/cloudbroker/compute/migrate_to_zone.go +++ b/pkg/cloudbroker/compute/migrate_to_zone.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateToZone struct to move compute to another zone diff --git a/pkg/cloudbroker/compute/models.go b/pkg/cloudbroker/compute/models.go index f79c37b..030a824 100644 --- a/pkg/cloudbroker/compute/models.go +++ b/pkg/cloudbroker/compute/models.go @@ -394,6 +394,9 @@ type ItemDisk struct { // BLK Discard BLKDiscard bool `json:"blkdiscard"` + // Block Size + BlockSize string `json:"block_size"` + // Boot partition BootPartition uint64 `json:"bootPartition"` @@ -1493,3 +1496,20 @@ type CloneStatus struct { // Progress percent ProgressPercent int `json:"progress_percent"` } + +type CheckComputePlacementError struct { + // Code + Code int64 `json:"code"` + + // Message + Message string `json:"message"` +} + +type CheckComputePlacementItem struct { + // Nide IDs + NodeIDs []uint64 `json:"node_ids"` + // error + Error CheckComputePlacementError `json:"error,omitempty"` +} + +type CheckComputePlacementResult map[string]CheckComputePlacementItem diff --git a/pkg/cloudbroker/compute/move_to_rg.go b/pkg/cloudbroker/compute/move_to_rg.go index 09e9c04..2397784 100644 --- a/pkg/cloudbroker/compute/move_to_rg.go +++ b/pkg/cloudbroker/compute/move_to_rg.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MoveToRGRequest struct to move compute to new resource group diff --git a/pkg/cloudbroker/compute/net_attach.go b/pkg/cloudbroker/compute/net_attach.go index cab2f4f..79a3b13 100644 --- a/pkg/cloudbroker/compute/net_attach.go +++ b/pkg/cloudbroker/compute/net_attach.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // NetAttachRequest struct to attach network diff --git a/pkg/cloudbroker/compute/net_detach.go b/pkg/cloudbroker/compute/net_detach.go index 2951135..d3938f8 100644 --- a/pkg/cloudbroker/compute/net_detach.go +++ b/pkg/cloudbroker/compute/net_detach.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // NetDetachRequest struct to detach network from compute diff --git a/pkg/cloudbroker/compute/net_qos.go b/pkg/cloudbroker/compute/net_qos.go index 7a23aba..883c805 100644 --- a/pkg/cloudbroker/compute/net_qos.go +++ b/pkg/cloudbroker/compute/net_qos.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // NetQOSRequest struct for update QOS diff --git a/pkg/cloudbroker/compute/pause.go b/pkg/cloudbroker/compute/pause.go index 68a618f..390176f 100644 --- a/pkg/cloudbroker/compute/pause.go +++ b/pkg/cloudbroker/compute/pause.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // PauseRequest struct to pause compute diff --git a/pkg/cloudbroker/compute/pfw_add.go b/pkg/cloudbroker/compute/pfw_add.go index d4a880d..4a2fd50 100644 --- a/pkg/cloudbroker/compute/pfw_add.go +++ b/pkg/cloudbroker/compute/pfw_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // PFWAddRequest struct to add port forward rule diff --git a/pkg/cloudbroker/compute/pfw_del.go b/pkg/cloudbroker/compute/pfw_del.go index 082bc99..d61a553 100644 --- a/pkg/cloudbroker/compute/pfw_del.go +++ b/pkg/cloudbroker/compute/pfw_del.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // PFWDelRequest struct to delete port forward rule diff --git a/pkg/cloudbroker/compute/pfw_list.go b/pkg/cloudbroker/compute/pfw_list.go index 3fc8d67..0ca6c0e 100644 --- a/pkg/cloudbroker/compute/pfw_list.go +++ b/pkg/cloudbroker/compute/pfw_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // PFWListRequest struct to get list of port forwards diff --git a/pkg/cloudbroker/compute/pin_to_node.go b/pkg/cloudbroker/compute/pin_to_node.go index 0dc37d5..c030141 100644 --- a/pkg/cloudbroker/compute/pin_to_node.go +++ b/pkg/cloudbroker/compute/pin_to_node.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // PinToNodeRequest struct to pin compute to node diff --git a/pkg/cloudbroker/compute/power_cycle.go b/pkg/cloudbroker/compute/power_cycle.go index 8c807ff..f7fb271 100644 --- a/pkg/cloudbroker/compute/power_cycle.go +++ b/pkg/cloudbroker/compute/power_cycle.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // PowerCycleRequest struct to force stop and start compute diff --git a/pkg/cloudbroker/compute/reboot.go b/pkg/cloudbroker/compute/reboot.go index ea3ab21..bc6f897 100644 --- a/pkg/cloudbroker/compute/reboot.go +++ b/pkg/cloudbroker/compute/reboot.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RebootRequest struct to reboot compute diff --git a/pkg/cloudbroker/compute/redeploy.go b/pkg/cloudbroker/compute/redeploy.go index c56b717..64172bd 100644 --- a/pkg/cloudbroker/compute/redeploy.go +++ b/pkg/cloudbroker/compute/redeploy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RedeployRequest struct for redeploy diff --git a/pkg/cloudbroker/compute/reset.go b/pkg/cloudbroker/compute/reset.go index a29b72c..220df78 100644 --- a/pkg/cloudbroker/compute/reset.go +++ b/pkg/cloudbroker/compute/reset.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ResetRequest struct to reset compute diff --git a/pkg/cloudbroker/compute/resize.go b/pkg/cloudbroker/compute/resize.go index 5b3677f..2fd14d9 100644 --- a/pkg/cloudbroker/compute/resize.go +++ b/pkg/cloudbroker/compute/resize.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ResizeRequest struct to resize compute diff --git a/pkg/cloudbroker/compute/restore.go b/pkg/cloudbroker/compute/restore.go index 2aa4b9c..51a7a2c 100644 --- a/pkg/cloudbroker/compute/restore.go +++ b/pkg/cloudbroker/compute/restore.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreRequest struct to restore compute diff --git a/pkg/cloudbroker/compute/resume.go b/pkg/cloudbroker/compute/resume.go index 7b8a84a..34bfe4e 100644 --- a/pkg/cloudbroker/compute/resume.go +++ b/pkg/cloudbroker/compute/resume.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ResumeRequest struct to resume compute diff --git a/pkg/cloudbroker/compute/serialize.go b/pkg/cloudbroker/compute/serialize.go index a6be817..cb92d09 100644 --- a/pkg/cloudbroker/compute/serialize.go +++ b/pkg/cloudbroker/compute/serialize.go @@ -3,7 +3,7 @@ package compute import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/compute/set_custom_fields.go b/pkg/cloudbroker/compute/set_custom_fields.go index c90430c..67c4d0d 100644 --- a/pkg/cloudbroker/compute/set_custom_fields.go +++ b/pkg/cloudbroker/compute/set_custom_fields.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetCustomFieldsRequest struct for setting customFields values for the Compute diff --git a/pkg/cloudbroker/compute/set_net_config.go b/pkg/cloudbroker/compute/set_net_config.go index c8842f4..4f44937 100644 --- a/pkg/cloudbroker/compute/set_net_config.go +++ b/pkg/cloudbroker/compute/set_net_config.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetNetConfigRequest struct to Configure libvirt virtio interface parameters diff --git a/pkg/cloudbroker/compute/shared_snapshot_merge_status.go b/pkg/cloudbroker/compute/shared_snapshot_merge_status.go index 9d8a9f5..39f10c0 100644 --- a/pkg/cloudbroker/compute/shared_snapshot_merge_status.go +++ b/pkg/cloudbroker/compute/shared_snapshot_merge_status.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SharedSnapshotMergeStatusRequest struct to get shared snapshot merge status diff --git a/pkg/cloudbroker/compute/snapshot_create.go b/pkg/cloudbroker/compute/snapshot_create.go index a31127e..454706e 100644 --- a/pkg/cloudbroker/compute/snapshot_create.go +++ b/pkg/cloudbroker/compute/snapshot_create.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotCreateRequest struct to create snapshot diff --git a/pkg/cloudbroker/compute/snapshot_delete.go b/pkg/cloudbroker/compute/snapshot_delete.go index 318e710..48cca13 100644 --- a/pkg/cloudbroker/compute/snapshot_delete.go +++ b/pkg/cloudbroker/compute/snapshot_delete.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotDeleteRequest struct to delete snapshot diff --git a/pkg/cloudbroker/compute/snapshot_evict_disk.go b/pkg/cloudbroker/compute/snapshot_evict_disk.go index 4c108af..a8cbc8a 100644 --- a/pkg/cloudbroker/compute/snapshot_evict_disk.go +++ b/pkg/cloudbroker/compute/snapshot_evict_disk.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotEvictDiskRequest struct to evict specified disk diff --git a/pkg/cloudbroker/compute/snapshot_list.go b/pkg/cloudbroker/compute/snapshot_list.go index e73f82d..87048e2 100644 --- a/pkg/cloudbroker/compute/snapshot_list.go +++ b/pkg/cloudbroker/compute/snapshot_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotListRequest struct to get list of snapshots diff --git a/pkg/cloudbroker/compute/snapshot_rollback.go b/pkg/cloudbroker/compute/snapshot_rollback.go index 9d251d6..0190fc4 100644 --- a/pkg/cloudbroker/compute/snapshot_rollback.go +++ b/pkg/cloudbroker/compute/snapshot_rollback.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotRollbackRequest struct for rollback diff --git a/pkg/cloudbroker/compute/snapshot_usage.go b/pkg/cloudbroker/compute/snapshot_usage.go index 0c8756a..08cefa5 100644 --- a/pkg/cloudbroker/compute/snapshot_usage.go +++ b/pkg/cloudbroker/compute/snapshot_usage.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotUsageRequest struct tto get compute snapshot real size on storage diff --git a/pkg/cloudbroker/compute/start.go b/pkg/cloudbroker/compute/start.go index de223fc..747a264 100644 --- a/pkg/cloudbroker/compute/start.go +++ b/pkg/cloudbroker/compute/start.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StartRequest struct to start compute diff --git a/pkg/cloudbroker/compute/start_migration_in.go b/pkg/cloudbroker/compute/start_migration_in.go index e46a134..8d1d701 100644 --- a/pkg/cloudbroker/compute/start_migration_in.go +++ b/pkg/cloudbroker/compute/start_migration_in.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StartMigrationINRequest struct to start compute for external migration in diff --git a/pkg/cloudbroker/compute/start_migration_out.go b/pkg/cloudbroker/compute/start_migration_out.go index 2435aa6..4867a1d 100644 --- a/pkg/cloudbroker/compute/start_migration_out.go +++ b/pkg/cloudbroker/compute/start_migration_out.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StartMigrationOutRequest struct to start compute for external migration out diff --git a/pkg/cloudbroker/compute/stop.go b/pkg/cloudbroker/compute/stop.go index 81a26d8..73c599d 100644 --- a/pkg/cloudbroker/compute/stop.go +++ b/pkg/cloudbroker/compute/stop.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StopRequest struct to stop compute diff --git a/pkg/cloudbroker/compute/stop_migration_in.go b/pkg/cloudbroker/compute/stop_migration_in.go index 796b663..46166f6 100644 --- a/pkg/cloudbroker/compute/stop_migration_in.go +++ b/pkg/cloudbroker/compute/stop_migration_in.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // OSUsers struct contains OS user data for Guest OS. diff --git a/pkg/cloudbroker/compute/stop_migration_out.go b/pkg/cloudbroker/compute/stop_migration_out.go index d5329de..724974d 100644 --- a/pkg/cloudbroker/compute/stop_migration_out.go +++ b/pkg/cloudbroker/compute/stop_migration_out.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StopMigrationOutRequest struct to stop compute for external migration out diff --git a/pkg/cloudbroker/compute/tag_add.go b/pkg/cloudbroker/compute/tag_add.go index 0db9e20..3f7339c 100644 --- a/pkg/cloudbroker/compute/tag_add.go +++ b/pkg/cloudbroker/compute/tag_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // TagAddRequest struct to add tag to compute diff --git a/pkg/cloudbroker/compute/tag_remove.go b/pkg/cloudbroker/compute/tag_remove.go index f1944c2..ca5a37d 100644 --- a/pkg/cloudbroker/compute/tag_remove.go +++ b/pkg/cloudbroker/compute/tag_remove.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // TagRemoveRequest struct to remove tag from compute diff --git a/pkg/cloudbroker/compute/unpin_from_node.go b/pkg/cloudbroker/compute/unpin_from_node.go index b616c11..704ec02 100644 --- a/pkg/cloudbroker/compute/unpin_from_node.go +++ b/pkg/cloudbroker/compute/unpin_from_node.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UnpinFromNodeRequest struct to unpin from node diff --git a/pkg/cloudbroker/compute/update.go b/pkg/cloudbroker/compute/update.go index fff157a..165b813 100644 --- a/pkg/cloudbroker/compute/update.go +++ b/pkg/cloudbroker/compute/update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update compute diff --git a/pkg/cloudbroker/compute/user_grant.go b/pkg/cloudbroker/compute/user_grant.go index c064564..7972566 100644 --- a/pkg/cloudbroker/compute/user_grant.go +++ b/pkg/cloudbroker/compute/user_grant.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UserGrantRequest struct to grant access to compute diff --git a/pkg/cloudbroker/compute/user_list.go b/pkg/cloudbroker/compute/user_list.go index bcc50e0..45bd163 100644 --- a/pkg/cloudbroker/compute/user_list.go +++ b/pkg/cloudbroker/compute/user_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UserListRequest struct to get list of users for compute diff --git a/pkg/cloudbroker/compute/user_revoke.go b/pkg/cloudbroker/compute/user_revoke.go index 447784f..256c6d5 100644 --- a/pkg/cloudbroker/compute/user_revoke.go +++ b/pkg/cloudbroker/compute/user_revoke.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UserRevokeRequest struct to revoke user access diff --git a/pkg/cloudbroker/compute/user_update.go b/pkg/cloudbroker/compute/user_update.go index c69b647..00f6233 100644 --- a/pkg/cloudbroker/compute/user_update.go +++ b/pkg/cloudbroker/compute/user_update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UserUpdateRequest struct to update user access diff --git a/pkg/cloudbroker/disks.go b/pkg/cloudbroker/disks.go index 35c3b5a..de13db7 100644 --- a/pkg/cloudbroker/disks.go +++ b/pkg/cloudbroker/disks.go @@ -1,7 +1,7 @@ package cloudbroker import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/disks" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/disks" ) // Accessing the Disks method group diff --git a/pkg/cloudbroker/disks/change_disk_storage_policy.go b/pkg/cloudbroker/disks/change_disk_storage_policy.go index 7d43094..468fd77 100644 --- a/pkg/cloudbroker/disks/change_disk_storage_policy.go +++ b/pkg/cloudbroker/disks/change_disk_storage_policy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ChangeDiskStoragePolicyRequest struct to change storage policy for disk diff --git a/pkg/cloudbroker/disks/create.go b/pkg/cloudbroker/disks/create.go index b4a6c4c..c6673df 100644 --- a/pkg/cloudbroker/disks/create.go +++ b/pkg/cloudbroker/disks/create.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create disk diff --git a/pkg/cloudbroker/disks/delete.go b/pkg/cloudbroker/disks/delete.go index 734f42c..243ed3b 100644 --- a/pkg/cloudbroker/disks/delete.go +++ b/pkg/cloudbroker/disks/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete disk diff --git a/pkg/cloudbroker/disks/delete_disks.go b/pkg/cloudbroker/disks/delete_disks.go index 78b4ecb..3ace586 100644 --- a/pkg/cloudbroker/disks/delete_disks.go +++ b/pkg/cloudbroker/disks/delete_disks.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteDisksRequest struct for multiple disks diff --git a/pkg/cloudbroker/disks/depresent.go b/pkg/cloudbroker/disks/depresent.go index 5c04b6c..454bc0f 100644 --- a/pkg/cloudbroker/disks/depresent.go +++ b/pkg/cloudbroker/disks/depresent.go @@ -3,7 +3,7 @@ package disks import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" "strconv" ) diff --git a/pkg/cloudbroker/disks/disks.go b/pkg/cloudbroker/disks/disks.go index 25a8711..375a360 100644 --- a/pkg/cloudbroker/disks/disks.go +++ b/pkg/cloudbroker/disks/disks.go @@ -1,7 +1,7 @@ // API Actor for managing Disk. This actor is a final API for admin to manage Disk package disks -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to disks type Disks struct { diff --git a/pkg/cloudbroker/disks/filter.go b/pkg/cloudbroker/disks/filter.go index 88cc919..1cbd572 100644 --- a/pkg/cloudbroker/disks/filter.go +++ b/pkg/cloudbroker/disks/filter.go @@ -4,9 +4,9 @@ import ( "context" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/k8s" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/lb" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/k8s" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/lb" ) // FilterByID returns ListDisks with specified ID. diff --git a/pkg/cloudbroker/disks/from_platform_disk.go b/pkg/cloudbroker/disks/from_platform_disk.go index b6fa25f..52f6fef 100644 --- a/pkg/cloudbroker/disks/from_platform_disk.go +++ b/pkg/cloudbroker/disks/from_platform_disk.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // FromPlatformDiskRequest struct to create template from platform disk diff --git a/pkg/cloudbroker/disks/get.go b/pkg/cloudbroker/disks/get.go index c5dd721..1533a16 100644 --- a/pkg/cloudbroker/disks/get.go +++ b/pkg/cloudbroker/disks/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about disk diff --git a/pkg/cloudbroker/disks/limit_io.go b/pkg/cloudbroker/disks/limit_io.go index 29f44e8..9d06cae 100644 --- a/pkg/cloudbroker/disks/limit_io.go +++ b/pkg/cloudbroker/disks/limit_io.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // LimitIORequest struct for limit IO diff --git a/pkg/cloudbroker/disks/list.go b/pkg/cloudbroker/disks/list.go index 03fe4cc..582a57f 100644 --- a/pkg/cloudbroker/disks/list.go +++ b/pkg/cloudbroker/disks/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list/list_deleted of disks diff --git a/pkg/cloudbroker/disks/list_deleted.go b/pkg/cloudbroker/disks/list_deleted.go index c6d99e0..baf2c67 100644 --- a/pkg/cloudbroker/disks/list_deleted.go +++ b/pkg/cloudbroker/disks/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get list of deleted disks diff --git a/pkg/cloudbroker/disks/list_types.go b/pkg/cloudbroker/disks/list_types.go index 0922f2e..b651ad0 100644 --- a/pkg/cloudbroker/disks/list_types.go +++ b/pkg/cloudbroker/disks/list_types.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListTypesRequest struct to get list of types of disks diff --git a/pkg/cloudbroker/disks/list_unattached.go b/pkg/cloudbroker/disks/list_unattached.go index d8d7911..08fa565 100644 --- a/pkg/cloudbroker/disks/list_unattached.go +++ b/pkg/cloudbroker/disks/list_unattached.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListUnattachedRequest struct to get list of unattached disk diff --git a/pkg/cloudbroker/disks/migrate.go b/pkg/cloudbroker/disks/migrate.go index b962a0b..db09cf9 100644 --- a/pkg/cloudbroker/disks/migrate.go +++ b/pkg/cloudbroker/disks/migrate.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // Migrate struct to move disk to another sep, pool and storage policy diff --git a/pkg/cloudbroker/disks/migrate_abort.go b/pkg/cloudbroker/disks/migrate_abort.go index edffeca..2c9a440 100644 --- a/pkg/cloudbroker/disks/migrate_abort.go +++ b/pkg/cloudbroker/disks/migrate_abort.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateAbortRequest struct to abort migration diff --git a/pkg/cloudbroker/disks/migrate_status.go b/pkg/cloudbroker/disks/migrate_status.go index 7f30ea3..89f804a 100644 --- a/pkg/cloudbroker/disks/migrate_status.go +++ b/pkg/cloudbroker/disks/migrate_status.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetMigrateStatusRequest struct to get information about disk migrate status diff --git a/pkg/cloudbroker/disks/models.go b/pkg/cloudbroker/disks/models.go index 2c34248..fbfe439 100644 --- a/pkg/cloudbroker/disks/models.go +++ b/pkg/cloudbroker/disks/models.go @@ -56,6 +56,9 @@ type InfoDisk struct { // BLK Discard BLKDiscard bool `json:"blkdiscard"` + // Block size of disk + BlockSize string `json:"block_size"` + // Boot partition BootPartition uint64 `json:"bootPartition"` @@ -218,6 +221,9 @@ type ItemReplication struct { // Detailed indormation about disk type RecordDisk struct { + // Block size of disk + BlockSize string `json:"block_size"` + //Created by CreatedBy string `json:"createdBy"` diff --git a/pkg/cloudbroker/disks/present.go b/pkg/cloudbroker/disks/present.go index 16b6783..ff721a1 100644 --- a/pkg/cloudbroker/disks/present.go +++ b/pkg/cloudbroker/disks/present.go @@ -3,7 +3,7 @@ package disks import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" "strconv" ) diff --git a/pkg/cloudbroker/disks/rename.go b/pkg/cloudbroker/disks/rename.go index f23f576..c94db64 100644 --- a/pkg/cloudbroker/disks/rename.go +++ b/pkg/cloudbroker/disks/rename.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RenameRequest struct to rename disk diff --git a/pkg/cloudbroker/disks/replicate.go b/pkg/cloudbroker/disks/replicate.go index ef883b4..a5b4d81 100644 --- a/pkg/cloudbroker/disks/replicate.go +++ b/pkg/cloudbroker/disks/replicate.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ReplicateRequest struct to create an empty disk in chosen SEP and pool combination. diff --git a/pkg/cloudbroker/disks/replication_resume.go b/pkg/cloudbroker/disks/replication_resume.go index cb53cbb..c1b040a 100644 --- a/pkg/cloudbroker/disks/replication_resume.go +++ b/pkg/cloudbroker/disks/replication_resume.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ReplicationResume struct to resume suspended replication diff --git a/pkg/cloudbroker/disks/replication_reverse.go b/pkg/cloudbroker/disks/replication_reverse.go index 5c6ade5..9e01de4 100644 --- a/pkg/cloudbroker/disks/replication_reverse.go +++ b/pkg/cloudbroker/disks/replication_reverse.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ReplicationReverseRequest struct to change role between disks replications diff --git a/pkg/cloudbroker/disks/replication_start.go b/pkg/cloudbroker/disks/replication_start.go index 9f335ae..63a541d 100644 --- a/pkg/cloudbroker/disks/replication_start.go +++ b/pkg/cloudbroker/disks/replication_start.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ReplicationStartRequest struct to starts replication between two chosen disks diff --git a/pkg/cloudbroker/disks/replication_status.go b/pkg/cloudbroker/disks/replication_status.go index d46bf8e..cd61f16 100644 --- a/pkg/cloudbroker/disks/replication_status.go +++ b/pkg/cloudbroker/disks/replication_status.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ReplicationStatusRequest struct to get replication status diff --git a/pkg/cloudbroker/disks/replication_stop.go b/pkg/cloudbroker/disks/replication_stop.go index d5a5277..65b3639 100644 --- a/pkg/cloudbroker/disks/replication_stop.go +++ b/pkg/cloudbroker/disks/replication_stop.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ReplicationStopRequest struct to remove replication between disks completely diff --git a/pkg/cloudbroker/disks/replication_suspend.go b/pkg/cloudbroker/disks/replication_suspend.go index 3094484..ef3b858 100644 --- a/pkg/cloudbroker/disks/replication_suspend.go +++ b/pkg/cloudbroker/disks/replication_suspend.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ReplicationSuspendRequest struct to pause replication with possibility to resume from pause moment diff --git a/pkg/cloudbroker/disks/resize.go b/pkg/cloudbroker/disks/resize.go index ec120d4..7ce57e2 100644 --- a/pkg/cloudbroker/disks/resize.go +++ b/pkg/cloudbroker/disks/resize.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ResizeRequest struct to resize disk diff --git a/pkg/cloudbroker/disks/restore.go b/pkg/cloudbroker/disks/restore.go index 9defb66..456223e 100644 --- a/pkg/cloudbroker/disks/restore.go +++ b/pkg/cloudbroker/disks/restore.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreRequest struct to restore a deleted unattached disk diff --git a/pkg/cloudbroker/disks/serialize.go b/pkg/cloudbroker/disks/serialize.go index 34f9bad..fae571b 100644 --- a/pkg/cloudbroker/disks/serialize.go +++ b/pkg/cloudbroker/disks/serialize.go @@ -3,7 +3,7 @@ package disks import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/disks/share.go b/pkg/cloudbroker/disks/share.go index bd105c8..20c8211 100644 --- a/pkg/cloudbroker/disks/share.go +++ b/pkg/cloudbroker/disks/share.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ShareRequest struct to share data disk diff --git a/pkg/cloudbroker/disks/snapshot_delete.go b/pkg/cloudbroker/disks/snapshot_delete.go index d3f7d2d..5c20936 100644 --- a/pkg/cloudbroker/disks/snapshot_delete.go +++ b/pkg/cloudbroker/disks/snapshot_delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotDeleteRequest struct to delete snapshot diff --git a/pkg/cloudbroker/disks/snapshot_rollback.go b/pkg/cloudbroker/disks/snapshot_rollback.go index 4a92141..ac4389e 100644 --- a/pkg/cloudbroker/disks/snapshot_rollback.go +++ b/pkg/cloudbroker/disks/snapshot_rollback.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SnapshotRollbackRequest struct to rollback snapshot diff --git a/pkg/cloudbroker/disks/unshare.go b/pkg/cloudbroker/disks/unshare.go index f33b64b..ac03628 100644 --- a/pkg/cloudbroker/disks/unshare.go +++ b/pkg/cloudbroker/disks/unshare.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UnshareRequest struct to unshare data disk diff --git a/pkg/cloudbroker/disks/update.go b/pkg/cloudbroker/disks/update.go index 5e2d695..a9cf9db 100644 --- a/pkg/cloudbroker/disks/update.go +++ b/pkg/cloudbroker/disks/update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update disk @@ -21,6 +21,10 @@ type UpdateRequest struct { // BLK Discard // Required: false BLKDiscard interface{} `url:"blkdiscard,omitempty" json:"blkdiscard,omitempty" validate:"omitempty,isBool"` + + // Block size of disk + // Required: false + BlockSize string `url:"block_size,omitempty" json:"block_size,omitempty"` } // Update updates disk diff --git a/pkg/cloudbroker/dpdk.go b/pkg/cloudbroker/dpdk.go index 0c84a36..a2670ab 100644 --- a/pkg/cloudbroker/dpdk.go +++ b/pkg/cloudbroker/dpdk.go @@ -1,6 +1,6 @@ package cloudbroker -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/dpdknet" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/dpdknet" // Accessing the DPDK method group func (ca *CloudBroker) DPDKNet() *dpdknet.DPDKNet { diff --git a/pkg/cloudbroker/dpdknet/create.go b/pkg/cloudbroker/dpdknet/create.go index 15260a9..3fa40d7 100644 --- a/pkg/cloudbroker/dpdknet/create.go +++ b/pkg/cloudbroker/dpdknet/create.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create DPDK network diff --git a/pkg/cloudbroker/dpdknet/delete.go b/pkg/cloudbroker/dpdknet/delete.go index aafb664..361194e 100644 --- a/pkg/cloudbroker/dpdknet/delete.go +++ b/pkg/cloudbroker/dpdknet/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete DPDK network diff --git a/pkg/cloudbroker/dpdknet/disable.go b/pkg/cloudbroker/dpdknet/disable.go index b7c0b66..854f354 100644 --- a/pkg/cloudbroker/dpdknet/disable.go +++ b/pkg/cloudbroker/dpdknet/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableRequest struct to disable DPDK network diff --git a/pkg/cloudbroker/dpdknet/dpdk.go b/pkg/cloudbroker/dpdknet/dpdk.go index 48dccfe..fefd604 100644 --- a/pkg/cloudbroker/dpdknet/dpdk.go +++ b/pkg/cloudbroker/dpdknet/dpdk.go @@ -1,6 +1,6 @@ package dpdknet -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to DPDK network type DPDKNet struct { diff --git a/pkg/cloudbroker/dpdknet/enable.go b/pkg/cloudbroker/dpdknet/enable.go index c0fd48f..04984bf 100644 --- a/pkg/cloudbroker/dpdknet/enable.go +++ b/pkg/cloudbroker/dpdknet/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to enable DPDK network diff --git a/pkg/cloudbroker/dpdknet/get.go b/pkg/cloudbroker/dpdknet/get.go index b31fd2a..be2a885 100644 --- a/pkg/cloudbroker/dpdknet/get.go +++ b/pkg/cloudbroker/dpdknet/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about DPDK network diff --git a/pkg/cloudbroker/dpdknet/list.go b/pkg/cloudbroker/dpdknet/list.go index e3de8f8..ea797cc 100644 --- a/pkg/cloudbroker/dpdknet/list.go +++ b/pkg/cloudbroker/dpdknet/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of DPDK networks diff --git a/pkg/cloudbroker/dpdknet/update.go b/pkg/cloudbroker/dpdknet/update.go index 22a689f..c5305f4 100644 --- a/pkg/cloudbroker/dpdknet/update.go +++ b/pkg/cloudbroker/dpdknet/update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update DPDK network diff --git a/pkg/cloudbroker/extnet.go b/pkg/cloudbroker/extnet.go index 7124b44..8d5e849 100644 --- a/pkg/cloudbroker/extnet.go +++ b/pkg/cloudbroker/extnet.go @@ -1,7 +1,7 @@ package cloudbroker import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/extnet" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/extnet" ) // Accessing the ExtNet method group diff --git a/pkg/cloudbroker/extnet/access_add.go b/pkg/cloudbroker/extnet/access_add.go index fc85d0f..23c269f 100644 --- a/pkg/cloudbroker/extnet/access_add.go +++ b/pkg/cloudbroker/extnet/access_add.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AccessAddRequest struct to grant access diff --git a/pkg/cloudbroker/extnet/access_remove.go b/pkg/cloudbroker/extnet/access_remove.go index 6261fc1..b759cd1 100644 --- a/pkg/cloudbroker/extnet/access_remove.go +++ b/pkg/cloudbroker/extnet/access_remove.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AccessRemoveRequest struct to remove access diff --git a/pkg/cloudbroker/extnet/add_reserved_ip.go b/pkg/cloudbroker/extnet/add_reserved_ip.go index febac95..a3d7bfb 100644 --- a/pkg/cloudbroker/extnet/add_reserved_ip.go +++ b/pkg/cloudbroker/extnet/add_reserved_ip.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AddReserveIPRequest struct to reserved address or address poll diff --git a/pkg/cloudbroker/extnet/create.go b/pkg/cloudbroker/extnet/create.go index 1b6041a..6363d27 100644 --- a/pkg/cloudbroker/extnet/create.go +++ b/pkg/cloudbroker/extnet/create.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type Route struct { diff --git a/pkg/cloudbroker/extnet/default_qos_update.go b/pkg/cloudbroker/extnet/default_qos_update.go index 702b543..cb187a5 100644 --- a/pkg/cloudbroker/extnet/default_qos_update.go +++ b/pkg/cloudbroker/extnet/default_qos_update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DefaultQOSUpdateRequest struct for update QOS diff --git a/pkg/cloudbroker/extnet/del_reserved_ip.go b/pkg/cloudbroker/extnet/del_reserved_ip.go index 74e0b24..0165c26 100644 --- a/pkg/cloudbroker/extnet/del_reserved_ip.go +++ b/pkg/cloudbroker/extnet/del_reserved_ip.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DelReserveIPRequest struct to delete reserved address or address poll diff --git a/pkg/cloudbroker/extnet/destroy.go b/pkg/cloudbroker/extnet/destroy.go index db5d29e..349f4b9 100644 --- a/pkg/cloudbroker/extnet/destroy.go +++ b/pkg/cloudbroker/extnet/destroy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DestroyRequest struct for destroy diff --git a/pkg/cloudbroker/extnet/device_deploy.go b/pkg/cloudbroker/extnet/device_deploy.go index 568f298..42e3252 100644 --- a/pkg/cloudbroker/extnet/device_deploy.go +++ b/pkg/cloudbroker/extnet/device_deploy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeviceDeployRequest struct to deploy network device diff --git a/pkg/cloudbroker/extnet/device_migrate.go b/pkg/cloudbroker/extnet/device_migrate.go index b246bdc..b28db8c 100644 --- a/pkg/cloudbroker/extnet/device_migrate.go +++ b/pkg/cloudbroker/extnet/device_migrate.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeviceMigrateRequest struct for migrate VNF diff --git a/pkg/cloudbroker/extnet/device_remove.go b/pkg/cloudbroker/extnet/device_remove.go index 7d55588..724d84b 100644 --- a/pkg/cloudbroker/extnet/device_remove.go +++ b/pkg/cloudbroker/extnet/device_remove.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeviceRemoveRequest struct to remove network device diff --git a/pkg/cloudbroker/extnet/device_restart.go b/pkg/cloudbroker/extnet/device_restart.go index 71227bf..8681242 100644 --- a/pkg/cloudbroker/extnet/device_restart.go +++ b/pkg/cloudbroker/extnet/device_restart.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeviceRestartRequest struct for restart VNF device diff --git a/pkg/cloudbroker/extnet/disable.go b/pkg/cloudbroker/extnet/disable.go index 29231c8..39d39b8 100644 --- a/pkg/cloudbroker/extnet/disable.go +++ b/pkg/cloudbroker/extnet/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableRequest struct to disable external network diff --git a/pkg/cloudbroker/extnet/dns_apply.go b/pkg/cloudbroker/extnet/dns_apply.go index 52c9743..a244ef6 100644 --- a/pkg/cloudbroker/extnet/dns_apply.go +++ b/pkg/cloudbroker/extnet/dns_apply.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DNSApplyRequest struct to set new DNS diff --git a/pkg/cloudbroker/extnet/enable.go b/pkg/cloudbroker/extnet/enable.go index 6726f6d..36a5766 100644 --- a/pkg/cloudbroker/extnet/enable.go +++ b/pkg/cloudbroker/extnet/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to enable external network diff --git a/pkg/cloudbroker/extnet/extnet.go b/pkg/cloudbroker/extnet/extnet.go index 1967122..565ca27 100644 --- a/pkg/cloudbroker/extnet/extnet.go +++ b/pkg/cloudbroker/extnet/extnet.go @@ -1,7 +1,7 @@ // API Actor for configure and use external networks package extnet -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to extnet type ExtNet struct { diff --git a/pkg/cloudbroker/extnet/get.go b/pkg/cloudbroker/extnet/get.go index 760e963..005d666 100644 --- a/pkg/cloudbroker/extnet/get.go +++ b/pkg/cloudbroker/extnet/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about external network diff --git a/pkg/cloudbroker/extnet/get_reserved_ip.go b/pkg/cloudbroker/extnet/get_reserved_ip.go index 7c36dc0..ba3ee55 100644 --- a/pkg/cloudbroker/extnet/get_reserved_ip.go +++ b/pkg/cloudbroker/extnet/get_reserved_ip.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about reserved address or address poll diff --git a/pkg/cloudbroker/extnet/ips_exclude.go b/pkg/cloudbroker/extnet/ips_exclude.go index 2e6e4e1..dc73ffb 100644 --- a/pkg/cloudbroker/extnet/ips_exclude.go +++ b/pkg/cloudbroker/extnet/ips_exclude.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // IPsExcludeRequest struct to exclude list of IPs diff --git a/pkg/cloudbroker/extnet/ips_exclude_range.go b/pkg/cloudbroker/extnet/ips_exclude_range.go index 150df84..9a52875 100644 --- a/pkg/cloudbroker/extnet/ips_exclude_range.go +++ b/pkg/cloudbroker/extnet/ips_exclude_range.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // IPsExcludeRangeRequest struct to exclude range of IPs diff --git a/pkg/cloudbroker/extnet/ips_include.go b/pkg/cloudbroker/extnet/ips_include.go index 4cbfeb7..486a10d 100644 --- a/pkg/cloudbroker/extnet/ips_include.go +++ b/pkg/cloudbroker/extnet/ips_include.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // IPsIncludeRequest struct to include list of IPs diff --git a/pkg/cloudbroker/extnet/ips_include_range.go b/pkg/cloudbroker/extnet/ips_include_range.go index 900e74a..f6ee813 100644 --- a/pkg/cloudbroker/extnet/ips_include_range.go +++ b/pkg/cloudbroker/extnet/ips_include_range.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // IPsIncludeRangeRequest struct to include range of IPs diff --git a/pkg/cloudbroker/extnet/list.go b/pkg/cloudbroker/extnet/list.go index c923c79..c6576f9 100644 --- a/pkg/cloudbroker/extnet/list.go +++ b/pkg/cloudbroker/extnet/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of external network diff --git a/pkg/cloudbroker/extnet/migrate_to_zone.go b/pkg/cloudbroker/extnet/migrate_to_zone.go index eb4eed8..1af67a5 100644 --- a/pkg/cloudbroker/extnet/migrate_to_zone.go +++ b/pkg/cloudbroker/extnet/migrate_to_zone.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateToZone struct to move extnet to another zone diff --git a/pkg/cloudbroker/extnet/ntp_apply.go b/pkg/cloudbroker/extnet/ntp_apply.go index 4a938d0..05ed2ac 100644 --- a/pkg/cloudbroker/extnet/ntp_apply.go +++ b/pkg/cloudbroker/extnet/ntp_apply.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // NTPApplyRequest struct for set new NTP diff --git a/pkg/cloudbroker/extnet/serialize.go b/pkg/cloudbroker/extnet/serialize.go index dad88ec..3eb0396 100644 --- a/pkg/cloudbroker/extnet/serialize.go +++ b/pkg/cloudbroker/extnet/serialize.go @@ -3,7 +3,7 @@ package extnet import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/extnet/set_default.go b/pkg/cloudbroker/extnet/set_default.go index d1c9a27..d8e97ba 100644 --- a/pkg/cloudbroker/extnet/set_default.go +++ b/pkg/cloudbroker/extnet/set_default.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetDefaultRequest struct to set external network as default diff --git a/pkg/cloudbroker/extnet/set_highly_available.go b/pkg/cloudbroker/extnet/set_highly_available.go index 4bd3488..b6a7040 100644 --- a/pkg/cloudbroker/extnet/set_highly_available.go +++ b/pkg/cloudbroker/extnet/set_highly_available.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetHAModeRequest struct to set HA mode for external network diff --git a/pkg/cloudbroker/extnet/static_route_access_grant.go b/pkg/cloudbroker/extnet/static_route_access_grant.go index 02bbdcf..437af43 100644 --- a/pkg/cloudbroker/extnet/static_route_access_grant.go +++ b/pkg/cloudbroker/extnet/static_route_access_grant.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StaticRouteAccessGrantRequest struct to grant access to static route to Compute/ViNS diff --git a/pkg/cloudbroker/extnet/static_route_access_revoke.go b/pkg/cloudbroker/extnet/static_route_access_revoke.go index 7ce2cc5..90f71e1 100644 --- a/pkg/cloudbroker/extnet/static_route_access_revoke.go +++ b/pkg/cloudbroker/extnet/static_route_access_revoke.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StaticRouteAccessRevokeRequest struct to revoke access to static route to Compute/ViNS diff --git a/pkg/cloudbroker/extnet/static_route_add.go b/pkg/cloudbroker/extnet/static_route_add.go index 4bb5228..02079f1 100644 --- a/pkg/cloudbroker/extnet/static_route_add.go +++ b/pkg/cloudbroker/extnet/static_route_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StaticRouteAddRequest struct to add static route diff --git a/pkg/cloudbroker/extnet/static_route_del.go b/pkg/cloudbroker/extnet/static_route_del.go index 458b0a0..5ad83e0 100644 --- a/pkg/cloudbroker/extnet/static_route_del.go +++ b/pkg/cloudbroker/extnet/static_route_del.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StaticRouteDelRequest struct to remove static route from ViNS diff --git a/pkg/cloudbroker/extnet/static_route_list.go b/pkg/cloudbroker/extnet/static_route_list.go index f80f698..0c90d69 100644 --- a/pkg/cloudbroker/extnet/static_route_list.go +++ b/pkg/cloudbroker/extnet/static_route_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StaticRouteListRequest struct for static route list diff --git a/pkg/cloudbroker/extnet/update.go b/pkg/cloudbroker/extnet/update.go index bcd3cc6..f06caf7 100644 --- a/pkg/cloudbroker/extnet/update.go +++ b/pkg/cloudbroker/extnet/update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update external network diff --git a/pkg/cloudbroker/flipgoup.go b/pkg/cloudbroker/flipgoup.go index fccb5c6..cf83f82 100644 --- a/pkg/cloudbroker/flipgoup.go +++ b/pkg/cloudbroker/flipgoup.go @@ -1,7 +1,7 @@ package cloudbroker import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/flipgroup" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/flipgroup" ) // Accessing the FLIPGroup method group diff --git a/pkg/cloudbroker/flipgroup/compute_add.go b/pkg/cloudbroker/flipgroup/compute_add.go index d503a9a..409546c 100644 --- a/pkg/cloudbroker/flipgroup/compute_add.go +++ b/pkg/cloudbroker/flipgroup/compute_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ComputeAddRequest struct to add compute instance diff --git a/pkg/cloudbroker/flipgroup/compute_remove.go b/pkg/cloudbroker/flipgroup/compute_remove.go index e36475b..4fea0f6 100644 --- a/pkg/cloudbroker/flipgroup/compute_remove.go +++ b/pkg/cloudbroker/flipgroup/compute_remove.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ComputeRemoveRequest struct to remove compute instance diff --git a/pkg/cloudbroker/flipgroup/create.go b/pkg/cloudbroker/flipgroup/create.go index 0bdb4cc..9f55fdb 100644 --- a/pkg/cloudbroker/flipgroup/create.go +++ b/pkg/cloudbroker/flipgroup/create.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create FLIPGroup diff --git a/pkg/cloudbroker/flipgroup/delete.go b/pkg/cloudbroker/flipgroup/delete.go index c6e03a4..5874ac1 100644 --- a/pkg/cloudbroker/flipgroup/delete.go +++ b/pkg/cloudbroker/flipgroup/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete FLIPGroup diff --git a/pkg/cloudbroker/flipgroup/edit.go b/pkg/cloudbroker/flipgroup/edit.go index 318263a..157b943 100644 --- a/pkg/cloudbroker/flipgroup/edit.go +++ b/pkg/cloudbroker/flipgroup/edit.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EditRequest struct to edit FLIPGroup diff --git a/pkg/cloudbroker/flipgroup/flipgroup.go b/pkg/cloudbroker/flipgroup/flipgroup.go index ba6179a..48c4090 100644 --- a/pkg/cloudbroker/flipgroup/flipgroup.go +++ b/pkg/cloudbroker/flipgroup/flipgroup.go @@ -2,7 +2,7 @@ package flipgroup import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to FLIPGroup diff --git a/pkg/cloudbroker/flipgroup/get.go b/pkg/cloudbroker/flipgroup/get.go index 06e6322..2c31a05 100644 --- a/pkg/cloudbroker/flipgroup/get.go +++ b/pkg/cloudbroker/flipgroup/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about FLIPGroup diff --git a/pkg/cloudbroker/flipgroup/list.go b/pkg/cloudbroker/flipgroup/list.go index 60d0ed0..31afff6 100644 --- a/pkg/cloudbroker/flipgroup/list.go +++ b/pkg/cloudbroker/flipgroup/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of FLIPGroup available to the current user diff --git a/pkg/cloudbroker/flipgroup/serialize.go b/pkg/cloudbroker/flipgroup/serialize.go index e3f5e3b..925beb6 100644 --- a/pkg/cloudbroker/flipgroup/serialize.go +++ b/pkg/cloudbroker/flipgroup/serialize.go @@ -3,7 +3,7 @@ package flipgroup import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/grid.go b/pkg/cloudbroker/grid.go index e8d7402..56f225a 100644 --- a/pkg/cloudbroker/grid.go +++ b/pkg/cloudbroker/grid.go @@ -1,6 +1,6 @@ package cloudbroker -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/grid" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/grid" // Accessing the Grid method group func (cb *CloudBroker) Grid() *grid.Grid { diff --git a/pkg/cloudbroker/grid/add.go b/pkg/cloudbroker/grid/add.go index 2f05bf1..62400ee 100644 --- a/pkg/cloudbroker/grid/add.go +++ b/pkg/cloudbroker/grid/add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AddRequest struct for location code diff --git a/pkg/cloudbroker/grid/add_custom_backup_path.go b/pkg/cloudbroker/grid/add_custom_backup_path.go index 89e0688..147516a 100644 --- a/pkg/cloudbroker/grid/add_custom_backup_path.go +++ b/pkg/cloudbroker/grid/add_custom_backup_path.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AddCustomBackupPathRequest struct to add new path to the list of custom backup paths diff --git a/pkg/cloudbroker/grid/change_settings.go b/pkg/cloudbroker/grid/change_settings.go index 9fb554f..ed3bd3c 100644 --- a/pkg/cloudbroker/grid/change_settings.go +++ b/pkg/cloudbroker/grid/change_settings.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ChangeSettingsRequest struct to change grid settings diff --git a/pkg/cloudbroker/grid/execute_maintenance_script.go b/pkg/cloudbroker/grid/execute_maintenance_script.go index ced064a..c243a9f 100644 --- a/pkg/cloudbroker/grid/execute_maintenance_script.go +++ b/pkg/cloudbroker/grid/execute_maintenance_script.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ExecuteMaintenanceScriptRequest struct to execute script diff --git a/pkg/cloudbroker/grid/get.go b/pkg/cloudbroker/grid/get.go index e5ba6de..9bea1ef 100644 --- a/pkg/cloudbroker/grid/get.go +++ b/pkg/cloudbroker/grid/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get grid details diff --git a/pkg/cloudbroker/grid/get_backup.go b/pkg/cloudbroker/grid/get_backup.go index 1bed5ea..044391a 100644 --- a/pkg/cloudbroker/grid/get_backup.go +++ b/pkg/cloudbroker/grid/get_backup.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetBackupRequest struct to get backup diff --git a/pkg/cloudbroker/grid/get_diagnosis.go b/pkg/cloudbroker/grid/get_diagnosis.go index 1436d2d..bf694cb 100644 --- a/pkg/cloudbroker/grid/get_diagnosis.go +++ b/pkg/cloudbroker/grid/get_diagnosis.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetDiagnosisRequest struct to get platform snapshot with additional diagnosis diff --git a/pkg/cloudbroker/grid/get_resource_consumption.go b/pkg/cloudbroker/grid/get_resource_consumption.go index ec15f41..42e9ab7 100644 --- a/pkg/cloudbroker/grid/get_resource_consumption.go +++ b/pkg/cloudbroker/grid/get_resource_consumption.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetResourceConsumptionRequest struct to get resource consumption diff --git a/pkg/cloudbroker/grid/get_settings.go b/pkg/cloudbroker/grid/get_settings.go index 24f872f..40030f5 100644 --- a/pkg/cloudbroker/grid/get_settings.go +++ b/pkg/cloudbroker/grid/get_settings.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetSettingsRequest struct to get grid settings diff --git a/pkg/cloudbroker/grid/grid.go b/pkg/cloudbroker/grid/grid.go index dfd59b7..e090c00 100644 --- a/pkg/cloudbroker/grid/grid.go +++ b/pkg/cloudbroker/grid/grid.go @@ -2,7 +2,7 @@ package grid import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to grid diff --git a/pkg/cloudbroker/grid/list.go b/pkg/cloudbroker/grid/list.go index 0bbb900..cb5f800 100644 --- a/pkg/cloudbroker/grid/list.go +++ b/pkg/cloudbroker/grid/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of locations diff --git a/pkg/cloudbroker/grid/purge_logs.go b/pkg/cloudbroker/grid/purge_logs.go index 28b446c..b465dc8 100644 --- a/pkg/cloudbroker/grid/purge_logs.go +++ b/pkg/cloudbroker/grid/purge_logs.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // PurgeLogsRequest struct to purge logs diff --git a/pkg/cloudbroker/grid/remove_custom_backup_path.go b/pkg/cloudbroker/grid/remove_custom_backup_path.go index 0715dd9..b559ad5 100644 --- a/pkg/cloudbroker/grid/remove_custom_backup_path.go +++ b/pkg/cloudbroker/grid/remove_custom_backup_path.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RemoveCustomBackupPathRequest struct to remove path from the list of custom backup paths diff --git a/pkg/cloudbroker/grid/rename.go b/pkg/cloudbroker/grid/rename.go index 85d71e3..6d7c05f 100644 --- a/pkg/cloudbroker/grid/rename.go +++ b/pkg/cloudbroker/grid/rename.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RenameRequest struct to rename grid diff --git a/pkg/cloudbroker/grid/serialize.go b/pkg/cloudbroker/grid/serialize.go index cbeea40..6da1cea 100644 --- a/pkg/cloudbroker/grid/serialize.go +++ b/pkg/cloudbroker/grid/serialize.go @@ -3,7 +3,7 @@ package grid import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/grid/services_restart.go b/pkg/cloudbroker/grid/services_restart.go index ae0afb1..d3a7737 100644 --- a/pkg/cloudbroker/grid/services_restart.go +++ b/pkg/cloudbroker/grid/services_restart.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ServicesRestartRequest struct to restart services diff --git a/pkg/cloudbroker/grid/set_cpu_allocation_parameter.go b/pkg/cloudbroker/grid/set_cpu_allocation_parameter.go index fdc9fba..73016e1 100644 --- a/pkg/cloudbroker/grid/set_cpu_allocation_parameter.go +++ b/pkg/cloudbroker/grid/set_cpu_allocation_parameter.go @@ -3,7 +3,7 @@ package grid import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" "strconv" ) diff --git a/pkg/cloudbroker/grid/set_cpu_allocation_ratio.go b/pkg/cloudbroker/grid/set_cpu_allocation_ratio.go index 55443e9..27c8b52 100644 --- a/pkg/cloudbroker/grid/set_cpu_allocation_ratio.go +++ b/pkg/cloudbroker/grid/set_cpu_allocation_ratio.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetCPUAllocationRatioRequest struct to set allocation diff --git a/pkg/cloudbroker/grid/set_cpu_allocation_ratio_for_vm.go b/pkg/cloudbroker/grid/set_cpu_allocation_ratio_for_vm.go index 3317e58..d657c28 100644 --- a/pkg/cloudbroker/grid/set_cpu_allocation_ratio_for_vm.go +++ b/pkg/cloudbroker/grid/set_cpu_allocation_ratio_for_vm.go @@ -3,7 +3,7 @@ package grid import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" "strconv" ) diff --git a/pkg/cloudbroker/grid/set_mem_allocation_ratio.go b/pkg/cloudbroker/grid/set_mem_allocation_ratio.go index 4712ef4..114caba 100644 --- a/pkg/cloudbroker/grid/set_mem_allocation_ratio.go +++ b/pkg/cloudbroker/grid/set_mem_allocation_ratio.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetMemAllocationRatioRequest struct to set memory allocation diff --git a/pkg/cloudbroker/grid/set_password_policy.go b/pkg/cloudbroker/grid/set_password_policy.go index c1ac895..9897c91 100644 --- a/pkg/cloudbroker/grid/set_password_policy.go +++ b/pkg/cloudbroker/grid/set_password_policy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetPasswordPolicyRequest struct to set password policy for a grid diff --git a/pkg/cloudbroker/group.go b/pkg/cloudbroker/group.go index 495275b..7181168 100644 --- a/pkg/cloudbroker/group.go +++ b/pkg/cloudbroker/group.go @@ -1,6 +1,6 @@ package cloudbroker -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/group" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/group" // Accessing the Group method group func (cb *CloudBroker) Group() *group.Group { diff --git a/pkg/cloudbroker/group/get.go b/pkg/cloudbroker/group/get.go index cab73e5..43b8363 100644 --- a/pkg/cloudbroker/group/get.go +++ b/pkg/cloudbroker/group/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get details of the specified group. diff --git a/pkg/cloudbroker/group/group.go b/pkg/cloudbroker/group/group.go index fcee057..c55898f 100644 --- a/pkg/cloudbroker/group/group.go +++ b/pkg/cloudbroker/group/group.go @@ -1,6 +1,6 @@ package group -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to group type Group struct { diff --git a/pkg/cloudbroker/group/list.go b/pkg/cloudbroker/group/list.go index 7ac73d3..482a059 100644 --- a/pkg/cloudbroker/group/list.go +++ b/pkg/cloudbroker/group/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of group instances. diff --git a/pkg/cloudbroker/image.go b/pkg/cloudbroker/image.go index b868987..e1eb228 100644 --- a/pkg/cloudbroker/image.go +++ b/pkg/cloudbroker/image.go @@ -1,7 +1,7 @@ package cloudbroker import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/image" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/image" ) // Accessing the Image method group diff --git a/pkg/cloudbroker/image/change_storage_policy.go b/pkg/cloudbroker/image/change_storage_policy.go index b8f5e2a..87c92d6 100644 --- a/pkg/cloudbroker/image/change_storage_policy.go +++ b/pkg/cloudbroker/image/change_storage_policy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ChangeStoragePolicyRequest struct { diff --git a/pkg/cloudbroker/image/computeci_set.go b/pkg/cloudbroker/image/computeci_set.go index e55d8bf..c839e8c 100644 --- a/pkg/cloudbroker/image/computeci_set.go +++ b/pkg/cloudbroker/image/computeci_set.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ComputeCISetRequest struct to set compute CI diff --git a/pkg/cloudbroker/image/computeci_unset.go b/pkg/cloudbroker/image/computeci_unset.go index ff34fb6..56dac84 100644 --- a/pkg/cloudbroker/image/computeci_unset.go +++ b/pkg/cloudbroker/image/computeci_unset.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ComputeCIUnsetRequest struct to unset compute CI diff --git a/pkg/cloudbroker/image/create_cdrom_image.go b/pkg/cloudbroker/image/create_cdrom_image.go index 2db2bc2..e0d8388 100644 --- a/pkg/cloudbroker/image/create_cdrom_image.go +++ b/pkg/cloudbroker/image/create_cdrom_image.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateCDROMImageRequest struct to create CD-ROM image diff --git a/pkg/cloudbroker/image/create_image.go b/pkg/cloudbroker/image/create_image.go index 29075ca..1ea9ad6 100644 --- a/pkg/cloudbroker/image/create_image.go +++ b/pkg/cloudbroker/image/create_image.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create image diff --git a/pkg/cloudbroker/image/create_virtual.go b/pkg/cloudbroker/image/create_virtual.go index 378585f..740af85 100644 --- a/pkg/cloudbroker/image/create_virtual.go +++ b/pkg/cloudbroker/image/create_virtual.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateVirtualRequest struct to create virtual image diff --git a/pkg/cloudbroker/image/delete.go b/pkg/cloudbroker/image/delete.go index d8b1e78..28ee0cb 100644 --- a/pkg/cloudbroker/image/delete.go +++ b/pkg/cloudbroker/image/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete image diff --git a/pkg/cloudbroker/image/delete_cdrom_image.go b/pkg/cloudbroker/image/delete_cdrom_image.go index 1db136f..7d19bdd 100644 --- a/pkg/cloudbroker/image/delete_cdrom_image.go +++ b/pkg/cloudbroker/image/delete_cdrom_image.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteCDROMImageRequest struct to delete CD-ROM image diff --git a/pkg/cloudbroker/image/delete_images.go b/pkg/cloudbroker/image/delete_images.go index fd7dd1f..57b0696 100644 --- a/pkg/cloudbroker/image/delete_images.go +++ b/pkg/cloudbroker/image/delete_images.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteImagesRequest struct to delete images diff --git a/pkg/cloudbroker/image/disable.go b/pkg/cloudbroker/image/disable.go index e41f4dd..2e97af1 100644 --- a/pkg/cloudbroker/image/disable.go +++ b/pkg/cloudbroker/image/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableRequest struct to disable image diff --git a/pkg/cloudbroker/image/edit.go b/pkg/cloudbroker/image/edit.go index 018965f..4913aac 100644 --- a/pkg/cloudbroker/image/edit.go +++ b/pkg/cloudbroker/image/edit.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EditRequest struct to edit image diff --git a/pkg/cloudbroker/image/enable.go b/pkg/cloudbroker/image/enable.go index 840d317..567e851 100644 --- a/pkg/cloudbroker/image/enable.go +++ b/pkg/cloudbroker/image/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to enable image diff --git a/pkg/cloudbroker/image/get.go b/pkg/cloudbroker/image/get.go index f6e5b8c..5a1113a 100644 --- a/pkg/cloudbroker/image/get.go +++ b/pkg/cloudbroker/image/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get image details diff --git a/pkg/cloudbroker/image/grant_access.go b/pkg/cloudbroker/image/grant_access.go index 95bac03..254c955 100644 --- a/pkg/cloudbroker/image/grant_access.go +++ b/pkg/cloudbroker/image/grant_access.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GrantAccessRequest struct to share image with accounts diff --git a/pkg/cloudbroker/image/image.go b/pkg/cloudbroker/image/image.go index 1bed809..4cd9cff 100644 --- a/pkg/cloudbroker/image/image.go +++ b/pkg/cloudbroker/image/image.go @@ -1,7 +1,7 @@ // Lists all the images. A image is a template which can be used to deploy machines package image -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to image type Image struct { diff --git a/pkg/cloudbroker/image/link.go b/pkg/cloudbroker/image/link.go index 2213f5c..fb605be 100644 --- a/pkg/cloudbroker/image/link.go +++ b/pkg/cloudbroker/image/link.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // LinkRequest struct to link virtual image to another image diff --git a/pkg/cloudbroker/image/list.go b/pkg/cloudbroker/image/list.go index b6f9545..66685f9 100644 --- a/pkg/cloudbroker/image/list.go +++ b/pkg/cloudbroker/image/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of available images diff --git a/pkg/cloudbroker/image/rename.go b/pkg/cloudbroker/image/rename.go index fb7f07f..e6a8a34 100644 --- a/pkg/cloudbroker/image/rename.go +++ b/pkg/cloudbroker/image/rename.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RenameRequest struct to rename image diff --git a/pkg/cloudbroker/image/revoke_access.go b/pkg/cloudbroker/image/revoke_access.go index ea9c4a6..35a0817 100644 --- a/pkg/cloudbroker/image/revoke_access.go +++ b/pkg/cloudbroker/image/revoke_access.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RevokeAccessRequest struct to unshare image with accounts diff --git a/pkg/cloudbroker/image/serialize.go b/pkg/cloudbroker/image/serialize.go index b2a1591..c291196 100644 --- a/pkg/cloudbroker/image/serialize.go +++ b/pkg/cloudbroker/image/serialize.go @@ -3,7 +3,7 @@ package image import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/image/share.go b/pkg/cloudbroker/image/share.go index 756c706..1b338db 100644 --- a/pkg/cloudbroker/image/share.go +++ b/pkg/cloudbroker/image/share.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ShareRequest struct to share image diff --git a/pkg/cloudbroker/k8ci.go b/pkg/cloudbroker/k8ci.go index eb546bb..9078d70 100644 --- a/pkg/cloudbroker/k8ci.go +++ b/pkg/cloudbroker/k8ci.go @@ -1,7 +1,7 @@ package cloudbroker import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/k8ci" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/k8ci" ) // Accessing the K8CI method group diff --git a/pkg/cloudbroker/k8ci/access_add.go b/pkg/cloudbroker/k8ci/access_add.go index 45b1017..05f2b19 100644 --- a/pkg/cloudbroker/k8ci/access_add.go +++ b/pkg/cloudbroker/k8ci/access_add.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AccessAddRequest struct for adding permission to access to account for a k8ci diff --git a/pkg/cloudbroker/k8ci/access_remove.go b/pkg/cloudbroker/k8ci/access_remove.go index fae0d7d..9d0694d 100644 --- a/pkg/cloudbroker/k8ci/access_remove.go +++ b/pkg/cloudbroker/k8ci/access_remove.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AccessRemoveRequest struct for removing permission to access to account for a k8ci diff --git a/pkg/cloudbroker/k8ci/create.go b/pkg/cloudbroker/k8ci/create.go index 65af37f..92e807c 100644 --- a/pkg/cloudbroker/k8ci/create.go +++ b/pkg/cloudbroker/k8ci/create.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create K8CI instance diff --git a/pkg/cloudbroker/k8ci/delete.go b/pkg/cloudbroker/k8ci/delete.go index 06848e8..1d52809 100644 --- a/pkg/cloudbroker/k8ci/delete.go +++ b/pkg/cloudbroker/k8ci/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete K8CI diff --git a/pkg/cloudbroker/k8ci/disable.go b/pkg/cloudbroker/k8ci/disable.go index 55468b8..15a9b07 100644 --- a/pkg/cloudbroker/k8ci/disable.go +++ b/pkg/cloudbroker/k8ci/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableRequest struct to disable K8CI diff --git a/pkg/cloudbroker/k8ci/enable.go b/pkg/cloudbroker/k8ci/enable.go index 742b265..ea64061 100644 --- a/pkg/cloudbroker/k8ci/enable.go +++ b/pkg/cloudbroker/k8ci/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to enable K8CI diff --git a/pkg/cloudbroker/k8ci/get.go b/pkg/cloudbroker/k8ci/get.go index e9093c2..df6599a 100644 --- a/pkg/cloudbroker/k8ci/get.go +++ b/pkg/cloudbroker/k8ci/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about K8CI diff --git a/pkg/cloudbroker/k8ci/k8ci.go b/pkg/cloudbroker/k8ci/k8ci.go index 0d9bf59..6d36e21 100644 --- a/pkg/cloudbroker/k8ci/k8ci.go +++ b/pkg/cloudbroker/k8ci/k8ci.go @@ -2,7 +2,7 @@ package k8ci import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to K8CI diff --git a/pkg/cloudbroker/k8ci/list.go b/pkg/cloudbroker/k8ci/list.go index fe9abe0..fa51659 100644 --- a/pkg/cloudbroker/k8ci/list.go +++ b/pkg/cloudbroker/k8ci/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list information about images diff --git a/pkg/cloudbroker/k8ci/list_deleted.go b/pkg/cloudbroker/k8ci/list_deleted.go index 68dce58..ebfb95b 100644 --- a/pkg/cloudbroker/k8ci/list_deleted.go +++ b/pkg/cloudbroker/k8ci/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get list information about deleted k8ci items diff --git a/pkg/cloudbroker/k8ci/restore.go b/pkg/cloudbroker/k8ci/restore.go index ec8968c..266cbec 100644 --- a/pkg/cloudbroker/k8ci/restore.go +++ b/pkg/cloudbroker/k8ci/restore.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreRequest struct to restore K8CI diff --git a/pkg/cloudbroker/k8ci/serialize.go b/pkg/cloudbroker/k8ci/serialize.go index c5aefc6..7ae08c8 100644 --- a/pkg/cloudbroker/k8ci/serialize.go +++ b/pkg/cloudbroker/k8ci/serialize.go @@ -3,7 +3,7 @@ package k8ci import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/k8s.go b/pkg/cloudbroker/k8s.go index 8abd7ba..a08f074 100644 --- a/pkg/cloudbroker/k8s.go +++ b/pkg/cloudbroker/k8s.go @@ -1,7 +1,7 @@ package cloudbroker import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/k8s" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/k8s" ) // Accessing the K8S method group diff --git a/pkg/cloudbroker/k8s/create.go b/pkg/cloudbroker/k8s/create.go index 5ac1438..7cffc63 100644 --- a/pkg/cloudbroker/k8s/create.go +++ b/pkg/cloudbroker/k8s/create.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create K8S diff --git a/pkg/cloudbroker/k8s/delete.go b/pkg/cloudbroker/k8s/delete.go index b8f69ed..7a76436 100644 --- a/pkg/cloudbroker/k8s/delete.go +++ b/pkg/cloudbroker/k8s/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete kubernetes cluster diff --git a/pkg/cloudbroker/k8s/delete_master_from_group.go b/pkg/cloudbroker/k8s/delete_master_from_group.go index 91ee170..d41596d 100644 --- a/pkg/cloudbroker/k8s/delete_master_from_group.go +++ b/pkg/cloudbroker/k8s/delete_master_from_group.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteMasterFromGroupRequest struct to delete master from group diff --git a/pkg/cloudbroker/k8s/delete_worker_from_group.go b/pkg/cloudbroker/k8s/delete_worker_from_group.go index f9962d5..c162ec9 100644 --- a/pkg/cloudbroker/k8s/delete_worker_from_group.go +++ b/pkg/cloudbroker/k8s/delete_worker_from_group.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteWorkerFromGroupRequest struct to delete worker from group diff --git a/pkg/cloudbroker/k8s/disable.go b/pkg/cloudbroker/k8s/disable.go index f81fb95..945503c 100644 --- a/pkg/cloudbroker/k8s/disable.go +++ b/pkg/cloudbroker/k8s/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableRequest struct to disable kubernetes cluster diff --git a/pkg/cloudbroker/k8s/enable.go b/pkg/cloudbroker/k8s/enable.go index 6672ff5..05893fa 100644 --- a/pkg/cloudbroker/k8s/enable.go +++ b/pkg/cloudbroker/k8s/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to enable kubernetes cluster diff --git a/pkg/cloudbroker/k8s/find_group_by_label.go b/pkg/cloudbroker/k8s/find_group_by_label.go index 0e93d42..28fb1ae 100644 --- a/pkg/cloudbroker/k8s/find_group_by_label.go +++ b/pkg/cloudbroker/k8s/find_group_by_label.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // FindGroupByLabelRequest struct for get information about group of kubernetes cluster diff --git a/pkg/cloudbroker/k8s/get.go b/pkg/cloudbroker/k8s/get.go index 0fad478..ff781fc 100644 --- a/pkg/cloudbroker/k8s/get.go +++ b/pkg/cloudbroker/k8s/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get detailed information about kubernetes cluster diff --git a/pkg/cloudbroker/k8s/get_config.go b/pkg/cloudbroker/k8s/get_config.go index 445c57f..3af76cf 100644 --- a/pkg/cloudbroker/k8s/get_config.go +++ b/pkg/cloudbroker/k8s/get_config.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetConfigRequest struct to get configuration of kubernetes cluster diff --git a/pkg/cloudbroker/k8s/get_node_annotations.go b/pkg/cloudbroker/k8s/get_node_annotations.go index 9de1073..adca0b5 100644 --- a/pkg/cloudbroker/k8s/get_node_annotations.go +++ b/pkg/cloudbroker/k8s/get_node_annotations.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetNodeAnnotationsRequest struct to get node annotations diff --git a/pkg/cloudbroker/k8s/get_node_labels.go b/pkg/cloudbroker/k8s/get_node_labels.go index ca543d9..495c8b9 100644 --- a/pkg/cloudbroker/k8s/get_node_labels.go +++ b/pkg/cloudbroker/k8s/get_node_labels.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetNodeLabelsRequest struct to get worker node labels diff --git a/pkg/cloudbroker/k8s/get_node_taints.go b/pkg/cloudbroker/k8s/get_node_taints.go index cdc15ac..1c2417e 100644 --- a/pkg/cloudbroker/k8s/get_node_taints.go +++ b/pkg/cloudbroker/k8s/get_node_taints.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetNodeTaintsRequest struct to get node taints diff --git a/pkg/cloudbroker/k8s/get_worker_nodes_meta_data.go b/pkg/cloudbroker/k8s/get_worker_nodes_meta_data.go index ed2d587..33d91ba 100644 --- a/pkg/cloudbroker/k8s/get_worker_nodes_meta_data.go +++ b/pkg/cloudbroker/k8s/get_worker_nodes_meta_data.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetWorkerNodesMetaDataRequest struct to get worker group metadata by ID diff --git a/pkg/cloudbroker/k8s/k8s.go b/pkg/cloudbroker/k8s/k8s.go index 3762935..e7e23e8 100644 --- a/pkg/cloudbroker/k8s/k8s.go +++ b/pkg/cloudbroker/k8s/k8s.go @@ -2,7 +2,7 @@ package k8s import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to K8S diff --git a/pkg/cloudbroker/k8s/list.go b/pkg/cloudbroker/k8s/list.go index 837322d..790ab3d 100644 --- a/pkg/cloudbroker/k8s/list.go +++ b/pkg/cloudbroker/k8s/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list information K8S diff --git a/pkg/cloudbroker/k8s/list_deleted.go b/pkg/cloudbroker/k8s/list_deleted.go index 1ff35a3..6e227a7 100644 --- a/pkg/cloudbroker/k8s/list_deleted.go +++ b/pkg/cloudbroker/k8s/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get list of deleted kubernetes cluster diff --git a/pkg/cloudbroker/k8s/migrate_to_zone.go b/pkg/cloudbroker/k8s/migrate_to_zone.go index 74cacdd..2abde1f 100644 --- a/pkg/cloudbroker/k8s/migrate_to_zone.go +++ b/pkg/cloudbroker/k8s/migrate_to_zone.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateToZone struct to move k8s cluster to another zone diff --git a/pkg/cloudbroker/k8s/restore.go b/pkg/cloudbroker/k8s/restore.go index 1371e7e..6475d9e 100644 --- a/pkg/cloudbroker/k8s/restore.go +++ b/pkg/cloudbroker/k8s/restore.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreRequest struct to restore kubernetes cluster diff --git a/pkg/cloudbroker/k8s/serialize.go b/pkg/cloudbroker/k8s/serialize.go index 74db914..c56ced0 100644 --- a/pkg/cloudbroker/k8s/serialize.go +++ b/pkg/cloudbroker/k8s/serialize.go @@ -3,7 +3,7 @@ package k8s import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/k8s/start.go b/pkg/cloudbroker/k8s/start.go index 9f7db91..e912f15 100644 --- a/pkg/cloudbroker/k8s/start.go +++ b/pkg/cloudbroker/k8s/start.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StartRequest struct to start kubernetes cluster diff --git a/pkg/cloudbroker/k8s/stop.go b/pkg/cloudbroker/k8s/stop.go index 45cfad6..e0b9a96 100644 --- a/pkg/cloudbroker/k8s/stop.go +++ b/pkg/cloudbroker/k8s/stop.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StopRequest struct to stop kubernetes cluster diff --git a/pkg/cloudbroker/k8s/update.go b/pkg/cloudbroker/k8s/update.go index f16ac70..c5b67b6 100644 --- a/pkg/cloudbroker/k8s/update.go +++ b/pkg/cloudbroker/k8s/update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update kubernetes cluster diff --git a/pkg/cloudbroker/k8s/update_worker_nodes_meta_data.go b/pkg/cloudbroker/k8s/update_worker_nodes_meta_data.go index 2448bed..5d503f8 100644 --- a/pkg/cloudbroker/k8s/update_worker_nodes_meta_data.go +++ b/pkg/cloudbroker/k8s/update_worker_nodes_meta_data.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateWorkerNodesMetaDataRequest struct to add worker to a kubernetes cluster diff --git a/pkg/cloudbroker/k8s/worker_add.go b/pkg/cloudbroker/k8s/worker_add.go index cb1d1ac..1dbe94e 100644 --- a/pkg/cloudbroker/k8s/worker_add.go +++ b/pkg/cloudbroker/k8s/worker_add.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // WorkerAddRequest struct to add worker to a kubernetes cluster diff --git a/pkg/cloudbroker/k8s/worker_reset.go b/pkg/cloudbroker/k8s/worker_reset.go index 3a65cd3..e6a6a0f 100644 --- a/pkg/cloudbroker/k8s/worker_reset.go +++ b/pkg/cloudbroker/k8s/worker_reset.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // WorkerResetRequest struct for hard reset kubernetes cluster diff --git a/pkg/cloudbroker/k8s/worker_restart.go b/pkg/cloudbroker/k8s/worker_restart.go index ff6a86d..0f07fe3 100644 --- a/pkg/cloudbroker/k8s/worker_restart.go +++ b/pkg/cloudbroker/k8s/worker_restart.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // WorkerRestartRequest struct to restart worker node diff --git a/pkg/cloudbroker/k8s/workers_group_add.go b/pkg/cloudbroker/k8s/workers_group_add.go index 9e8ed0b..58a039d 100644 --- a/pkg/cloudbroker/k8s/workers_group_add.go +++ b/pkg/cloudbroker/k8s/workers_group_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // WorkersGroupAddRequest struct to add workers group diff --git a/pkg/cloudbroker/k8s/workers_group_delete.go b/pkg/cloudbroker/k8s/workers_group_delete.go index 62de0d5..4ce95f9 100644 --- a/pkg/cloudbroker/k8s/workers_group_delete.go +++ b/pkg/cloudbroker/k8s/workers_group_delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // WorkersGroupDeleteRequest struct to delete workers group diff --git a/pkg/cloudbroker/k8s/workers_group_get_by_name.go b/pkg/cloudbroker/k8s/workers_group_get_by_name.go index 92dec70..b4dc464 100644 --- a/pkg/cloudbroker/k8s/workers_group_get_by_name.go +++ b/pkg/cloudbroker/k8s/workers_group_get_by_name.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // WorkersGroupGetByNameRequest struct to get information about worker group diff --git a/pkg/cloudbroker/kvmx86.go b/pkg/cloudbroker/kvmx86.go index 669ab17..34907c0 100644 --- a/pkg/cloudbroker/kvmx86.go +++ b/pkg/cloudbroker/kvmx86.go @@ -1,7 +1,7 @@ package cloudbroker import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/kvmx86" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/kvmx86" ) // Accessing the KVMX86 method group diff --git a/pkg/cloudbroker/kvmx86/create.go b/pkg/cloudbroker/kvmx86/create.go index 7a9f45f..3ab1b31 100644 --- a/pkg/cloudbroker/kvmx86/create.go +++ b/pkg/cloudbroker/kvmx86/create.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type Interface struct { @@ -193,14 +193,6 @@ type CreateRequest struct { // Required: false NodeID uint64 `url:"node_id,omitempty" json:"node_id,omitempty"` - // System name - // Required: false - IS string `url:"IS,omitempty" json:"IS,omitempty"` - - // Compute purpose - // Required: false - IPAType string `url:"ipaType,omitempty" json:"ipaType,omitempty"` - // Custom fields for Compute. Must be dict // Required: false CustomField string `url:"customFields,omitempty" json:"customFields,omitempty"` diff --git a/pkg/cloudbroker/kvmx86/create_blank.go b/pkg/cloudbroker/kvmx86/create_blank.go index e265b7a..c88d716 100644 --- a/pkg/cloudbroker/kvmx86/create_blank.go +++ b/pkg/cloudbroker/kvmx86/create_blank.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateBlankRequest struct to create KVM x86 VM from scratch diff --git a/pkg/cloudbroker/kvmx86/kvmx86.go b/pkg/cloudbroker/kvmx86/kvmx86.go index dc96558..3a2d3e6 100644 --- a/pkg/cloudbroker/kvmx86/kvmx86.go +++ b/pkg/cloudbroker/kvmx86/kvmx86.go @@ -1,7 +1,7 @@ // API to manage KVM x86 compute instances (x86 VMs) package kvmx86 -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to KVMX86 type KVMX86 struct { diff --git a/pkg/cloudbroker/kvmx86/mass_create.go b/pkg/cloudbroker/kvmx86/mass_create.go index 96aadb9..92c6e9e 100644 --- a/pkg/cloudbroker/kvmx86/mass_create.go +++ b/pkg/cloudbroker/kvmx86/mass_create.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type InterfaceMassCreate struct { diff --git a/pkg/cloudbroker/lb.go b/pkg/cloudbroker/lb.go index 1767be9..b0ef8f2 100644 --- a/pkg/cloudbroker/lb.go +++ b/pkg/cloudbroker/lb.go @@ -1,6 +1,6 @@ package cloudbroker -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/lb" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/lb" // Accessing the LB method group func (cb *CloudBroker) LB() *lb.LB { diff --git a/pkg/cloudbroker/lb/backend_create.go b/pkg/cloudbroker/lb/backend_create.go index 3fcb8df..05b3963 100644 --- a/pkg/cloudbroker/lb/backend_create.go +++ b/pkg/cloudbroker/lb/backend_create.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BackendCreateRequest struct to create backend diff --git a/pkg/cloudbroker/lb/backend_delete.go b/pkg/cloudbroker/lb/backend_delete.go index 58a0ddb..fb95a45 100644 --- a/pkg/cloudbroker/lb/backend_delete.go +++ b/pkg/cloudbroker/lb/backend_delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BackendDeleteRequest struct to delete backend diff --git a/pkg/cloudbroker/lb/backend_server_add.go b/pkg/cloudbroker/lb/backend_server_add.go index 6dd8493..25c0520 100644 --- a/pkg/cloudbroker/lb/backend_server_add.go +++ b/pkg/cloudbroker/lb/backend_server_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BackendServerAddRequest struct to add server definition to the backend diff --git a/pkg/cloudbroker/lb/backend_server_delete.go b/pkg/cloudbroker/lb/backend_server_delete.go index 2737307..b29f517 100644 --- a/pkg/cloudbroker/lb/backend_server_delete.go +++ b/pkg/cloudbroker/lb/backend_server_delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BackendServerDeleteRequest struct to delete server definition diff --git a/pkg/cloudbroker/lb/backend_server_update.go b/pkg/cloudbroker/lb/backend_server_update.go index 6a54e19..2dcab18 100644 --- a/pkg/cloudbroker/lb/backend_server_update.go +++ b/pkg/cloudbroker/lb/backend_server_update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BackendServerUpdateRequest struct to update server diff --git a/pkg/cloudbroker/lb/backend_update.go b/pkg/cloudbroker/lb/backend_update.go index 4b8f933..a58d338 100644 --- a/pkg/cloudbroker/lb/backend_update.go +++ b/pkg/cloudbroker/lb/backend_update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BackendUpdateRequest struct to update backend diff --git a/pkg/cloudbroker/lb/config_reset.go b/pkg/cloudbroker/lb/config_reset.go index 366c8f2..72a9f4d 100644 --- a/pkg/cloudbroker/lb/config_reset.go +++ b/pkg/cloudbroker/lb/config_reset.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ConfigResetRequest struct to reset config diff --git a/pkg/cloudbroker/lb/create.go b/pkg/cloudbroker/lb/create.go index cd1c399..128aea3 100644 --- a/pkg/cloudbroker/lb/create.go +++ b/pkg/cloudbroker/lb/create.go @@ -7,7 +7,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create load balancer diff --git a/pkg/cloudbroker/lb/delete.go b/pkg/cloudbroker/lb/delete.go index 474bac1..c8bb99a 100644 --- a/pkg/cloudbroker/lb/delete.go +++ b/pkg/cloudbroker/lb/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete load balancer diff --git a/pkg/cloudbroker/lb/disable.go b/pkg/cloudbroker/lb/disable.go index de77787..8fea560 100644 --- a/pkg/cloudbroker/lb/disable.go +++ b/pkg/cloudbroker/lb/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableRequest struct to disable load balancer diff --git a/pkg/cloudbroker/lb/enable.go b/pkg/cloudbroker/lb/enable.go index 0b71809..6077a33 100644 --- a/pkg/cloudbroker/lb/enable.go +++ b/pkg/cloudbroker/lb/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to enable load balancer diff --git a/pkg/cloudbroker/lb/filter.go b/pkg/cloudbroker/lb/filter.go index 9ff17e0..f39657e 100644 --- a/pkg/cloudbroker/lb/filter.go +++ b/pkg/cloudbroker/lb/filter.go @@ -3,8 +3,8 @@ package lb import ( "context" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/k8s" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/k8s" ) // FilterByID returns ListLB with specified ID. diff --git a/pkg/cloudbroker/lb/frontend_bind.go b/pkg/cloudbroker/lb/frontend_bind.go index f169789..2c4c8b2 100644 --- a/pkg/cloudbroker/lb/frontend_bind.go +++ b/pkg/cloudbroker/lb/frontend_bind.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // FrontendBindRequest struct for frontend bind diff --git a/pkg/cloudbroker/lb/frontend_bind_delete.go b/pkg/cloudbroker/lb/frontend_bind_delete.go index fd15b82..41edfbd 100644 --- a/pkg/cloudbroker/lb/frontend_bind_delete.go +++ b/pkg/cloudbroker/lb/frontend_bind_delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // FrontendBindDeleteRequest struct to delete bind diff --git a/pkg/cloudbroker/lb/frontend_binding_update.go b/pkg/cloudbroker/lb/frontend_binding_update.go index 7e52e90..7e75219 100644 --- a/pkg/cloudbroker/lb/frontend_binding_update.go +++ b/pkg/cloudbroker/lb/frontend_binding_update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // FrontendBindUpdateRequest struct for update binding diff --git a/pkg/cloudbroker/lb/frontend_create.go b/pkg/cloudbroker/lb/frontend_create.go index 358f6f1..7b7d8d1 100644 --- a/pkg/cloudbroker/lb/frontend_create.go +++ b/pkg/cloudbroker/lb/frontend_create.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // FrontendCreateRequest struct for create frontend diff --git a/pkg/cloudbroker/lb/frontend_delete.go b/pkg/cloudbroker/lb/frontend_delete.go index f1c3334..9d5b3f3 100644 --- a/pkg/cloudbroker/lb/frontend_delete.go +++ b/pkg/cloudbroker/lb/frontend_delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // FrontendDeleteRequest struct for delete frontend diff --git a/pkg/cloudbroker/lb/get.go b/pkg/cloudbroker/lb/get.go index a53a182..239d70b 100644 --- a/pkg/cloudbroker/lb/get.go +++ b/pkg/cloudbroker/lb/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get detailed information about load balancer diff --git a/pkg/cloudbroker/lb/lb.go b/pkg/cloudbroker/lb/lb.go index 0064889..2fd1369 100644 --- a/pkg/cloudbroker/lb/lb.go +++ b/pkg/cloudbroker/lb/lb.go @@ -1,7 +1,7 @@ // API to manage load balancer instance package lb -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to load balancer type LB struct { diff --git a/pkg/cloudbroker/lb/list.go b/pkg/cloudbroker/lb/list.go index 18ecb43..a2056fc 100644 --- a/pkg/cloudbroker/lb/list.go +++ b/pkg/cloudbroker/lb/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of load balancers diff --git a/pkg/cloudbroker/lb/list_deleted.go b/pkg/cloudbroker/lb/list_deleted.go index 8b5f423..67b559c 100644 --- a/pkg/cloudbroker/lb/list_deleted.go +++ b/pkg/cloudbroker/lb/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get list of deleted load balancers diff --git a/pkg/cloudbroker/lb/make_highly_available.go b/pkg/cloudbroker/lb/make_highly_available.go index 27d9a2a..c61298f 100644 --- a/pkg/cloudbroker/lb/make_highly_available.go +++ b/pkg/cloudbroker/lb/make_highly_available.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // HighlyAvailableRequest struct to make Load Balancer Highly available diff --git a/pkg/cloudbroker/lb/migrate_to_zone.go b/pkg/cloudbroker/lb/migrate_to_zone.go index 10e1e72..d033bd5 100644 --- a/pkg/cloudbroker/lb/migrate_to_zone.go +++ b/pkg/cloudbroker/lb/migrate_to_zone.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateToZone struct to move lb to another zone diff --git a/pkg/cloudbroker/lb/restart.go b/pkg/cloudbroker/lb/restart.go index 05c26f7..a608805 100644 --- a/pkg/cloudbroker/lb/restart.go +++ b/pkg/cloudbroker/lb/restart.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestartRequest struct to restart load balancer diff --git a/pkg/cloudbroker/lb/restore.go b/pkg/cloudbroker/lb/restore.go index ad4f81c..ca7647f 100644 --- a/pkg/cloudbroker/lb/restore.go +++ b/pkg/cloudbroker/lb/restore.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreRequest struct to restore load balancer diff --git a/pkg/cloudbroker/lb/serialize.go b/pkg/cloudbroker/lb/serialize.go index 2e509f3..9e6f572 100644 --- a/pkg/cloudbroker/lb/serialize.go +++ b/pkg/cloudbroker/lb/serialize.go @@ -3,7 +3,7 @@ package lb import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/lb/start.go b/pkg/cloudbroker/lb/start.go index 63e9f4e..adebe0e 100644 --- a/pkg/cloudbroker/lb/start.go +++ b/pkg/cloudbroker/lb/start.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StartRequest struct to start load balancer diff --git a/pkg/cloudbroker/lb/stop.go b/pkg/cloudbroker/lb/stop.go index 41397a0..c6e1851 100644 --- a/pkg/cloudbroker/lb/stop.go +++ b/pkg/cloudbroker/lb/stop.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StopRequest struct to stop load balancer diff --git a/pkg/cloudbroker/lb/update.go b/pkg/cloudbroker/lb/update.go index 8d248a0..2072f32 100644 --- a/pkg/cloudbroker/lb/update.go +++ b/pkg/cloudbroker/lb/update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update load balancer diff --git a/pkg/cloudbroker/lb/update_sysctl_params.go b/pkg/cloudbroker/lb/update_sysctl_params.go index 714653d..de61a79 100644 --- a/pkg/cloudbroker/lb/update_sysctl_params.go +++ b/pkg/cloudbroker/lb/update_sysctl_params.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateSysctParamsRequest struct to update sysct params for lb diff --git a/pkg/cloudbroker/node.go b/pkg/cloudbroker/node.go index 77e6c4f..9a054ca 100644 --- a/pkg/cloudbroker/node.go +++ b/pkg/cloudbroker/node.go @@ -1,6 +1,6 @@ package cloudbroker -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/node" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/node" // Accessing the Node method group func (cb *CloudBroker) Node() *node.Node { diff --git a/pkg/cloudbroker/node/add_ssh_identity.go b/pkg/cloudbroker/node/add_ssh_identity.go index 8fbdb85..4dfa2ae 100644 --- a/pkg/cloudbroker/node/add_ssh_identity.go +++ b/pkg/cloudbroker/node/add_ssh_identity.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AddSSHIdentityRequest struct to add node ssh information diff --git a/pkg/cloudbroker/node/apply_ipmi_action.go b/pkg/cloudbroker/node/apply_ipmi_action.go index 167e72e..897c23e 100644 --- a/pkg/cloudbroker/node/apply_ipmi_action.go +++ b/pkg/cloudbroker/node/apply_ipmi_action.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ApplyIpmiActionRequest struct to apply ipmi action on node diff --git a/pkg/cloudbroker/node/autostart.go b/pkg/cloudbroker/node/autostart.go index c78f0e9..10f7d72 100644 --- a/pkg/cloudbroker/node/autostart.go +++ b/pkg/cloudbroker/node/autostart.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AutoStartRequest struct to set node autostart diff --git a/pkg/cloudbroker/node/consumption.go b/pkg/cloudbroker/node/consumption.go index 3466ecf..4ba6ca9 100644 --- a/pkg/cloudbroker/node/consumption.go +++ b/pkg/cloudbroker/node/consumption.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ConsumptionRequest struct to get node summary by resources and consumption diff --git a/pkg/cloudbroker/node/decommission.go b/pkg/cloudbroker/node/decommission.go index 8bca8d1..2449487 100644 --- a/pkg/cloudbroker/node/decommission.go +++ b/pkg/cloudbroker/node/decommission.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DecommissionRequest struct to set node status to DECOMMISSIONED diff --git a/pkg/cloudbroker/node/enable.go b/pkg/cloudbroker/node/enable.go index 951343a..16d11b9 100644 --- a/pkg/cloudbroker/node/enable.go +++ b/pkg/cloudbroker/node/enable.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to enable node from maintenance status to enabled diff --git a/pkg/cloudbroker/node/enable_nodes.go b/pkg/cloudbroker/node/enable_nodes.go index 2b87422..0e6111c 100644 --- a/pkg/cloudbroker/node/enable_nodes.go +++ b/pkg/cloudbroker/node/enable_nodes.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableNodesRequest struct to enable nodes from maintenance status to enabled diff --git a/pkg/cloudbroker/node/get.go b/pkg/cloudbroker/node/get.go index 7311211..d8233ca 100644 --- a/pkg/cloudbroker/node/get.go +++ b/pkg/cloudbroker/node/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get detailed information about node diff --git a/pkg/cloudbroker/node/get_logical_cores_count.go b/pkg/cloudbroker/node/get_logical_cores_count.go index e51143c..6d53efe 100644 --- a/pkg/cloudbroker/node/get_logical_cores_count.go +++ b/pkg/cloudbroker/node/get_logical_cores_count.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetLogicalCoresCountRequest struct to get logical cores count by node diff --git a/pkg/cloudbroker/node/get_ssh_identity.go b/pkg/cloudbroker/node/get_ssh_identity.go index bc69db5..caeaa21 100644 --- a/pkg/cloudbroker/node/get_ssh_identity.go +++ b/pkg/cloudbroker/node/get_ssh_identity.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetSSHIdentityRequest struct to get node ssh information diff --git a/pkg/cloudbroker/node/list.go b/pkg/cloudbroker/node/list.go index b290b78..b909745 100644 --- a/pkg/cloudbroker/node/list.go +++ b/pkg/cloudbroker/node/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of nodes @@ -49,6 +49,10 @@ type ListRequest struct { // Page size // Required: false Size uint64 `url:"size,omitempty" json:"size,omitempty"` + + // Find by zone ID + // Required: false + ZoneID uint64 `url:"zone_id,omitempty" json:"zone_id,omitempty"` } // List gets list of all nodes as a ListNodes struct diff --git a/pkg/cloudbroker/node/maintenance.go b/pkg/cloudbroker/node/maintenance.go index 7172a2a..3c8dff1 100644 --- a/pkg/cloudbroker/node/maintenance.go +++ b/pkg/cloudbroker/node/maintenance.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MaintenanceRequest struct to place node in maintenance state diff --git a/pkg/cloudbroker/node/node.go b/pkg/cloudbroker/node/node.go index 21eee00..aa2c3e6 100644 --- a/pkg/cloudbroker/node/node.go +++ b/pkg/cloudbroker/node/node.go @@ -2,7 +2,7 @@ package node import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to node diff --git a/pkg/cloudbroker/node/restrict.go b/pkg/cloudbroker/node/restrict.go index e23cbc3..83fed5b 100644 --- a/pkg/cloudbroker/node/restrict.go +++ b/pkg/cloudbroker/node/restrict.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestrictRequest struct to set node status to 'RESTRICTED' diff --git a/pkg/cloudbroker/node/serialize.go b/pkg/cloudbroker/node/serialize.go index 8c24d53..afdfc6b 100644 --- a/pkg/cloudbroker/node/serialize.go +++ b/pkg/cloudbroker/node/serialize.go @@ -3,7 +3,7 @@ package node import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/node/set_core_isolation.go b/pkg/cloudbroker/node/set_core_isolation.go index 8393f41..c47c7c4 100644 --- a/pkg/cloudbroker/node/set_core_isolation.go +++ b/pkg/cloudbroker/node/set_core_isolation.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetCoreIsolationRequest struct to isolate selected cores on node boot diff --git a/pkg/cloudbroker/node/set_cpu_allocation_ratio.go b/pkg/cloudbroker/node/set_cpu_allocation_ratio.go index 77ed2e1..bf9aa67 100644 --- a/pkg/cloudbroker/node/set_cpu_allocation_ratio.go +++ b/pkg/cloudbroker/node/set_cpu_allocation_ratio.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetCpuAllocationRatioRequest struct to set CPU allocation ratio diff --git a/pkg/cloudbroker/node/set_huge_pages.go b/pkg/cloudbroker/node/set_huge_pages.go index 9df68d6..cb71767 100644 --- a/pkg/cloudbroker/node/set_huge_pages.go +++ b/pkg/cloudbroker/node/set_huge_pages.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetHugePagesRequest struct to set on-boot Huge Pages configuration diff --git a/pkg/cloudbroker/node/set_mem_allocation_ratio.go b/pkg/cloudbroker/node/set_mem_allocation_ratio.go index 0cc73f6..8e06d93 100644 --- a/pkg/cloudbroker/node/set_mem_allocation_ratio.go +++ b/pkg/cloudbroker/node/set_mem_allocation_ratio.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetMemAllocationRatioRequest struct to set memory allocation ratio diff --git a/pkg/cloudbroker/node/set_sriov_status.go b/pkg/cloudbroker/node/set_sriov_status.go index 7fceeda..b7b18cd 100644 --- a/pkg/cloudbroker/node/set_sriov_status.go +++ b/pkg/cloudbroker/node/set_sriov_status.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetSRIOVStatusRequest struct to set Single-root input/output virtualization kernel config on node diff --git a/pkg/cloudbroker/node/set_vfs_number.go b/pkg/cloudbroker/node/set_vfs_number.go index 1562846..fa46833 100644 --- a/pkg/cloudbroker/node/set_vfs_number.go +++ b/pkg/cloudbroker/node/set_vfs_number.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetVFsNumberRequest struct to set number of VFs for individual NIC on node diff --git a/pkg/cloudbroker/node/set_vfs_params.go b/pkg/cloudbroker/node/set_vfs_params.go index 807a877..29c2ad2 100644 --- a/pkg/cloudbroker/node/set_vfs_params.go +++ b/pkg/cloudbroker/node/set_vfs_params.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type VFParam struct { diff --git a/pkg/cloudbroker/node/update.go b/pkg/cloudbroker/node/update.go index f575474..c243aa0 100644 --- a/pkg/cloudbroker/node/update.go +++ b/pkg/cloudbroker/node/update.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update node for actual version diff --git a/pkg/cloudbroker/node/update_description.go b/pkg/cloudbroker/node/update_description.go index 7bdce02..e451ef5 100644 --- a/pkg/cloudbroker/node/update_description.go +++ b/pkg/cloudbroker/node/update_description.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateDescriptionRequest struct to update description of the node diff --git a/pkg/cloudbroker/pcidevice.go b/pkg/cloudbroker/pcidevice.go index 64b0fa6..20066f1 100644 --- a/pkg/cloudbroker/pcidevice.go +++ b/pkg/cloudbroker/pcidevice.go @@ -1,6 +1,6 @@ package cloudbroker -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/pcidevice" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/pcidevice" // Accessing the PCI Device method group func (cb *CloudBroker) PCIDevice() *pcidevice.PCIDevice { diff --git a/pkg/cloudbroker/pcidevice/create.go b/pkg/cloudbroker/pcidevice/create.go index e5cb10a..de31599 100644 --- a/pkg/cloudbroker/pcidevice/create.go +++ b/pkg/cloudbroker/pcidevice/create.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to creating PCI device diff --git a/pkg/cloudbroker/pcidevice/delete.go b/pkg/cloudbroker/pcidevice/delete.go index 1a860fa..67357ff 100644 --- a/pkg/cloudbroker/pcidevice/delete.go +++ b/pkg/cloudbroker/pcidevice/delete.go @@ -3,7 +3,7 @@ package pcidevice import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" "strconv" ) diff --git a/pkg/cloudbroker/pcidevice/disable.go b/pkg/cloudbroker/pcidevice/disable.go index 84c0be1..c52993d 100644 --- a/pkg/cloudbroker/pcidevice/disable.go +++ b/pkg/cloudbroker/pcidevice/disable.go @@ -3,7 +3,7 @@ package pcidevice import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" "strconv" ) diff --git a/pkg/cloudbroker/pcidevice/enable.go b/pkg/cloudbroker/pcidevice/enable.go index b2a2b0b..cbab9b5 100644 --- a/pkg/cloudbroker/pcidevice/enable.go +++ b/pkg/cloudbroker/pcidevice/enable.go @@ -3,7 +3,7 @@ package pcidevice import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" "strconv" ) diff --git a/pkg/cloudbroker/pcidevice/list.go b/pkg/cloudbroker/pcidevice/list.go index 17e0d57..c738c82 100644 --- a/pkg/cloudbroker/pcidevice/list.go +++ b/pkg/cloudbroker/pcidevice/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of pci devices diff --git a/pkg/cloudbroker/pcidevice/pcidevice.go b/pkg/cloudbroker/pcidevice/pcidevice.go index 50f72b5..8a3a2e4 100644 --- a/pkg/cloudbroker/pcidevice/pcidevice.go +++ b/pkg/cloudbroker/pcidevice/pcidevice.go @@ -1,6 +1,6 @@ package pcidevice -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to PCI device type PCIDevice struct { diff --git a/pkg/cloudbroker/pcidevice/serialize.go b/pkg/cloudbroker/pcidevice/serialize.go index 163ad0e..dc801e5 100644 --- a/pkg/cloudbroker/pcidevice/serialize.go +++ b/pkg/cloudbroker/pcidevice/serialize.go @@ -2,7 +2,7 @@ package pcidevice import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/prometheus.go b/pkg/cloudbroker/prometheus.go index 24a1f29..53c4b8f 100644 --- a/pkg/cloudbroker/prometheus.go +++ b/pkg/cloudbroker/prometheus.go @@ -1,6 +1,6 @@ package cloudbroker -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/prometheus" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/prometheus" // Accessing the Prometheus method group func (cb *CloudBroker) Prometheus() *prometheus.Prometheus { diff --git a/pkg/cloudbroker/prometheus/compute_cpu_load.go b/pkg/cloudbroker/prometheus/compute_cpu_load.go index 92f3589..3a79ae3 100644 --- a/pkg/cloudbroker/prometheus/compute_cpu_load.go +++ b/pkg/cloudbroker/prometheus/compute_cpu_load.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeCPULoadRequest struct { diff --git a/pkg/cloudbroker/prometheus/compute_memory_available.go b/pkg/cloudbroker/prometheus/compute_memory_available.go index 15862d2..15362ee 100644 --- a/pkg/cloudbroker/prometheus/compute_memory_available.go +++ b/pkg/cloudbroker/prometheus/compute_memory_available.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeMemoryAvailableRequest struct { diff --git a/pkg/cloudbroker/prometheus/compute_memory_unused.go b/pkg/cloudbroker/prometheus/compute_memory_unused.go index 0739160..66ad393 100644 --- a/pkg/cloudbroker/prometheus/compute_memory_unused.go +++ b/pkg/cloudbroker/prometheus/compute_memory_unused.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeMemoryUnusedRequest struct { diff --git a/pkg/cloudbroker/prometheus/compute_memory_usable.go b/pkg/cloudbroker/prometheus/compute_memory_usable.go index 8a81e54..1b9ac9e 100644 --- a/pkg/cloudbroker/prometheus/compute_memory_usable.go +++ b/pkg/cloudbroker/prometheus/compute_memory_usable.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeMemoryUsableRequest struct { diff --git a/pkg/cloudbroker/prometheus/compute_memory_usage.go b/pkg/cloudbroker/prometheus/compute_memory_usage.go index 48cebf1..5d319aa 100644 --- a/pkg/cloudbroker/prometheus/compute_memory_usage.go +++ b/pkg/cloudbroker/prometheus/compute_memory_usage.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeMemoryUsageRequest struct { diff --git a/pkg/cloudbroker/prometheus/compute_memory_used.go b/pkg/cloudbroker/prometheus/compute_memory_used.go index 54a03f2..3c5e39b 100644 --- a/pkg/cloudbroker/prometheus/compute_memory_used.go +++ b/pkg/cloudbroker/prometheus/compute_memory_used.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeMemoryUsedRequest struct { diff --git a/pkg/cloudbroker/prometheus/compute_read_bytes.go b/pkg/cloudbroker/prometheus/compute_read_bytes.go index 15a0d57..5ca6893 100644 --- a/pkg/cloudbroker/prometheus/compute_read_bytes.go +++ b/pkg/cloudbroker/prometheus/compute_read_bytes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeReadBytesRequest struct { diff --git a/pkg/cloudbroker/prometheus/compute_read_requests.go b/pkg/cloudbroker/prometheus/compute_read_requests.go index 35f868e..89ff687 100644 --- a/pkg/cloudbroker/prometheus/compute_read_requests.go +++ b/pkg/cloudbroker/prometheus/compute_read_requests.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeReadRequestsRequest struct { diff --git a/pkg/cloudbroker/prometheus/compute_receive_bytes.go b/pkg/cloudbroker/prometheus/compute_receive_bytes.go index 09ee25c..fe3f20d 100644 --- a/pkg/cloudbroker/prometheus/compute_receive_bytes.go +++ b/pkg/cloudbroker/prometheus/compute_receive_bytes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeReceiveBytesRequest struct { diff --git a/pkg/cloudbroker/prometheus/compute_receive_packets.go b/pkg/cloudbroker/prometheus/compute_receive_packets.go index b8eab0f..4252e21 100644 --- a/pkg/cloudbroker/prometheus/compute_receive_packets.go +++ b/pkg/cloudbroker/prometheus/compute_receive_packets.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeReceivePacketsRequest struct { diff --git a/pkg/cloudbroker/prometheus/compute_transmit_bytes.go b/pkg/cloudbroker/prometheus/compute_transmit_bytes.go index 663f841..a578c6e 100644 --- a/pkg/cloudbroker/prometheus/compute_transmit_bytes.go +++ b/pkg/cloudbroker/prometheus/compute_transmit_bytes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeTransmitBytesRequest struct { diff --git a/pkg/cloudbroker/prometheus/compute_transmit_packets.go b/pkg/cloudbroker/prometheus/compute_transmit_packets.go index d7be3de..4aacfbb 100644 --- a/pkg/cloudbroker/prometheus/compute_transmit_packets.go +++ b/pkg/cloudbroker/prometheus/compute_transmit_packets.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeTransmitPacketsRequest struct { diff --git a/pkg/cloudbroker/prometheus/compute_write_bytes.go b/pkg/cloudbroker/prometheus/compute_write_bytes.go index ba75ccf..296cfde 100644 --- a/pkg/cloudbroker/prometheus/compute_write_bytes.go +++ b/pkg/cloudbroker/prometheus/compute_write_bytes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeWriteBytesRequest struct { diff --git a/pkg/cloudbroker/prometheus/compute_write_requests.go b/pkg/cloudbroker/prometheus/compute_write_requests.go index 13b2c8e..9be9c1a 100644 --- a/pkg/cloudbroker/prometheus/compute_write_requests.go +++ b/pkg/cloudbroker/prometheus/compute_write_requests.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ComputeWriteRequestsRequest struct { diff --git a/pkg/cloudbroker/prometheus/computes.go b/pkg/cloudbroker/prometheus/computes.go index ca13951..b16392d 100644 --- a/pkg/cloudbroker/prometheus/computes.go +++ b/pkg/cloudbroker/prometheus/computes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) const ( diff --git a/pkg/cloudbroker/prometheus/prometheus.go b/pkg/cloudbroker/prometheus/prometheus.go index 4f565be..35c36c4 100644 --- a/pkg/cloudbroker/prometheus/prometheus.go +++ b/pkg/cloudbroker/prometheus/prometheus.go @@ -1,7 +1,7 @@ package prometheus import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to prometheus diff --git a/pkg/cloudbroker/resmon.go b/pkg/cloudbroker/resmon.go index 6f1bfc7..69e2b34 100644 --- a/pkg/cloudbroker/resmon.go +++ b/pkg/cloudbroker/resmon.go @@ -1,7 +1,7 @@ package cloudbroker import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/resmon" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/resmon" ) // Accessing the Resmon method group diff --git a/pkg/cloudbroker/resmon/get_by_compute.go b/pkg/cloudbroker/resmon/get_by_compute.go index 2aac1f0..2e6677c 100644 --- a/pkg/cloudbroker/resmon/get_by_compute.go +++ b/pkg/cloudbroker/resmon/get_by_compute.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type GetByComputeRequest struct { diff --git a/pkg/cloudbroker/resmon/get_by_computes.go b/pkg/cloudbroker/resmon/get_by_computes.go index 421bf4e..029d865 100644 --- a/pkg/cloudbroker/resmon/get_by_computes.go +++ b/pkg/cloudbroker/resmon/get_by_computes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type GetByComputesRequest struct { diff --git a/pkg/cloudbroker/resmon/get_by_grid.go b/pkg/cloudbroker/resmon/get_by_grid.go index 83943d4..322f0df 100644 --- a/pkg/cloudbroker/resmon/get_by_grid.go +++ b/pkg/cloudbroker/resmon/get_by_grid.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type GetByGRIDRequest struct { diff --git a/pkg/cloudbroker/resmon/get_by_node.go b/pkg/cloudbroker/resmon/get_by_node.go index f31b0fe..7d2c97b 100644 --- a/pkg/cloudbroker/resmon/get_by_node.go +++ b/pkg/cloudbroker/resmon/get_by_node.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type GetByNodeRequest struct { diff --git a/pkg/cloudbroker/resmon/get_by_nodes.go b/pkg/cloudbroker/resmon/get_by_nodes.go index 576b5be..b77f624 100644 --- a/pkg/cloudbroker/resmon/get_by_nodes.go +++ b/pkg/cloudbroker/resmon/get_by_nodes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type GetByNodesRequest struct { diff --git a/pkg/cloudbroker/resmon/resmon.go b/pkg/cloudbroker/resmon/resmon.go index 5f4a278..ede2017 100644 --- a/pkg/cloudbroker/resmon/resmon.go +++ b/pkg/cloudbroker/resmon/resmon.go @@ -1,6 +1,6 @@ package resmon -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to resource monitoring type Resmon struct { diff --git a/pkg/cloudbroker/rg.go b/pkg/cloudbroker/rg.go index 72bbd31..e4f4f9b 100644 --- a/pkg/cloudbroker/rg.go +++ b/pkg/cloudbroker/rg.go @@ -1,6 +1,6 @@ package cloudbroker -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/rg" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/rg" // Accessing the RG method group func (cb *CloudBroker) RG() *rg.RG { diff --git a/pkg/cloudbroker/rg/access_grant.go b/pkg/cloudbroker/rg/access_grant.go index 4d61b84..9c80b09 100644 --- a/pkg/cloudbroker/rg/access_grant.go +++ b/pkg/cloudbroker/rg/access_grant.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AccessGrantRequest struct to grant access to resource group diff --git a/pkg/cloudbroker/rg/access_revoke.go b/pkg/cloudbroker/rg/access_revoke.go index 54e74d5..0ed640b 100644 --- a/pkg/cloudbroker/rg/access_revoke.go +++ b/pkg/cloudbroker/rg/access_revoke.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AccessRevokeRequest struct to revoke access diff --git a/pkg/cloudbroker/rg/add_storage_policy.go b/pkg/cloudbroker/rg/add_storage_policy.go index f7139c9..410ba09 100644 --- a/pkg/cloudbroker/rg/add_storage_policy.go +++ b/pkg/cloudbroker/rg/add_storage_policy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AddStoragePolicyRequest struct for adding storage policy to the resource group diff --git a/pkg/cloudbroker/rg/affinity_group_computes.go b/pkg/cloudbroker/rg/affinity_group_computes.go index 0403958..d92711b 100644 --- a/pkg/cloudbroker/rg/affinity_group_computes.go +++ b/pkg/cloudbroker/rg/affinity_group_computes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityGroupComputesRequest struct to get list of all computes with their relationships diff --git a/pkg/cloudbroker/rg/affinity_groups_get.go b/pkg/cloudbroker/rg/affinity_groups_get.go index 02b5090..8fe3d50 100644 --- a/pkg/cloudbroker/rg/affinity_groups_get.go +++ b/pkg/cloudbroker/rg/affinity_groups_get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityGroupsGetRequest struct to get list of computes from affinity group diff --git a/pkg/cloudbroker/rg/affinity_groups_list.go b/pkg/cloudbroker/rg/affinity_groups_list.go index d3dd101..541ff61 100644 --- a/pkg/cloudbroker/rg/affinity_groups_list.go +++ b/pkg/cloudbroker/rg/affinity_groups_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AffinityGroupsListRequest struct to get list of affinity groups from resource group diff --git a/pkg/cloudbroker/rg/audits.go b/pkg/cloudbroker/rg/audits.go index e79788d..5e45725 100644 --- a/pkg/cloudbroker/rg/audits.go +++ b/pkg/cloudbroker/rg/audits.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AuditsRequest struct to get audit diff --git a/pkg/cloudbroker/rg/create.go b/pkg/cloudbroker/rg/create.go index ef3f9a5..3cf2397 100644 --- a/pkg/cloudbroker/rg/create.go +++ b/pkg/cloudbroker/rg/create.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create resource group diff --git a/pkg/cloudbroker/rg/del_storage_policy.go b/pkg/cloudbroker/rg/del_storage_policy.go index a37a1b7..2d843e5 100644 --- a/pkg/cloudbroker/rg/del_storage_policy.go +++ b/pkg/cloudbroker/rg/del_storage_policy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DelStoragePolicyRequest struct for deleting storage policy to the resource group diff --git a/pkg/cloudbroker/rg/delete.go b/pkg/cloudbroker/rg/delete.go index 8a20f14..318c287 100644 --- a/pkg/cloudbroker/rg/delete.go +++ b/pkg/cloudbroker/rg/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete resource group diff --git a/pkg/cloudbroker/rg/disable.go b/pkg/cloudbroker/rg/disable.go index dc4fc0c..9dc2e93 100644 --- a/pkg/cloudbroker/rg/disable.go +++ b/pkg/cloudbroker/rg/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableRequest struct to disable resource group diff --git a/pkg/cloudbroker/rg/enable.go b/pkg/cloudbroker/rg/enable.go index 62fc113..7e9c33d 100644 --- a/pkg/cloudbroker/rg/enable.go +++ b/pkg/cloudbroker/rg/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to enable resource group diff --git a/pkg/cloudbroker/rg/get.go b/pkg/cloudbroker/rg/get.go index 569c9aa..9884572 100644 --- a/pkg/cloudbroker/rg/get.go +++ b/pkg/cloudbroker/rg/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get detailed information about resource group diff --git a/pkg/cloudbroker/rg/get_resource_consumption.go b/pkg/cloudbroker/rg/get_resource_consumption.go index 10f26c2..810d4a5 100644 --- a/pkg/cloudbroker/rg/get_resource_consumption.go +++ b/pkg/cloudbroker/rg/get_resource_consumption.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetResourceConsumptionRequest struct to get detailed information about resource consumption for ResGroup diff --git a/pkg/cloudbroker/rg/list.go b/pkg/cloudbroker/rg/list.go index 2a3fa88..dd48a38 100644 --- a/pkg/cloudbroker/rg/list.go +++ b/pkg/cloudbroker/rg/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of resource groups diff --git a/pkg/cloudbroker/rg/list_computes.go b/pkg/cloudbroker/rg/list_computes.go index ed1793f..85b54b0 100644 --- a/pkg/cloudbroker/rg/list_computes.go +++ b/pkg/cloudbroker/rg/list_computes.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListComputesRequest struct to get list of computes diff --git a/pkg/cloudbroker/rg/list_deleted.go b/pkg/cloudbroker/rg/list_deleted.go index 45aa0af..62af4a9 100644 --- a/pkg/cloudbroker/rg/list_deleted.go +++ b/pkg/cloudbroker/rg/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get list of deleted resource groups diff --git a/pkg/cloudbroker/rg/list_lb.go b/pkg/cloudbroker/rg/list_lb.go index 8eb21ec..468c269 100644 --- a/pkg/cloudbroker/rg/list_lb.go +++ b/pkg/cloudbroker/rg/list_lb.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListLBRequest struct to get list of load balancers diff --git a/pkg/cloudbroker/rg/list_pfw.go b/pkg/cloudbroker/rg/list_pfw.go index 75d082e..266439b 100644 --- a/pkg/cloudbroker/rg/list_pfw.go +++ b/pkg/cloudbroker/rg/list_pfw.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListPFWRequest struct to get list of port forward rules diff --git a/pkg/cloudbroker/rg/list_vins.go b/pkg/cloudbroker/rg/list_vins.go index 7e22d28..86455ff 100644 --- a/pkg/cloudbroker/rg/list_vins.go +++ b/pkg/cloudbroker/rg/list_vins.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListVINSRequest struct to get list of VINSes diff --git a/pkg/cloudbroker/rg/mass_delete.go b/pkg/cloudbroker/rg/mass_delete.go index 9d88531..baf16b5 100644 --- a/pkg/cloudbroker/rg/mass_delete.go +++ b/pkg/cloudbroker/rg/mass_delete.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MassDeleteRequest struct to delete several resource groups diff --git a/pkg/cloudbroker/rg/mass_disable.go b/pkg/cloudbroker/rg/mass_disable.go index 00c6590..77c6ef3 100644 --- a/pkg/cloudbroker/rg/mass_disable.go +++ b/pkg/cloudbroker/rg/mass_disable.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MassDisableRequest struct to disable several resource groups diff --git a/pkg/cloudbroker/rg/mass_enable.go b/pkg/cloudbroker/rg/mass_enable.go index 50ad36b..15564d5 100644 --- a/pkg/cloudbroker/rg/mass_enable.go +++ b/pkg/cloudbroker/rg/mass_enable.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MassEnableRequest struct to enable several resource groups diff --git a/pkg/cloudbroker/rg/remove_def_net.go b/pkg/cloudbroker/rg/remove_def_net.go index 4e7707b..c07ac35 100644 --- a/pkg/cloudbroker/rg/remove_def_net.go +++ b/pkg/cloudbroker/rg/remove_def_net.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RemoveDefNetRequest struct to remove default network diff --git a/pkg/cloudbroker/rg/restore.go b/pkg/cloudbroker/rg/restore.go index 25f28c1..6602aaa 100644 --- a/pkg/cloudbroker/rg/restore.go +++ b/pkg/cloudbroker/rg/restore.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreRequest struct to restore resource group diff --git a/pkg/cloudbroker/rg/rg.go b/pkg/cloudbroker/rg/rg.go index 1359588..f3d1527 100644 --- a/pkg/cloudbroker/rg/rg.go +++ b/pkg/cloudbroker/rg/rg.go @@ -2,7 +2,7 @@ package rg import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to resource group diff --git a/pkg/cloudbroker/rg/serialize.go b/pkg/cloudbroker/rg/serialize.go index 4f71b46..c5945ff 100644 --- a/pkg/cloudbroker/rg/serialize.go +++ b/pkg/cloudbroker/rg/serialize.go @@ -3,7 +3,7 @@ package rg import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/rg/set_cpu_allocation_parameter.go b/pkg/cloudbroker/rg/set_cpu_allocation_parameter.go index 654030d..f61cd18 100644 --- a/pkg/cloudbroker/rg/set_cpu_allocation_parameter.go +++ b/pkg/cloudbroker/rg/set_cpu_allocation_parameter.go @@ -3,7 +3,7 @@ package rg import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" "strconv" ) diff --git a/pkg/cloudbroker/rg/set_cpu_allocation_ratio.go b/pkg/cloudbroker/rg/set_cpu_allocation_ratio.go index e91679b..5c0160c 100644 --- a/pkg/cloudbroker/rg/set_cpu_allocation_ratio.go +++ b/pkg/cloudbroker/rg/set_cpu_allocation_ratio.go @@ -3,7 +3,7 @@ package rg import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" "strconv" ) diff --git a/pkg/cloudbroker/rg/set_def_net.go b/pkg/cloudbroker/rg/set_def_net.go index db13223..1d94d38 100644 --- a/pkg/cloudbroker/rg/set_def_net.go +++ b/pkg/cloudbroker/rg/set_def_net.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SetDefNetRequest struct to set default network diff --git a/pkg/cloudbroker/rg/update.go b/pkg/cloudbroker/rg/update.go index f2375d1..121c86e 100644 --- a/pkg/cloudbroker/rg/update.go +++ b/pkg/cloudbroker/rg/update.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update resource group diff --git a/pkg/cloudbroker/rg/update_compute_features.go b/pkg/cloudbroker/rg/update_compute_features.go index 4013d82..2ed4679 100644 --- a/pkg/cloudbroker/rg/update_compute_features.go +++ b/pkg/cloudbroker/rg/update_compute_features.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateComputeFeaturesRequest struct to update advanced compute features diff --git a/pkg/cloudbroker/rg/update_resource_types.go b/pkg/cloudbroker/rg/update_resource_types.go index 6cb6ada..841a263 100644 --- a/pkg/cloudbroker/rg/update_resource_types.go +++ b/pkg/cloudbroker/rg/update_resource_types.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateResourceTypesRequest struct to update resource types in account diff --git a/pkg/cloudbroker/rg/usage.go b/pkg/cloudbroker/rg/usage.go index cbaf5fb..e2b0da3 100644 --- a/pkg/cloudbroker/rg/usage.go +++ b/pkg/cloudbroker/rg/usage.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UsageRequest struct to get report of resource usage diff --git a/pkg/cloudbroker/secgroup/create.go b/pkg/cloudbroker/secgroup/create.go index 438663d..58642dd 100644 --- a/pkg/cloudbroker/secgroup/create.go +++ b/pkg/cloudbroker/secgroup/create.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type CreateRequest struct { diff --git a/pkg/cloudbroker/secgroup/create_rule.go b/pkg/cloudbroker/secgroup/create_rule.go index c426621..b9cfaaa 100644 --- a/pkg/cloudbroker/secgroup/create_rule.go +++ b/pkg/cloudbroker/secgroup/create_rule.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type CreateRuleRequest struct { diff --git a/pkg/cloudbroker/secgroup/delete.go b/pkg/cloudbroker/secgroup/delete.go index 5c15e26..2b3f173 100644 --- a/pkg/cloudbroker/secgroup/delete.go +++ b/pkg/cloudbroker/secgroup/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type DeleteRequest struct { diff --git a/pkg/cloudbroker/secgroup/delete_rule.go b/pkg/cloudbroker/secgroup/delete_rule.go index 98805f7..26547f7 100644 --- a/pkg/cloudbroker/secgroup/delete_rule.go +++ b/pkg/cloudbroker/secgroup/delete_rule.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type DeleteRuleRequest struct { diff --git a/pkg/cloudbroker/secgroup/get.go b/pkg/cloudbroker/secgroup/get.go index fe9610e..8424dbb 100644 --- a/pkg/cloudbroker/secgroup/get.go +++ b/pkg/cloudbroker/secgroup/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type GetRequest struct { diff --git a/pkg/cloudbroker/secgroup/list.go b/pkg/cloudbroker/secgroup/list.go index d4c84b5..9fdd453 100644 --- a/pkg/cloudbroker/secgroup/list.go +++ b/pkg/cloudbroker/secgroup/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ListRequest struct { diff --git a/pkg/cloudbroker/secgroup/security_group.go b/pkg/cloudbroker/secgroup/security_group.go index fab9869..89df9f3 100644 --- a/pkg/cloudbroker/secgroup/security_group.go +++ b/pkg/cloudbroker/secgroup/security_group.go @@ -1,6 +1,6 @@ package secgroup -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to storage policy type SecurityGroup struct { diff --git a/pkg/cloudbroker/secgroup/update.go b/pkg/cloudbroker/secgroup/update.go index 271d7a3..710f618 100644 --- a/pkg/cloudbroker/secgroup/update.go +++ b/pkg/cloudbroker/secgroup/update.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type UpdateRequest struct { diff --git a/pkg/cloudbroker/securitygroup.go b/pkg/cloudbroker/securitygroup.go index 59a9f14..81c0979 100644 --- a/pkg/cloudbroker/securitygroup.go +++ b/pkg/cloudbroker/securitygroup.go @@ -1,7 +1,7 @@ package cloudbroker import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/secgroup" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/secgroup" ) // Accessing the Security Group method group diff --git a/pkg/cloudbroker/sep.go b/pkg/cloudbroker/sep.go index d47ac01..05df849 100644 --- a/pkg/cloudbroker/sep.go +++ b/pkg/cloudbroker/sep.go @@ -1,6 +1,6 @@ package cloudbroker -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/sep" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/sep" // Accessing the SEP method group func (cb *CloudBroker) SEP() *sep.SEP { diff --git a/pkg/cloudbroker/sep/access_grant.go b/pkg/cloudbroker/sep/access_grant.go index 40b7f2c..ab4eac6 100644 --- a/pkg/cloudbroker/sep/access_grant.go +++ b/pkg/cloudbroker/sep/access_grant.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AccessGrantRequest struct to grant access to SEP diff --git a/pkg/cloudbroker/sep/access_grant_to_pool.go b/pkg/cloudbroker/sep/access_grant_to_pool.go index 3448c8b..f6878c0 100644 --- a/pkg/cloudbroker/sep/access_grant_to_pool.go +++ b/pkg/cloudbroker/sep/access_grant_to_pool.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AccessGrantToPoolRequest struct to grant access to pool SEP diff --git a/pkg/cloudbroker/sep/access_revoke.go b/pkg/cloudbroker/sep/access_revoke.go index 45ebbd3..601850b 100644 --- a/pkg/cloudbroker/sep/access_revoke.go +++ b/pkg/cloudbroker/sep/access_revoke.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AccessRevokeRequest struct to revoke access to SEP diff --git a/pkg/cloudbroker/sep/access_revoke_to_pool.go b/pkg/cloudbroker/sep/access_revoke_to_pool.go index cbfcaa9..9d9d53c 100644 --- a/pkg/cloudbroker/sep/access_revoke_to_pool.go +++ b/pkg/cloudbroker/sep/access_revoke_to_pool.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AccessRevokeToPoolRequest struct to revoke access to pool SEP diff --git a/pkg/cloudbroker/sep/add_consumer_nodes.go b/pkg/cloudbroker/sep/add_consumer_nodes.go index 92c4709..a8454be 100644 --- a/pkg/cloudbroker/sep/add_consumer_nodes.go +++ b/pkg/cloudbroker/sep/add_consumer_nodes.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AddConsumerNodesRequest struct to add consumer nodes diff --git a/pkg/cloudbroker/sep/add_pool.go b/pkg/cloudbroker/sep/add_pool.go index 17c1d23..f262741 100644 --- a/pkg/cloudbroker/sep/add_pool.go +++ b/pkg/cloudbroker/sep/add_pool.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AddPoolRequest struct to add pool to storage endpoint (SEP) diff --git a/pkg/cloudbroker/sep/add_provider_nodes.go b/pkg/cloudbroker/sep/add_provider_nodes.go index 79b1d02..e1becd6 100644 --- a/pkg/cloudbroker/sep/add_provider_nodes.go +++ b/pkg/cloudbroker/sep/add_provider_nodes.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AddProviderNodesRequest struct to add provider nodes diff --git a/pkg/cloudbroker/sep/config_field_edit.go b/pkg/cloudbroker/sep/config_field_edit.go index 492b678..1d905c3 100644 --- a/pkg/cloudbroker/sep/config_field_edit.go +++ b/pkg/cloudbroker/sep/config_field_edit.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ConfigFieldEditRequest struct to edit config fields diff --git a/pkg/cloudbroker/sep/config_insert.go b/pkg/cloudbroker/sep/config_insert.go index 6bfd8f9..a9d07e0 100644 --- a/pkg/cloudbroker/sep/config_insert.go +++ b/pkg/cloudbroker/sep/config_insert.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ConfigInsertRequest struct to insert config diff --git a/pkg/cloudbroker/sep/config_validate.go b/pkg/cloudbroker/sep/config_validate.go index 19a81cb..e4241e1 100644 --- a/pkg/cloudbroker/sep/config_validate.go +++ b/pkg/cloudbroker/sep/config_validate.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ConfigValidateRequest struct to validate config diff --git a/pkg/cloudbroker/sep/consumption.go b/pkg/cloudbroker/sep/consumption.go index c9f33d3..1897965 100644 --- a/pkg/cloudbroker/sep/consumption.go +++ b/pkg/cloudbroker/sep/consumption.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ConsumptionRequest struct to get consumption info diff --git a/pkg/cloudbroker/sep/create.go b/pkg/cloudbroker/sep/create.go index ef65a31..886bffa 100644 --- a/pkg/cloudbroker/sep/create.go +++ b/pkg/cloudbroker/sep/create.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create SEP object diff --git a/pkg/cloudbroker/sep/decommission.go b/pkg/cloudbroker/sep/decommission.go index 4bb4d7d..46999bc 100644 --- a/pkg/cloudbroker/sep/decommission.go +++ b/pkg/cloudbroker/sep/decommission.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DecommissionRequest struct for decommission diff --git a/pkg/cloudbroker/sep/del_consumer_nodes.go b/pkg/cloudbroker/sep/del_consumer_nodes.go index b284562..1eed619 100644 --- a/pkg/cloudbroker/sep/del_consumer_nodes.go +++ b/pkg/cloudbroker/sep/del_consumer_nodes.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DelConsumerNodesRequest struct to exclude consumer nodes diff --git a/pkg/cloudbroker/sep/del_pool.go b/pkg/cloudbroker/sep/del_pool.go index d732022..798505b 100644 --- a/pkg/cloudbroker/sep/del_pool.go +++ b/pkg/cloudbroker/sep/del_pool.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DelPoolRequest struct to delete pool from storage endpoint (SEP) diff --git a/pkg/cloudbroker/sep/delete.go b/pkg/cloudbroker/sep/delete.go index 09bed7d..27380f9 100644 --- a/pkg/cloudbroker/sep/delete.go +++ b/pkg/cloudbroker/sep/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete SEP diff --git a/pkg/cloudbroker/sep/disable.go b/pkg/cloudbroker/sep/disable.go index fd9e9ac..85afbfc 100644 --- a/pkg/cloudbroker/sep/disable.go +++ b/pkg/cloudbroker/sep/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableRequest struct to disable SEP diff --git a/pkg/cloudbroker/sep/disk_list.go b/pkg/cloudbroker/sep/disk_list.go index b8ae004..ae3a105 100644 --- a/pkg/cloudbroker/sep/disk_list.go +++ b/pkg/cloudbroker/sep/disk_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DiskListRequest struct to get list of disk IDs diff --git a/pkg/cloudbroker/sep/enable.go b/pkg/cloudbroker/sep/enable.go index d150576..cf06990 100644 --- a/pkg/cloudbroker/sep/enable.go +++ b/pkg/cloudbroker/sep/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to enable SEP diff --git a/pkg/cloudbroker/sep/get.go b/pkg/cloudbroker/sep/get.go index f9776a5..3535009 100644 --- a/pkg/cloudbroker/sep/get.go +++ b/pkg/cloudbroker/sep/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get SEP parameters diff --git a/pkg/cloudbroker/sep/get_config.go b/pkg/cloudbroker/sep/get_config.go index e114b0a..893f442 100644 --- a/pkg/cloudbroker/sep/get_config.go +++ b/pkg/cloudbroker/sep/get_config.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetConfigRequest struct to get SEP config diff --git a/pkg/cloudbroker/sep/get_pool.go b/pkg/cloudbroker/sep/get_pool.go index 1bb7a98..fd6f620 100644 --- a/pkg/cloudbroker/sep/get_pool.go +++ b/pkg/cloudbroker/sep/get_pool.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetPoolRequest struct to get SEP pool config by name diff --git a/pkg/cloudbroker/sep/get_template.go b/pkg/cloudbroker/sep/get_template.go index 0c83bea..c4ea7d4 100644 --- a/pkg/cloudbroker/sep/get_template.go +++ b/pkg/cloudbroker/sep/get_template.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetTemplateRequest struct to get template of SEP diff --git a/pkg/cloudbroker/sep/list.go b/pkg/cloudbroker/sep/list.go index a62c656..ff87005 100644 --- a/pkg/cloudbroker/sep/list.go +++ b/pkg/cloudbroker/sep/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of SEPs diff --git a/pkg/cloudbroker/sep/list_available_sep_and_pools.go b/pkg/cloudbroker/sep/list_available_sep_and_pools.go index a36dd92..f160e05 100644 --- a/pkg/cloudbroker/sep/list_available_sep_and_pools.go +++ b/pkg/cloudbroker/sep/list_available_sep_and_pools.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListAvailableSEPAndPoolsRequest struct to get dict with entry count and list of dict with SEPs and pools details accessible by the Account and RG diff --git a/pkg/cloudbroker/sep/sep.go b/pkg/cloudbroker/sep/sep.go index f31d22f..2b7e603 100644 --- a/pkg/cloudbroker/sep/sep.go +++ b/pkg/cloudbroker/sep/sep.go @@ -2,7 +2,7 @@ package sep import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to storage endpoint provider diff --git a/pkg/cloudbroker/sep/serialize.go b/pkg/cloudbroker/sep/serialize.go index b0fdc96..b9e58b3 100644 --- a/pkg/cloudbroker/sep/serialize.go +++ b/pkg/cloudbroker/sep/serialize.go @@ -3,7 +3,7 @@ package sep import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/sep/shared_lock_start.go b/pkg/cloudbroker/sep/shared_lock_start.go index a6def25..c13ac95 100644 --- a/pkg/cloudbroker/sep/shared_lock_start.go +++ b/pkg/cloudbroker/sep/shared_lock_start.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SharedLockStartRequest struct to start shared locks diff --git a/pkg/cloudbroker/sep/shared_lock_stop.go b/pkg/cloudbroker/sep/shared_lock_stop.go index d4eb88b..2dbff28 100644 --- a/pkg/cloudbroker/sep/shared_lock_stop.go +++ b/pkg/cloudbroker/sep/shared_lock_stop.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // SharedLockStopRequest struct to stop shared locks diff --git a/pkg/cloudbroker/storage_policy.go b/pkg/cloudbroker/storage_policy.go index 7c17029..17507ff 100644 --- a/pkg/cloudbroker/storage_policy.go +++ b/pkg/cloudbroker/storage_policy.go @@ -1,7 +1,7 @@ package cloudbroker import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/stpolicy" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/stpolicy" ) // Accessing the Storage Policy method group diff --git a/pkg/cloudbroker/stpolicy/add_pool.go b/pkg/cloudbroker/stpolicy/add_pool.go index 2f86370..ec201ca 100644 --- a/pkg/cloudbroker/stpolicy/add_pool.go +++ b/pkg/cloudbroker/stpolicy/add_pool.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type AddPoolRequest struct { diff --git a/pkg/cloudbroker/stpolicy/create.go b/pkg/cloudbroker/stpolicy/create.go index a119d30..295bcd8 100644 --- a/pkg/cloudbroker/stpolicy/create.go +++ b/pkg/cloudbroker/stpolicy/create.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type AccessSEPsPool struct { diff --git a/pkg/cloudbroker/stpolicy/delete.go b/pkg/cloudbroker/stpolicy/delete.go index 4ff5dc2..9760d70 100644 --- a/pkg/cloudbroker/stpolicy/delete.go +++ b/pkg/cloudbroker/stpolicy/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type DeleteRequest struct { diff --git a/pkg/cloudbroker/stpolicy/delete_pool.go b/pkg/cloudbroker/stpolicy/delete_pool.go index f518722..a735261 100644 --- a/pkg/cloudbroker/stpolicy/delete_pool.go +++ b/pkg/cloudbroker/stpolicy/delete_pool.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type DeletePoolRequest struct { diff --git a/pkg/cloudbroker/stpolicy/disable.go b/pkg/cloudbroker/stpolicy/disable.go index a6c18c0..c809a15 100644 --- a/pkg/cloudbroker/stpolicy/disable.go +++ b/pkg/cloudbroker/stpolicy/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type DisableRequest struct { diff --git a/pkg/cloudbroker/stpolicy/enable.go b/pkg/cloudbroker/stpolicy/enable.go index 1f6e4fb..bc5cd00 100644 --- a/pkg/cloudbroker/stpolicy/enable.go +++ b/pkg/cloudbroker/stpolicy/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type EnableRequest struct { diff --git a/pkg/cloudbroker/stpolicy/get.go b/pkg/cloudbroker/stpolicy/get.go index 8db1a63..97aed01 100644 --- a/pkg/cloudbroker/stpolicy/get.go +++ b/pkg/cloudbroker/stpolicy/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type GetRequest struct { diff --git a/pkg/cloudbroker/stpolicy/list.go b/pkg/cloudbroker/stpolicy/list.go index 8867d8b..d85aa32 100644 --- a/pkg/cloudbroker/stpolicy/list.go +++ b/pkg/cloudbroker/stpolicy/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type ListRequest struct { diff --git a/pkg/cloudbroker/stpolicy/storage_policy.go b/pkg/cloudbroker/stpolicy/storage_policy.go index 4ff5281..7694187 100644 --- a/pkg/cloudbroker/stpolicy/storage_policy.go +++ b/pkg/cloudbroker/stpolicy/storage_policy.go @@ -1,6 +1,6 @@ package stpolicy -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to storage policy type StPolicy struct { diff --git a/pkg/cloudbroker/stpolicy/update.go b/pkg/cloudbroker/stpolicy/update.go index 40fa7bd..c15bf73 100644 --- a/pkg/cloudbroker/stpolicy/update.go +++ b/pkg/cloudbroker/stpolicy/update.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type UpdateRequest struct { diff --git a/pkg/cloudbroker/tasks.go b/pkg/cloudbroker/tasks.go index 6d55c5f..1f16324 100644 --- a/pkg/cloudbroker/tasks.go +++ b/pkg/cloudbroker/tasks.go @@ -1,7 +1,7 @@ package cloudbroker import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/tasks" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/tasks" ) // Accessing the tasks method group diff --git a/pkg/cloudbroker/tasks/get.go b/pkg/cloudbroker/tasks/get.go index 8b46b9a..6ec2e17 100644 --- a/pkg/cloudbroker/tasks/get.go +++ b/pkg/cloudbroker/tasks/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get background API task status and result diff --git a/pkg/cloudbroker/tasks/list.go b/pkg/cloudbroker/tasks/list.go index d7d5d3f..fc27532 100644 --- a/pkg/cloudbroker/tasks/list.go +++ b/pkg/cloudbroker/tasks/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of audits diff --git a/pkg/cloudbroker/tasks/tasks.go b/pkg/cloudbroker/tasks/tasks.go index 252ebcd..fdaeecc 100644 --- a/pkg/cloudbroker/tasks/tasks.go +++ b/pkg/cloudbroker/tasks/tasks.go @@ -1,7 +1,7 @@ // User API tasks interface package tasks -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to tasks type Tasks struct { diff --git a/pkg/cloudbroker/trunk.go b/pkg/cloudbroker/trunk.go index 21bb349..46d8537 100644 --- a/pkg/cloudbroker/trunk.go +++ b/pkg/cloudbroker/trunk.go @@ -1,7 +1,7 @@ package cloudbroker import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/trunk" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/trunk" ) // Accessing the Trunk method group diff --git a/pkg/cloudbroker/trunk/access_grant.go b/pkg/cloudbroker/trunk/access_grant.go index 76e75aa..ca02c83 100644 --- a/pkg/cloudbroker/trunk/access_grant.go +++ b/pkg/cloudbroker/trunk/access_grant.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AccessGrant struct to grant access to a trunk to some accounts diff --git a/pkg/cloudbroker/trunk/access_revoke.go b/pkg/cloudbroker/trunk/access_revoke.go index fa62444..75f48e7 100644 --- a/pkg/cloudbroker/trunk/access_revoke.go +++ b/pkg/cloudbroker/trunk/access_revoke.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AccessRevoke struct to grant access to a trunk to some accounts diff --git a/pkg/cloudbroker/trunk/create.go b/pkg/cloudbroker/trunk/create.go index 6a1271f..aca2dd1 100644 --- a/pkg/cloudbroker/trunk/create.go +++ b/pkg/cloudbroker/trunk/create.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create a trunk diff --git a/pkg/cloudbroker/trunk/destroy.go b/pkg/cloudbroker/trunk/destroy.go index d01a1bd..698059e 100644 --- a/pkg/cloudbroker/trunk/destroy.go +++ b/pkg/cloudbroker/trunk/destroy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DestroyRequest struct to destroy a trunk diff --git a/pkg/cloudbroker/trunk/disable.go b/pkg/cloudbroker/trunk/disable.go index f7089a8..40c3d9a 100644 --- a/pkg/cloudbroker/trunk/disable.go +++ b/pkg/cloudbroker/trunk/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableRequest struct to disable a trunk diff --git a/pkg/cloudbroker/trunk/enable.go b/pkg/cloudbroker/trunk/enable.go index e934739..013445a 100644 --- a/pkg/cloudbroker/trunk/enable.go +++ b/pkg/cloudbroker/trunk/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to enable a trunk diff --git a/pkg/cloudbroker/trunk/get.go b/pkg/cloudbroker/trunk/get.go index ae31a97..7dbbe6a 100644 --- a/pkg/cloudbroker/trunk/get.go +++ b/pkg/cloudbroker/trunk/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about a trunk diff --git a/pkg/cloudbroker/trunk/list.go b/pkg/cloudbroker/trunk/list.go index e37bc12..2d01a8c 100644 --- a/pkg/cloudbroker/trunk/list.go +++ b/pkg/cloudbroker/trunk/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of trunks diff --git a/pkg/cloudbroker/trunk/trunk.go b/pkg/cloudbroker/trunk/trunk.go index a491882..1c58feb 100644 --- a/pkg/cloudbroker/trunk/trunk.go +++ b/pkg/cloudbroker/trunk/trunk.go @@ -1,7 +1,7 @@ package trunk import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to trunk diff --git a/pkg/cloudbroker/trunk/update.go b/pkg/cloudbroker/trunk/update.go index 1c1a6bb..0ba1abf 100644 --- a/pkg/cloudbroker/trunk/update.go +++ b/pkg/cloudbroker/trunk/update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update a trunk diff --git a/pkg/cloudbroker/user.go b/pkg/cloudbroker/user.go index f1f22cd..ae58dfc 100644 --- a/pkg/cloudbroker/user.go +++ b/pkg/cloudbroker/user.go @@ -1,6 +1,6 @@ package cloudbroker -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/user" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/user" func (cb *CloudBroker) User() *user.User { return user.New(cb.client) diff --git a/pkg/cloudbroker/user/api_list.go b/pkg/cloudbroker/user/api_list.go index 622bef4..2d39036 100644 --- a/pkg/cloudbroker/user/api_list.go +++ b/pkg/cloudbroker/user/api_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // APIListRequest struct for getting API list. diff --git a/pkg/cloudbroker/user/apiaccess_join.go b/pkg/cloudbroker/user/apiaccess_join.go index 573798b..bbe7cf3 100644 --- a/pkg/cloudbroker/user/apiaccess_join.go +++ b/pkg/cloudbroker/user/apiaccess_join.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // APIAccessJoinRequest struct for joining user into apiaccess group. diff --git a/pkg/cloudbroker/user/apiaccess_leave.go b/pkg/cloudbroker/user/apiaccess_leave.go index 6ee1ab8..b4fa674 100644 --- a/pkg/cloudbroker/user/apiaccess_leave.go +++ b/pkg/cloudbroker/user/apiaccess_leave.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // APIAccessLeaveRequest struct for leaving user from apiaccess group. diff --git a/pkg/cloudbroker/user/apiaccess_list.go b/pkg/cloudbroker/user/apiaccess_list.go index b114672..c598bc9 100644 --- a/pkg/cloudbroker/user/apiaccess_list.go +++ b/pkg/cloudbroker/user/apiaccess_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // APIAccessListRequest struct for showing list of dicts with information about diff --git a/pkg/cloudbroker/user/block.go b/pkg/cloudbroker/user/block.go index 81e367a..83bbcf2 100644 --- a/pkg/cloudbroker/user/block.go +++ b/pkg/cloudbroker/user/block.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // BlockRequest struct to block a user. diff --git a/pkg/cloudbroker/user/create.go b/pkg/cloudbroker/user/create.go index 8296388..f3f119d 100644 --- a/pkg/cloudbroker/user/create.go +++ b/pkg/cloudbroker/user/create.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct for creating a user. diff --git a/pkg/cloudbroker/user/delete.go b/pkg/cloudbroker/user/delete.go index 9b4834c..9358466 100644 --- a/pkg/cloudbroker/user/delete.go +++ b/pkg/cloudbroker/user/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct for deleting a user. diff --git a/pkg/cloudbroker/user/delete_by_guid.go b/pkg/cloudbroker/user/delete_by_guid.go index 9c367fe..4f9fc32 100644 --- a/pkg/cloudbroker/user/delete_by_guid.go +++ b/pkg/cloudbroker/user/delete_by_guid.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteByGUIDRequest struct for deleting a user using user's GUID. diff --git a/pkg/cloudbroker/user/delete_users.go b/pkg/cloudbroker/user/delete_users.go index 1fa975a..8ce6714 100644 --- a/pkg/cloudbroker/user/delete_users.go +++ b/pkg/cloudbroker/user/delete_users.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteUsersRequest struct for bulk delete a list of users. diff --git a/pkg/cloudbroker/user/get.go b/pkg/cloudbroker/user/get.go index 949cc39..f1089cd 100644 --- a/pkg/cloudbroker/user/get.go +++ b/pkg/cloudbroker/user/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get user details. diff --git a/pkg/cloudbroker/user/get_matching_usernames.go b/pkg/cloudbroker/user/get_matching_usernames.go index 6c40273..aa9e922 100644 --- a/pkg/cloudbroker/user/get_matching_usernames.go +++ b/pkg/cloudbroker/user/get_matching_usernames.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetMatchingUsernamesRequest struct for getting a list of the matching usernames for a given string. diff --git a/pkg/cloudbroker/user/list.go b/pkg/cloudbroker/user/list.go index 6eaef37..4488a9e 100644 --- a/pkg/cloudbroker/user/list.go +++ b/pkg/cloudbroker/user/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get all non deleted user instances. diff --git a/pkg/cloudbroker/user/unblock.go b/pkg/cloudbroker/user/unblock.go index 82cb0e2..b08752c 100644 --- a/pkg/cloudbroker/user/unblock.go +++ b/pkg/cloudbroker/user/unblock.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UnblockRequest struct to block a user. diff --git a/pkg/cloudbroker/user/user.go b/pkg/cloudbroker/user/user.go index ed93790..662365d 100644 --- a/pkg/cloudbroker/user/user.go +++ b/pkg/cloudbroker/user/user.go @@ -1,6 +1,6 @@ package user -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to User type User struct { diff --git a/pkg/cloudbroker/vfpool.go b/pkg/cloudbroker/vfpool.go index 9681bda..1369327 100644 --- a/pkg/cloudbroker/vfpool.go +++ b/pkg/cloudbroker/vfpool.go @@ -1,6 +1,6 @@ package cloudbroker -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/vfpool" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/vfpool" // Accessing the VFPool method group func (cb *CloudBroker) VFPool() *vfpool.VFPool { diff --git a/pkg/cloudbroker/vfpool/create.go b/pkg/cloudbroker/vfpool/create.go index 49b86a5..ba3c95e 100644 --- a/pkg/cloudbroker/vfpool/create.go +++ b/pkg/cloudbroker/vfpool/create.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create vfpool device diff --git a/pkg/cloudbroker/vfpool/delete.go b/pkg/cloudbroker/vfpool/delete.go index f36632e..3297872 100644 --- a/pkg/cloudbroker/vfpool/delete.go +++ b/pkg/cloudbroker/vfpool/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete vfpool device diff --git a/pkg/cloudbroker/vfpool/disable.go b/pkg/cloudbroker/vfpool/disable.go index 0d019bf..376ec2e 100644 --- a/pkg/cloudbroker/vfpool/disable.go +++ b/pkg/cloudbroker/vfpool/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableRequest struct to disable vfpool device diff --git a/pkg/cloudbroker/vfpool/enable.go b/pkg/cloudbroker/vfpool/enable.go index 9daa26f..54bea66 100644 --- a/pkg/cloudbroker/vfpool/enable.go +++ b/pkg/cloudbroker/vfpool/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to enable vfpool device diff --git a/pkg/cloudbroker/vfpool/get.go b/pkg/cloudbroker/vfpool/get.go index d5c67e2..0af1bc9 100644 --- a/pkg/cloudbroker/vfpool/get.go +++ b/pkg/cloudbroker/vfpool/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get detailed information about vfpool device diff --git a/pkg/cloudbroker/vfpool/list.go b/pkg/cloudbroker/vfpool/list.go index c420cf9..ef10cd0 100644 --- a/pkg/cloudbroker/vfpool/list.go +++ b/pkg/cloudbroker/vfpool/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of vfpool devices diff --git a/pkg/cloudbroker/vfpool/serialize.go b/pkg/cloudbroker/vfpool/serialize.go index 858e6f1..1214ce7 100644 --- a/pkg/cloudbroker/vfpool/serialize.go +++ b/pkg/cloudbroker/vfpool/serialize.go @@ -3,7 +3,7 @@ package vfpool import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/vfpool/update.go b/pkg/cloudbroker/vfpool/update.go index 2ed6643..f8a0290 100644 --- a/pkg/cloudbroker/vfpool/update.go +++ b/pkg/cloudbroker/vfpool/update.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update vfpool device diff --git a/pkg/cloudbroker/vfpool/vfpool.go b/pkg/cloudbroker/vfpool/vfpool.go index cf0f368..48885fa 100644 --- a/pkg/cloudbroker/vfpool/vfpool.go +++ b/pkg/cloudbroker/vfpool/vfpool.go @@ -2,7 +2,7 @@ package vfpool import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to vfpool diff --git a/pkg/cloudbroker/vgpu.go b/pkg/cloudbroker/vgpu.go index c8b7f29..7640f97 100644 --- a/pkg/cloudbroker/vgpu.go +++ b/pkg/cloudbroker/vgpu.go @@ -1,6 +1,6 @@ package cloudbroker -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/vgpu" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/vgpu" // Accessing the VGPU method group func (cb *CloudBroker) VGPU() *vgpu.VGPU { diff --git a/pkg/cloudbroker/vgpu/allocate.go b/pkg/cloudbroker/vgpu/allocate.go index 12cfd00..5a7259a 100644 --- a/pkg/cloudbroker/vgpu/allocate.go +++ b/pkg/cloudbroker/vgpu/allocate.go @@ -3,7 +3,7 @@ package vgpu import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" "strconv" ) diff --git a/pkg/cloudbroker/vgpu/create.go b/pkg/cloudbroker/vgpu/create.go index a5edd7d..2eeb405 100644 --- a/pkg/cloudbroker/vgpu/create.go +++ b/pkg/cloudbroker/vgpu/create.go @@ -3,7 +3,7 @@ package vgpu import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" "strconv" ) diff --git a/pkg/cloudbroker/vgpu/deallocate.go b/pkg/cloudbroker/vgpu/deallocate.go index 93f04aa..ca95262 100644 --- a/pkg/cloudbroker/vgpu/deallocate.go +++ b/pkg/cloudbroker/vgpu/deallocate.go @@ -3,7 +3,7 @@ package vgpu import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" "strconv" ) diff --git a/pkg/cloudbroker/vgpu/destroy.go b/pkg/cloudbroker/vgpu/destroy.go index 53ca3e8..cf493ec 100644 --- a/pkg/cloudbroker/vgpu/destroy.go +++ b/pkg/cloudbroker/vgpu/destroy.go @@ -3,7 +3,7 @@ package vgpu import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" "strconv" ) diff --git a/pkg/cloudbroker/vgpu/list.go b/pkg/cloudbroker/vgpu/list.go index 87c79e9..91751ff 100644 --- a/pkg/cloudbroker/vgpu/list.go +++ b/pkg/cloudbroker/vgpu/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of VGPU diff --git a/pkg/cloudbroker/vgpu/serialize.go b/pkg/cloudbroker/vgpu/serialize.go index 8e7a723..cc444b2 100644 --- a/pkg/cloudbroker/vgpu/serialize.go +++ b/pkg/cloudbroker/vgpu/serialize.go @@ -3,7 +3,7 @@ package vgpu import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/vgpu/vgpu.go b/pkg/cloudbroker/vgpu/vgpu.go index 7443991..8c3e81e 100644 --- a/pkg/cloudbroker/vgpu/vgpu.go +++ b/pkg/cloudbroker/vgpu/vgpu.go @@ -1,6 +1,6 @@ package vgpu -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to VGPU type VGPU struct { diff --git a/pkg/cloudbroker/vins.go b/pkg/cloudbroker/vins.go index 2433fa9..6e03225 100644 --- a/pkg/cloudbroker/vins.go +++ b/pkg/cloudbroker/vins.go @@ -1,7 +1,7 @@ package cloudbroker import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/vins" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/vins" ) // Accessing the VINS method group diff --git a/pkg/cloudbroker/vins/audits.go b/pkg/cloudbroker/vins/audits.go index 893f0ad..11f5708 100644 --- a/pkg/cloudbroker/vins/audits.go +++ b/pkg/cloudbroker/vins/audits.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AuditsRequest struct to get audits diff --git a/pkg/cloudbroker/vins/create_in_account.go b/pkg/cloudbroker/vins/create_in_account.go index 0934058..a920763 100644 --- a/pkg/cloudbroker/vins/create_in_account.go +++ b/pkg/cloudbroker/vins/create_in_account.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type Route struct { diff --git a/pkg/cloudbroker/vins/create_in_rg.go b/pkg/cloudbroker/vins/create_in_rg.go index 5a7978e..1017326 100644 --- a/pkg/cloudbroker/vins/create_in_rg.go +++ b/pkg/cloudbroker/vins/create_in_rg.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateInRGRequest struct to create VINS in resource group diff --git a/pkg/cloudbroker/vins/default_qos_update.go b/pkg/cloudbroker/vins/default_qos_update.go index 28849a0..b490fbf 100644 --- a/pkg/cloudbroker/vins/default_qos_update.go +++ b/pkg/cloudbroker/vins/default_qos_update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DefaultQOSUpdateRequest struct to update QOS diff --git a/pkg/cloudbroker/vins/delete.go b/pkg/cloudbroker/vins/delete.go index 3b088ae..f4ea0a6 100644 --- a/pkg/cloudbroker/vins/delete.go +++ b/pkg/cloudbroker/vins/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete VINS diff --git a/pkg/cloudbroker/vins/disable.go b/pkg/cloudbroker/vins/disable.go index e44b7d2..4528a88 100644 --- a/pkg/cloudbroker/vins/disable.go +++ b/pkg/cloudbroker/vins/disable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DisableRequest struct to disable VINS diff --git a/pkg/cloudbroker/vins/dns_apply.go b/pkg/cloudbroker/vins/dns_apply.go index 2aca94c..16d41fd 100644 --- a/pkg/cloudbroker/vins/dns_apply.go +++ b/pkg/cloudbroker/vins/dns_apply.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DNSApplyRequest struct to apply new DNS list in VINS diff --git a/pkg/cloudbroker/vins/enable.go b/pkg/cloudbroker/vins/enable.go index 9cb32aa..9c7c935 100644 --- a/pkg/cloudbroker/vins/enable.go +++ b/pkg/cloudbroker/vins/enable.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // EnableRequest struct to enable VINS diff --git a/pkg/cloudbroker/vins/extnet_connect.go b/pkg/cloudbroker/vins/extnet_connect.go index bac6d05..3ccae44 100644 --- a/pkg/cloudbroker/vins/extnet_connect.go +++ b/pkg/cloudbroker/vins/extnet_connect.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ExtNetConnectRequest struct to connect external network diff --git a/pkg/cloudbroker/vins/extnet_disconnect.go b/pkg/cloudbroker/vins/extnet_disconnect.go index 5883f98..f7a38b3 100644 --- a/pkg/cloudbroker/vins/extnet_disconnect.go +++ b/pkg/cloudbroker/vins/extnet_disconnect.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ExtNetDisconnectRequest struct to disconnect VINS from external network diff --git a/pkg/cloudbroker/vins/extnet_list.go b/pkg/cloudbroker/vins/extnet_list.go index 1e0c2c8..e7a7e63 100644 --- a/pkg/cloudbroker/vins/extnet_list.go +++ b/pkg/cloudbroker/vins/extnet_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ExtNetListRequest struct to get list of VINS external network connections diff --git a/pkg/cloudbroker/vins/get.go b/pkg/cloudbroker/vins/get.go index c73c1da..4cb50a3 100644 --- a/pkg/cloudbroker/vins/get.go +++ b/pkg/cloudbroker/vins/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about VINS diff --git a/pkg/cloudbroker/vins/ip_list.go b/pkg/cloudbroker/vins/ip_list.go index fbfe63a..62d4f93 100644 --- a/pkg/cloudbroker/vins/ip_list.go +++ b/pkg/cloudbroker/vins/ip_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // IPListRequest struct for DHCP IP diff --git a/pkg/cloudbroker/vins/ip_release.go b/pkg/cloudbroker/vins/ip_release.go index b68de8a..348a994 100644 --- a/pkg/cloudbroker/vins/ip_release.go +++ b/pkg/cloudbroker/vins/ip_release.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // IPReleaseRequest struct for IP release diff --git a/pkg/cloudbroker/vins/ip_reserve.go b/pkg/cloudbroker/vins/ip_reserve.go index db13507..e896c5c 100644 --- a/pkg/cloudbroker/vins/ip_reserve.go +++ b/pkg/cloudbroker/vins/ip_reserve.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // IPReserveRequest struct for IP reserve diff --git a/pkg/cloudbroker/vins/list.go b/pkg/cloudbroker/vins/list.go index 182caee..27ad0d1 100644 --- a/pkg/cloudbroker/vins/list.go +++ b/pkg/cloudbroker/vins/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of VINSes diff --git a/pkg/cloudbroker/vins/list_deleted.go b/pkg/cloudbroker/vins/list_deleted.go index 2c77e37..32d5fc6 100644 --- a/pkg/cloudbroker/vins/list_deleted.go +++ b/pkg/cloudbroker/vins/list_deleted.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListDeletedRequest struct to get list of deleted VINSes diff --git a/pkg/cloudbroker/vins/mass_delete.go b/pkg/cloudbroker/vins/mass_delete.go index 4b57afd..1fef2f6 100644 --- a/pkg/cloudbroker/vins/mass_delete.go +++ b/pkg/cloudbroker/vins/mass_delete.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MassDeleteRequest struct to delete several VINSes diff --git a/pkg/cloudbroker/vins/mass_disable.go b/pkg/cloudbroker/vins/mass_disable.go index 28d09ff..cc9c0c6 100644 --- a/pkg/cloudbroker/vins/mass_disable.go +++ b/pkg/cloudbroker/vins/mass_disable.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MassDisableRequest struct to disable several VINSes diff --git a/pkg/cloudbroker/vins/mass_enable.go b/pkg/cloudbroker/vins/mass_enable.go index 57cfcd3..955b370 100644 --- a/pkg/cloudbroker/vins/mass_enable.go +++ b/pkg/cloudbroker/vins/mass_enable.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MassEnableRequest struct to enable several VINSes diff --git a/pkg/cloudbroker/vins/migrate_to_zone.go b/pkg/cloudbroker/vins/migrate_to_zone.go index 1397c2a..0231dc7 100644 --- a/pkg/cloudbroker/vins/migrate_to_zone.go +++ b/pkg/cloudbroker/vins/migrate_to_zone.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateToZone struct to move VINS to another zone diff --git a/pkg/cloudbroker/vins/nat_rule_add.go b/pkg/cloudbroker/vins/nat_rule_add.go index 4881c3e..ea3c58f 100644 --- a/pkg/cloudbroker/vins/nat_rule_add.go +++ b/pkg/cloudbroker/vins/nat_rule_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // NATRuleAddRequest struct to create NAT rules diff --git a/pkg/cloudbroker/vins/nat_rule_del.go b/pkg/cloudbroker/vins/nat_rule_del.go index e58797e..5b7204b 100644 --- a/pkg/cloudbroker/vins/nat_rule_del.go +++ b/pkg/cloudbroker/vins/nat_rule_del.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // NATRuleDelRequest struct to delete NAT rule diff --git a/pkg/cloudbroker/vins/nat_rule_list.go b/pkg/cloudbroker/vins/nat_rule_list.go index b1e7164..2170098 100644 --- a/pkg/cloudbroker/vins/nat_rule_list.go +++ b/pkg/cloudbroker/vins/nat_rule_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // NATRuleListRequest struct to get list of NAT rules diff --git a/pkg/cloudbroker/vins/net_qos.go b/pkg/cloudbroker/vins/net_qos.go index bc35b1a..129a8ee 100644 --- a/pkg/cloudbroker/vins/net_qos.go +++ b/pkg/cloudbroker/vins/net_qos.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // NetQOSRequest struct to update all VINS interfaces QOS diff --git a/pkg/cloudbroker/vins/restore.go b/pkg/cloudbroker/vins/restore.go index 62ecfd2..aca3e8f 100644 --- a/pkg/cloudbroker/vins/restore.go +++ b/pkg/cloudbroker/vins/restore.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // RestoreRequest struct for restore diff --git a/pkg/cloudbroker/vins/serialize.go b/pkg/cloudbroker/vins/serialize.go index 5adfccb..bc1bb43 100644 --- a/pkg/cloudbroker/vins/serialize.go +++ b/pkg/cloudbroker/vins/serialize.go @@ -3,7 +3,7 @@ package vins import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/vins/static_route_access_grant.go b/pkg/cloudbroker/vins/static_route_access_grant.go index fa902d0..10f1332 100644 --- a/pkg/cloudbroker/vins/static_route_access_grant.go +++ b/pkg/cloudbroker/vins/static_route_access_grant.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StaticRouteAccessGrantRequest struct to grant access to static route to Compute/ViNS diff --git a/pkg/cloudbroker/vins/static_route_access_revoke.go b/pkg/cloudbroker/vins/static_route_access_revoke.go index 617ce1f..4702aa5 100644 --- a/pkg/cloudbroker/vins/static_route_access_revoke.go +++ b/pkg/cloudbroker/vins/static_route_access_revoke.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StaticRouteAccessRevokeRequest struct to revoke access to static route to Compute/ViNS diff --git a/pkg/cloudbroker/vins/static_route_add.go b/pkg/cloudbroker/vins/static_route_add.go index b979c52..02bf884 100644 --- a/pkg/cloudbroker/vins/static_route_add.go +++ b/pkg/cloudbroker/vins/static_route_add.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StaticRouteAddRequest struct to add static route diff --git a/pkg/cloudbroker/vins/static_route_del.go b/pkg/cloudbroker/vins/static_route_del.go index 5450de8..db354d1 100644 --- a/pkg/cloudbroker/vins/static_route_del.go +++ b/pkg/cloudbroker/vins/static_route_del.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StaticRouteDelRequest struct to remove static route from ViNS diff --git a/pkg/cloudbroker/vins/static_route_list.go b/pkg/cloudbroker/vins/static_route_list.go index c6f2c60..ecd5624 100644 --- a/pkg/cloudbroker/vins/static_route_list.go +++ b/pkg/cloudbroker/vins/static_route_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // StaticRouteListRequest struct for static route list diff --git a/pkg/cloudbroker/vins/update.go b/pkg/cloudbroker/vins/update.go index 8caf246..dc8d490 100644 --- a/pkg/cloudbroker/vins/update.go +++ b/pkg/cloudbroker/vins/update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update vins parameters diff --git a/pkg/cloudbroker/vins/vins.go b/pkg/cloudbroker/vins/vins.go index aa8e0aa..d3addd3 100644 --- a/pkg/cloudbroker/vins/vins.go +++ b/pkg/cloudbroker/vins/vins.go @@ -2,7 +2,7 @@ package vins import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to VINS diff --git a/pkg/cloudbroker/vins/vnfdev_redeploy.go b/pkg/cloudbroker/vins/vnfdev_redeploy.go index 957a6cb..e3c99a5 100644 --- a/pkg/cloudbroker/vins/vnfdev_redeploy.go +++ b/pkg/cloudbroker/vins/vnfdev_redeploy.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // VNFDevRedeployRequest struct to redeploy VNF devices diff --git a/pkg/cloudbroker/vins/vnfdev_reset.go b/pkg/cloudbroker/vins/vnfdev_reset.go index 879b479..219ec74 100644 --- a/pkg/cloudbroker/vins/vnfdev_reset.go +++ b/pkg/cloudbroker/vins/vnfdev_reset.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // VNFDevResetRequest struct to reset VNF device diff --git a/pkg/cloudbroker/vins/vnfdev_restart.go b/pkg/cloudbroker/vins/vnfdev_restart.go index 4731338..929371f 100644 --- a/pkg/cloudbroker/vins/vnfdev_restart.go +++ b/pkg/cloudbroker/vins/vnfdev_restart.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // VNFDevRestartRequest struct to reboot VINSes primary VNF device diff --git a/pkg/cloudbroker/vins/vnfdev_start.go b/pkg/cloudbroker/vins/vnfdev_start.go index d44cf0c..b644c44 100644 --- a/pkg/cloudbroker/vins/vnfdev_start.go +++ b/pkg/cloudbroker/vins/vnfdev_start.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // VNFDevStartRequest struct to start VNF devices diff --git a/pkg/cloudbroker/vins/vnfdev_stop.go b/pkg/cloudbroker/vins/vnfdev_stop.go index 4a24e6d..5e59000 100644 --- a/pkg/cloudbroker/vins/vnfdev_stop.go +++ b/pkg/cloudbroker/vins/vnfdev_stop.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // VNFDevStopRequest struct to stop VNF devices diff --git a/pkg/cloudbroker/zone.go b/pkg/cloudbroker/zone.go index 53e18e7..d336e54 100644 --- a/pkg/cloudbroker/zone.go +++ b/pkg/cloudbroker/zone.go @@ -1,7 +1,7 @@ package cloudbroker import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/zone" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/zone" ) // Accessing the Zone method group diff --git a/pkg/cloudbroker/zone/add_node.go b/pkg/cloudbroker/zone/add_node.go index 337751e..2554f23 100644 --- a/pkg/cloudbroker/zone/add_node.go +++ b/pkg/cloudbroker/zone/add_node.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AddNodeRequest struct to add node to zone diff --git a/pkg/cloudbroker/zone/create.go b/pkg/cloudbroker/zone/create.go index 619e17f..6b1ec9b 100644 --- a/pkg/cloudbroker/zone/create.go +++ b/pkg/cloudbroker/zone/create.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create zone diff --git a/pkg/cloudbroker/zone/del_node.go b/pkg/cloudbroker/zone/del_node.go index e2d7b8e..0d66646 100644 --- a/pkg/cloudbroker/zone/del_node.go +++ b/pkg/cloudbroker/zone/del_node.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DelNodeRequest struct to remove node from zone diff --git a/pkg/cloudbroker/zone/delete.go b/pkg/cloudbroker/zone/delete.go index 467f904..2bf66fa 100644 --- a/pkg/cloudbroker/zone/delete.go +++ b/pkg/cloudbroker/zone/delete.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete zone diff --git a/pkg/cloudbroker/zone/get.go b/pkg/cloudbroker/zone/get.go index e12724f..00b142e 100644 --- a/pkg/cloudbroker/zone/get.go +++ b/pkg/cloudbroker/zone/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get detailed information about zone diff --git a/pkg/cloudbroker/zone/list.go b/pkg/cloudbroker/zone/list.go index 1f894db..d070c45 100644 --- a/pkg/cloudbroker/zone/list.go +++ b/pkg/cloudbroker/zone/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of zones diff --git a/pkg/cloudbroker/zone/node_autostart.go b/pkg/cloudbroker/zone/node_autostart.go index 82f0d2a..74196a3 100644 --- a/pkg/cloudbroker/zone/node_autostart.go +++ b/pkg/cloudbroker/zone/node_autostart.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // NodeAutoStartRequest struct to set node autostart in zone diff --git a/pkg/cloudbroker/zone/serialize.go b/pkg/cloudbroker/zone/serialize.go index 137dad3..304198d 100644 --- a/pkg/cloudbroker/zone/serialize.go +++ b/pkg/cloudbroker/zone/serialize.go @@ -3,7 +3,7 @@ package zone import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/cloudbroker/zone/update.go b/pkg/cloudbroker/zone/update.go index 27e319e..7b9c2d0 100644 --- a/pkg/cloudbroker/zone/update.go +++ b/pkg/cloudbroker/zone/update.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update zone diff --git a/pkg/cloudbroker/zone/zone.go b/pkg/cloudbroker/zone/zone.go index 76c018d..bf9af21 100644 --- a/pkg/cloudbroker/zone/zone.go +++ b/pkg/cloudbroker/zone/zone.go @@ -2,7 +2,7 @@ package zone import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to zone diff --git a/pkg/sdn/access_groups.go b/pkg/sdn/access_groups.go index 6bc1053..0403f7f 100644 --- a/pkg/sdn/access_groups.go +++ b/pkg/sdn/access_groups.go @@ -1,7 +1,7 @@ package sdn import ( - ag "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn/acsgroups" + ag "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn/acsgroups" ) // Accessing the SDN method group diff --git a/pkg/sdn/acsgroups/access_groups.go b/pkg/sdn/acsgroups/access_groups.go index e867ca2..3a025f8 100644 --- a/pkg/sdn/acsgroups/access_groups.go +++ b/pkg/sdn/acsgroups/access_groups.go @@ -2,7 +2,7 @@ package acsgroups import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to access groups diff --git a/pkg/sdn/acsgroups/create.go b/pkg/sdn/acsgroups/create.go index 98780b5..5a1981a 100644 --- a/pkg/sdn/acsgroups/create.go +++ b/pkg/sdn/acsgroups/create.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create access group diff --git a/pkg/sdn/acsgroups/delete.go b/pkg/sdn/acsgroups/delete.go index 8f70119..4a019d9 100644 --- a/pkg/sdn/acsgroups/delete.go +++ b/pkg/sdn/acsgroups/delete.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete access group diff --git a/pkg/sdn/acsgroups/get.go b/pkg/sdn/acsgroups/get.go index 5a1bed4..a229799 100644 --- a/pkg/sdn/acsgroups/get.go +++ b/pkg/sdn/acsgroups/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetGroupRequest struct to get an access group diff --git a/pkg/sdn/acsgroups/list.go b/pkg/sdn/acsgroups/list.go index a3907b9..2309b79 100644 --- a/pkg/sdn/acsgroups/list.go +++ b/pkg/sdn/acsgroups/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListGroupsRequest struct to get a list of access groups diff --git a/pkg/sdn/acsgroups/update.go b/pkg/sdn/acsgroups/update.go index c8a3924..ca9d51c 100644 --- a/pkg/sdn/acsgroups/update.go +++ b/pkg/sdn/acsgroups/update.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update access group diff --git a/pkg/sdn/acsgroups/user_add.go b/pkg/sdn/acsgroups/user_add.go index 98703e7..9ce3c40 100644 --- a/pkg/sdn/acsgroups/user_add.go +++ b/pkg/sdn/acsgroups/user_add.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UserAddRequest struct to userAdd access group diff --git a/pkg/sdn/acsgroups/user_delete.go b/pkg/sdn/acsgroups/user_delete.go index 5538717..d2b5e85 100644 --- a/pkg/sdn/acsgroups/user_delete.go +++ b/pkg/sdn/acsgroups/user_delete.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UserDeleteRequest struct to userDelete access group diff --git a/pkg/sdn/acsgroups/user_list.go b/pkg/sdn/acsgroups/user_list.go index 7ab0795..550025c 100644 --- a/pkg/sdn/acsgroups/user_list.go +++ b/pkg/sdn/acsgroups/user_list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UsersListRequest struct to get a list of users diff --git a/pkg/sdn/acsgroups/user_update_role.go b/pkg/sdn/acsgroups/user_update_role.go index f40b1f4..7042748 100644 --- a/pkg/sdn/acsgroups/user_update_role.go +++ b/pkg/sdn/acsgroups/user_update_role.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UserUpdateRoleRequest struct to userUpdateRole access group diff --git a/pkg/sdn/address_pools.go b/pkg/sdn/address_pools.go index 08fd9ba..f077ba2 100644 --- a/pkg/sdn/address_pools.go +++ b/pkg/sdn/address_pools.go @@ -1,7 +1,7 @@ package sdn import ( - ap "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn/adrspools" + ap "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn/adrspools" ) // Accessing the SDN method group diff --git a/pkg/sdn/adrspools/adress_pools.go b/pkg/sdn/adrspools/adress_pools.go index 7776796..00debe1 100644 --- a/pkg/sdn/adrspools/adress_pools.go +++ b/pkg/sdn/adrspools/adress_pools.go @@ -2,7 +2,7 @@ package adrspools import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to address pools diff --git a/pkg/sdn/adrspools/create.go b/pkg/sdn/adrspools/create.go index 69f6516..16bde41 100644 --- a/pkg/sdn/adrspools/create.go +++ b/pkg/sdn/adrspools/create.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create address pool diff --git a/pkg/sdn/adrspools/delete.go b/pkg/sdn/adrspools/delete.go index b8b4fc7..26b52fa 100644 --- a/pkg/sdn/adrspools/delete.go +++ b/pkg/sdn/adrspools/delete.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete address pool diff --git a/pkg/sdn/adrspools/get.go b/pkg/sdn/adrspools/get.go index e759d64..2ebf18a 100644 --- a/pkg/sdn/adrspools/get.go +++ b/pkg/sdn/adrspools/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about address group diff --git a/pkg/sdn/adrspools/list.go b/pkg/sdn/adrspools/list.go index 3ddddb9..9080133 100644 --- a/pkg/sdn/adrspools/list.go +++ b/pkg/sdn/adrspools/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListAddressPoolsRequest struct to get a list of a groups diff --git a/pkg/sdn/adrspools/serialize.go b/pkg/sdn/adrspools/serialize.go index 03bcf3c..7f3ead3 100644 --- a/pkg/sdn/adrspools/serialize.go +++ b/pkg/sdn/adrspools/serialize.go @@ -3,7 +3,7 @@ package adrspools import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/sdn/adrspools/update.go b/pkg/sdn/adrspools/update.go index 7ef8454..262885e 100644 --- a/pkg/sdn/adrspools/update.go +++ b/pkg/sdn/adrspools/update.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update address pool diff --git a/pkg/sdn/default_security_policies.go b/pkg/sdn/default_security_policies.go index 9d774a7..dfb969e 100644 --- a/pkg/sdn/default_security_policies.go +++ b/pkg/sdn/default_security_policies.go @@ -1,7 +1,7 @@ package sdn import ( - dsp "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn/defsecpolicies" + dsp "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn/defsecpolicies" ) // Accessing the SDN method group diff --git a/pkg/sdn/defsecpolicies/default_security_policies.go b/pkg/sdn/defsecpolicies/default_security_policies.go index c587e60..343123a 100644 --- a/pkg/sdn/defsecpolicies/default_security_policies.go +++ b/pkg/sdn/defsecpolicies/default_security_policies.go @@ -2,7 +2,7 @@ package defsecpolicies import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to default security policies diff --git a/pkg/sdn/defsecpolicies/list.go b/pkg/sdn/defsecpolicies/list.go index cbcc16a..7fe74e8 100644 --- a/pkg/sdn/defsecpolicies/list.go +++ b/pkg/sdn/defsecpolicies/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get a list of default security group diff --git a/pkg/sdn/defsecpolicies/serialize.go b/pkg/sdn/defsecpolicies/serialize.go index 6442794..cb14d61 100644 --- a/pkg/sdn/defsecpolicies/serialize.go +++ b/pkg/sdn/defsecpolicies/serialize.go @@ -3,7 +3,7 @@ package defsecpolicies import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/sdn/defsecpolicies/update.go b/pkg/sdn/defsecpolicies/update.go index 36e6965..8bb135c 100644 --- a/pkg/sdn/defsecpolicies/update.go +++ b/pkg/sdn/defsecpolicies/update.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update default security policy diff --git a/pkg/sdn/extnet.go b/pkg/sdn/extnet.go index 5761763..1a15690 100644 --- a/pkg/sdn/extnet.go +++ b/pkg/sdn/extnet.go @@ -1,7 +1,7 @@ package sdn import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn/extnet" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn/extnet" ) // Accessing the ExtNet method group diff --git a/pkg/sdn/extnet/create.go b/pkg/sdn/extnet/create.go index f97c3ce..dba6437 100644 --- a/pkg/sdn/extnet/create.go +++ b/pkg/sdn/extnet/create.go @@ -6,8 +6,8 @@ import ( "net/http" "time" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct for creating account diff --git a/pkg/sdn/extnet/delete.go b/pkg/sdn/extnet/delete.go index 68ad5d3..47b0ef4 100644 --- a/pkg/sdn/extnet/delete.go +++ b/pkg/sdn/extnet/delete.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct for delete extnet diff --git a/pkg/sdn/extnet/extnet.go b/pkg/sdn/extnet/extnet.go index 368c5a7..f15b261 100644 --- a/pkg/sdn/extnet/extnet.go +++ b/pkg/sdn/extnet/extnet.go @@ -2,7 +2,7 @@ package extnet import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to external networks diff --git a/pkg/sdn/extnet/get.go b/pkg/sdn/extnet/get.go index 31b21db..14c963a 100644 --- a/pkg/sdn/extnet/get.go +++ b/pkg/sdn/extnet/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about external network diff --git a/pkg/sdn/extnet/list.go b/pkg/sdn/extnet/list.go index a4d21d7..b816666 100644 --- a/pkg/sdn/extnet/list.go +++ b/pkg/sdn/extnet/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get a list of external networks @@ -62,10 +62,18 @@ type ListRequest struct { // Required: false CreatedFrom string `url:"created_from,omitempty" json:"created_from,omitempty"` - // Filter lby create date to + // Filter by create date to // Required: false CreatedTo string `url:"created_to,omitempty" json:"created_to,omitempty"` + // Filter by operation status + // Required: false + OperationStatus string `url:"operation_status,omitempty" json:"operation_status,omitempty"` + + // Filter by hypervisor status + // Required: false + HypervisorStatus string `url:"hypervisor_status,omitempty" json:"hypervisor_status,omitempty"` + // Page number for pagination // Required: false Page uint64 `url:"page,omitempty" json:"page,omitempty"` diff --git a/pkg/sdn/extnet/port_add.go b/pkg/sdn/extnet/port_add.go index 6504cb5..2d6e272 100644 --- a/pkg/sdn/extnet/port_add.go +++ b/pkg/sdn/extnet/port_add.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // PortAddRequest struct for add port to extnet diff --git a/pkg/sdn/extnet/port_update.go b/pkg/sdn/extnet/port_update.go index 20c5f87..57db566 100644 --- a/pkg/sdn/extnet/port_update.go +++ b/pkg/sdn/extnet/port_update.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // PortUpdateRequest struct for update port to extnet diff --git a/pkg/sdn/extnet/update.go b/pkg/sdn/extnet/update.go index e0adca2..9d732bc 100644 --- a/pkg/sdn/extnet/update.go +++ b/pkg/sdn/extnet/update.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct for update extnet diff --git a/pkg/sdn/flips.go b/pkg/sdn/flips.go index be00c83..dae1c4b 100644 --- a/pkg/sdn/flips.go +++ b/pkg/sdn/flips.go @@ -1,7 +1,7 @@ package sdn import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn/flips" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn/flips" ) // Accessing the SDN method group diff --git a/pkg/sdn/flips/create.go b/pkg/sdn/flips/create.go index 6df08b9..41aa133 100644 --- a/pkg/sdn/flips/create.go +++ b/pkg/sdn/flips/create.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type CreateRequest struct { diff --git a/pkg/sdn/flips/delete.go b/pkg/sdn/flips/delete.go index a29e893..6172593 100644 --- a/pkg/sdn/flips/delete.go +++ b/pkg/sdn/flips/delete.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest to delete a floating ip diff --git a/pkg/sdn/flips/flips.go b/pkg/sdn/flips/flips.go index 7340e62..c71cd0c 100644 --- a/pkg/sdn/flips/flips.go +++ b/pkg/sdn/flips/flips.go @@ -2,7 +2,7 @@ package flips import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to floating IPs diff --git a/pkg/sdn/flips/get.go b/pkg/sdn/flips/get.go index 82d6080..c779703 100644 --- a/pkg/sdn/flips/get.go +++ b/pkg/sdn/flips/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) type GetRequest struct { diff --git a/pkg/sdn/flips/list.go b/pkg/sdn/flips/list.go index 3444d5f..8eb06d4 100644 --- a/pkg/sdn/flips/list.go +++ b/pkg/sdn/flips/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // List of floating ips diff --git a/pkg/sdn/flips/update.go b/pkg/sdn/flips/update.go index 3196468..95d82d7 100644 --- a/pkg/sdn/flips/update.go +++ b/pkg/sdn/flips/update.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update a floating ip diff --git a/pkg/sdn/logical_ports.go b/pkg/sdn/logical_ports.go index 6eade5a..432d37f 100644 --- a/pkg/sdn/logical_ports.go +++ b/pkg/sdn/logical_ports.go @@ -1,7 +1,7 @@ package sdn import ( - lp "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn/logicalports" + lp "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn/logicalports" ) // Accessing the SDN method group diff --git a/pkg/sdn/logicalports/create.go b/pkg/sdn/logicalports/create.go index 00367f6..15177cc 100644 --- a/pkg/sdn/logicalports/create.go +++ b/pkg/sdn/logicalports/create.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create logical port diff --git a/pkg/sdn/logicalports/delete.go b/pkg/sdn/logicalports/delete.go index a81a1b1..d6a7b51 100644 --- a/pkg/sdn/logicalports/delete.go +++ b/pkg/sdn/logicalports/delete.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete logical port diff --git a/pkg/sdn/logicalports/get.go b/pkg/sdn/logicalports/get.go index a25b745..76c4510 100644 --- a/pkg/sdn/logicalports/get.go +++ b/pkg/sdn/logicalports/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about logical port diff --git a/pkg/sdn/logicalports/get_by_unique_identifier.go b/pkg/sdn/logicalports/get_by_unique_identifier.go index c82c7ca..62fde84 100644 --- a/pkg/sdn/logicalports/get_by_unique_identifier.go +++ b/pkg/sdn/logicalports/get_by_unique_identifier.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetByUniqueIdentifierRequest struct to get information about logical port diff --git a/pkg/sdn/logicalports/list.go b/pkg/sdn/logicalports/list.go index 8927bca..5dc1880 100644 --- a/pkg/sdn/logicalports/list.go +++ b/pkg/sdn/logicalports/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get a list of logical ports diff --git a/pkg/sdn/logicalports/logicalports.go b/pkg/sdn/logicalports/logicalports.go index ac3ca1e..36e0bd3 100644 --- a/pkg/sdn/logicalports/logicalports.go +++ b/pkg/sdn/logicalports/logicalports.go @@ -2,7 +2,7 @@ package logicalports import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to logical ports diff --git a/pkg/sdn/logicalports/migrate_cancel.go b/pkg/sdn/logicalports/migrate_cancel.go index 1b64387..5dbee7c 100644 --- a/pkg/sdn/logicalports/migrate_cancel.go +++ b/pkg/sdn/logicalports/migrate_cancel.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateCancelRequest struct to cancel migrate diff --git a/pkg/sdn/logicalports/migrate_start.go b/pkg/sdn/logicalports/migrate_start.go index 470873f..0abd909 100644 --- a/pkg/sdn/logicalports/migrate_start.go +++ b/pkg/sdn/logicalports/migrate_start.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // MigrateStartRequest struct to start migrate diff --git a/pkg/sdn/logicalports/serialize.go b/pkg/sdn/logicalports/serialize.go index 9d25448..4830399 100644 --- a/pkg/sdn/logicalports/serialize.go +++ b/pkg/sdn/logicalports/serialize.go @@ -3,7 +3,7 @@ package logicalports import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/sdn/logicalports/update.go b/pkg/sdn/logicalports/update.go index abacd78..165268e 100644 --- a/pkg/sdn/logicalports/update.go +++ b/pkg/sdn/logicalports/update.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update logical port diff --git a/pkg/sdn/netobjgroups/attach_extnet_ports.go b/pkg/sdn/netobjgroups/attach_extnet_ports.go index d6a8a77..1c4fa17 100644 --- a/pkg/sdn/netobjgroups/attach_extnet_ports.go +++ b/pkg/sdn/netobjgroups/attach_extnet_ports.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AttachExtNetPortsRequest struct to attach external network ports to a network object group diff --git a/pkg/sdn/netobjgroups/attach_l2_connection_ports.go b/pkg/sdn/netobjgroups/attach_l2_connection_ports.go new file mode 100644 index 0000000..63f2009 --- /dev/null +++ b/pkg/sdn/netobjgroups/attach_l2_connection_ports.go @@ -0,0 +1,62 @@ +package netobjgroups + +import ( + "context" + "encoding/json" + "net/http" + + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" +) + +// AttachL2ConnectionPortsRequest struct to attach l2 ports to a network object group +type AttachL2ConnectionPortsRequest struct { + // ID of a network object group + // Required: true + ObjectGroupID string `url:"object_group_id" json:"object_group_id" validate:"required"` + + // ID of an access group + // Required: true + AccessGroupID string `url:"access_group_id" json:"access_group_id" validate:"required"` + + // Version ID + // Required: true + VersionID uint64 `url:"version_id" json:"version_id" validate:"required"` + + // Port Bindings + // Required: true + PortBindings []L2PortBindings `url:"port_bindings" json:"port_bindings" validate:"required,dive"` +} +type L2PortBindings struct { + // ID of a logical port + // Required: true + PortID string `url:"port_id" json:"port_id" validate:"required"` + + // Version of a logical port + // Required: true + PortVersion int64 `url:"port_version" json:"port_version" validate:"required"` +} + +// AttachLogicalPorts attaches l2 ports to a network object group +func (nog NetworkObjectGroups) AttachL2ConnectionPorts(ctx context.Context, req AttachL2ConnectionPortsRequest) (*RecordVersion, error) { + err := validators.ValidateRequest(req) + if err != nil { + return nil, validators.ValidationErrors(validators.GetErrors(err)) + } + + url := "/sdn/network_object_group/attach_l2_connection_ports" + + res, err := nog.client.DecortApiCallCtype(ctx, http.MethodPost, url, constants.MIMEJSON, req) + if err != nil { + return nil, err + } + + info := RecordVersion{} + + err = json.Unmarshal(res, &info) + if err != nil { + return nil, err + } + + return &info, nil +} diff --git a/pkg/sdn/netobjgroups/attach_logical_ports.go b/pkg/sdn/netobjgroups/attach_logical_ports.go index f136072..2ee69b8 100644 --- a/pkg/sdn/netobjgroups/attach_logical_ports.go +++ b/pkg/sdn/netobjgroups/attach_logical_ports.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // AttachLogicalPortsRequest struct to attach logical ports to a network object group diff --git a/pkg/sdn/netobjgroups/create.go b/pkg/sdn/netobjgroups/create.go index 1ddb2df..7201029 100644 --- a/pkg/sdn/netobjgroups/create.go +++ b/pkg/sdn/netobjgroups/create.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create a network object group diff --git a/pkg/sdn/netobjgroups/delete.go b/pkg/sdn/netobjgroups/delete.go index 0b56241..998e5e5 100644 --- a/pkg/sdn/netobjgroups/delete.go +++ b/pkg/sdn/netobjgroups/delete.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest to delete a network object group diff --git a/pkg/sdn/netobjgroups/detach_external_network_ports.go b/pkg/sdn/netobjgroups/detach_external_network_ports.go index 88f055e..486fa37 100644 --- a/pkg/sdn/netobjgroups/detach_external_network_ports.go +++ b/pkg/sdn/netobjgroups/detach_external_network_ports.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DetachExtNetPortsRequest struct to detach an external network port from a network object group diff --git a/pkg/sdn/netobjgroups/detach_l2_connection_ports.go b/pkg/sdn/netobjgroups/detach_l2_connection_ports.go new file mode 100644 index 0000000..90c6773 --- /dev/null +++ b/pkg/sdn/netobjgroups/detach_l2_connection_ports.go @@ -0,0 +1,62 @@ +package netobjgroups + +import ( + "context" + "encoding/json" + "net/http" + + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" +) + +// DetachL2ConnectionPortsRequest struct to detach an l2 port from a network object group +type DetachL2ConnectionPortsRequest struct { + // ID of a network object group + // Required: true + ObjectGroupID string `url:"object_group_id" json:"object_group_id" validate:"required"` + + // ID of an access group + // Required: true + AccessGroupID string `url:"access_group_id" json:"access_group_id" validate:"required"` + + // Version ID + // Required: true + VersionID uint64 `url:"version_id" json:"version_id" validate:"required"` + + // Port Bindings + // Required: true + PortBindings []DetachL2PortBindings `url:"port_bindings" json:"port_bindings" validate:"required,dive"` +} +type DetachL2PortBindings struct { + // ID of a logical port + // Required: true + PortID string `url:"port_id" json:"port_id" validate:"required"` + + // Version of a logical port + // Required: true + PortVersion int64 `url:"port_version" json:"port_version" validate:"required"` +} + +// DetachL2ConnectionPorts detaches logical ports from a network object group +func (nog NetworkObjectGroups) DetachL2ConnectionPorts(ctx context.Context, req DetachL2ConnectionPortsRequest) (*RecordVersion, error) { + err := validators.ValidateRequest(req) + if err != nil { + return nil, validators.ValidationErrors(validators.GetErrors(err)) + } + + url := "/sdn/network_object_group/detach_l2_connection_ports" + + res, err := nog.client.DecortApiCallCtype(ctx, http.MethodPost, url, constants.MIMEJSON, req) + if err != nil { + return nil, err + } + + info := RecordVersion{} + + err = json.Unmarshal(res, &info) + if err != nil { + return nil, err + } + + return &info, nil +} diff --git a/pkg/sdn/netobjgroups/detach_logical_ports.go b/pkg/sdn/netobjgroups/detach_logical_ports.go index 3a700c8..e9ac8af 100644 --- a/pkg/sdn/netobjgroups/detach_logical_ports.go +++ b/pkg/sdn/netobjgroups/detach_logical_ports.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DetachLogicalPortsRequest struct to detach an logical port from a network object group diff --git a/pkg/sdn/netobjgroups/get.go b/pkg/sdn/netobjgroups/get.go index b645d8c..ddbf580 100644 --- a/pkg/sdn/netobjgroups/get.go +++ b/pkg/sdn/netobjgroups/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get info about a network object group diff --git a/pkg/sdn/netobjgroups/list.go b/pkg/sdn/netobjgroups/list.go index 4b4b6e0..482af46 100644 --- a/pkg/sdn/netobjgroups/list.go +++ b/pkg/sdn/netobjgroups/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get a list of network object groups diff --git a/pkg/sdn/netobjgroups/network_object_groups.go b/pkg/sdn/netobjgroups/network_object_groups.go index cf8e23f..6b4ce41 100644 --- a/pkg/sdn/netobjgroups/network_object_groups.go +++ b/pkg/sdn/netobjgroups/network_object_groups.go @@ -2,7 +2,7 @@ package netobjgroups import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to network object groups diff --git a/pkg/sdn/netobjgroups/update.go b/pkg/sdn/netobjgroups/update.go index 55f0679..cf5a934 100644 --- a/pkg/sdn/netobjgroups/update.go +++ b/pkg/sdn/netobjgroups/update.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update a network object group diff --git a/pkg/sdn/network_object_groups.go b/pkg/sdn/network_object_groups.go index df83d41..ce3f5e7 100644 --- a/pkg/sdn/network_object_groups.go +++ b/pkg/sdn/network_object_groups.go @@ -1,7 +1,7 @@ package sdn import ( - nog "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn/netobjgroups" + nog "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn/netobjgroups" ) // Accessing the SDN method group diff --git a/pkg/sdn/routers.go b/pkg/sdn/routers.go index 0eba637..ef10c9a 100644 --- a/pkg/sdn/routers.go +++ b/pkg/sdn/routers.go @@ -1,7 +1,7 @@ package sdn import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn/routers" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn/routers" ) // Accessing the SDN method group diff --git a/pkg/sdn/routers/create.go b/pkg/sdn/routers/create.go index e449f07..c559da6 100644 --- a/pkg/sdn/routers/create.go +++ b/pkg/sdn/routers/create.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create router diff --git a/pkg/sdn/routers/delete.go b/pkg/sdn/routers/delete.go index 6944567..db709a3 100644 --- a/pkg/sdn/routers/delete.go +++ b/pkg/sdn/routers/delete.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct for delete router diff --git a/pkg/sdn/routers/gateaway_port.go b/pkg/sdn/routers/gateaway_port.go index 9684db8..32c4389 100644 --- a/pkg/sdn/routers/gateaway_port.go +++ b/pkg/sdn/routers/gateaway_port.go @@ -1,7 +1,7 @@ package routers import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn/routers/gwport" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn/routers/gwport" ) // Accessing the routers gateway port method group diff --git a/pkg/sdn/routers/get.go b/pkg/sdn/routers/get.go index 09908fc..3d420c1 100644 --- a/pkg/sdn/routers/get.go +++ b/pkg/sdn/routers/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about router diff --git a/pkg/sdn/routers/gwport/create.go b/pkg/sdn/routers/gwport/create.go index 8781ce7..c4c891f 100644 --- a/pkg/sdn/routers/gwport/create.go +++ b/pkg/sdn/routers/gwport/create.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create gateway port diff --git a/pkg/sdn/routers/gwport/delete.go b/pkg/sdn/routers/gwport/delete.go index 57d1f26..38851f3 100644 --- a/pkg/sdn/routers/gwport/delete.go +++ b/pkg/sdn/routers/gwport/delete.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct for delete router diff --git a/pkg/sdn/routers/gwport/gateaway_port.go b/pkg/sdn/routers/gwport/gateaway_port.go index b88240e..a227b8a 100644 --- a/pkg/sdn/routers/gwport/gateaway_port.go +++ b/pkg/sdn/routers/gwport/gateaway_port.go @@ -3,7 +3,7 @@ package gwport // API Actor API for managing SDN routers gateway port import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to routers gateway port diff --git a/pkg/sdn/routers/gwport/get.go b/pkg/sdn/routers/gwport/get.go index befba0d..5d742ec 100644 --- a/pkg/sdn/routers/gwport/get.go +++ b/pkg/sdn/routers/gwport/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about gateway port diff --git a/pkg/sdn/routers/gwport/list.go b/pkg/sdn/routers/gwport/list.go index d9fb7eb..1e04ca8 100644 --- a/pkg/sdn/routers/gwport/list.go +++ b/pkg/sdn/routers/gwport/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get list of gateway ports diff --git a/pkg/sdn/routers/gwport/update.go b/pkg/sdn/routers/gwport/update.go index ad4905d..c0fedb6 100644 --- a/pkg/sdn/routers/gwport/update.go +++ b/pkg/sdn/routers/gwport/update.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update gateway port diff --git a/pkg/sdn/routers/list.go b/pkg/sdn/routers/list.go index 944ac8e..77cfc8b 100644 --- a/pkg/sdn/routers/list.go +++ b/pkg/sdn/routers/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get a list of routers diff --git a/pkg/sdn/routers/policies.go b/pkg/sdn/routers/policies.go index b9286e3..a0728ac 100644 --- a/pkg/sdn/routers/policies.go +++ b/pkg/sdn/routers/policies.go @@ -1,7 +1,7 @@ package routers import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn/routers/policies" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn/routers/policies" ) // Accessing the routers policies method group diff --git a/pkg/sdn/routers/policies/list.go b/pkg/sdn/routers/policies/list.go index 4d941c9..7e4b82b 100644 --- a/pkg/sdn/routers/policies/list.go +++ b/pkg/sdn/routers/policies/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get a list of policies diff --git a/pkg/sdn/routers/policies/policies.go b/pkg/sdn/routers/policies/policies.go index 0c5f737..8963f31 100644 --- a/pkg/sdn/routers/policies/policies.go +++ b/pkg/sdn/routers/policies/policies.go @@ -2,7 +2,7 @@ package policies import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to routers policies diff --git a/pkg/sdn/routers/routers.go b/pkg/sdn/routers/routers.go index 0c6473c..b3daa88 100644 --- a/pkg/sdn/routers/routers.go +++ b/pkg/sdn/routers/routers.go @@ -2,7 +2,7 @@ package routers import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to routers diff --git a/pkg/sdn/routers/serialize.go b/pkg/sdn/routers/serialize.go index 9b20f43..e43a098 100644 --- a/pkg/sdn/routers/serialize.go +++ b/pkg/sdn/routers/serialize.go @@ -3,7 +3,7 @@ package routers import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/sdn/routers/update.go b/pkg/sdn/routers/update.go index b520c6f..4cfe9dd 100644 --- a/pkg/sdn/routers/update.go +++ b/pkg/sdn/routers/update.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct for update router diff --git a/pkg/sdn/sdn.go b/pkg/sdn/sdn.go index 6bc78ca..fe1d8fa 100644 --- a/pkg/sdn/sdn.go +++ b/pkg/sdn/sdn.go @@ -1,7 +1,7 @@ // List of method groups for the SDN package sdn -import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" +import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" // Structure for creating request to SDN groups type SDN struct { diff --git a/pkg/sdn/secpolicies/create.go b/pkg/sdn/secpolicies/create.go index 9d74737..e39705a 100644 --- a/pkg/sdn/secpolicies/create.go +++ b/pkg/sdn/secpolicies/create.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct to create security policy diff --git a/pkg/sdn/secpolicies/delete.go b/pkg/sdn/secpolicies/delete.go index 5e7a7e4..3e585bf 100644 --- a/pkg/sdn/secpolicies/delete.go +++ b/pkg/sdn/secpolicies/delete.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to delete security policy diff --git a/pkg/sdn/secpolicies/get.go b/pkg/sdn/secpolicies/get.go index eefacd7..707e2f9 100644 --- a/pkg/sdn/secpolicies/get.go +++ b/pkg/sdn/secpolicies/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get information about security policy diff --git a/pkg/sdn/secpolicies/list.go b/pkg/sdn/secpolicies/list.go index 4eb5991..006c12b 100644 --- a/pkg/sdn/secpolicies/list.go +++ b/pkg/sdn/secpolicies/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get a list of security group diff --git a/pkg/sdn/secpolicies/move.go b/pkg/sdn/secpolicies/move.go index b8cf016..a97761d 100644 --- a/pkg/sdn/secpolicies/move.go +++ b/pkg/sdn/secpolicies/move.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct to move security policy diff --git a/pkg/sdn/secpolicies/rule.go b/pkg/sdn/secpolicies/rule.go index 49a26b8..a096e0f 100644 --- a/pkg/sdn/secpolicies/rule.go +++ b/pkg/sdn/secpolicies/rule.go @@ -1,7 +1,7 @@ package secpolicies import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn/secpolicies/rule" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn/secpolicies/rule" ) // Accessing the security policies rule method group diff --git a/pkg/sdn/secpolicies/rule/get.go b/pkg/sdn/secpolicies/rule/get.go index 07d862b..608bc7c 100644 --- a/pkg/sdn/secpolicies/rule/get.go +++ b/pkg/sdn/secpolicies/rule/get.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetRequest struct to get a security rules diff --git a/pkg/sdn/secpolicies/rule/list.go b/pkg/sdn/secpolicies/rule/list.go index bd8e129..275efbe 100644 --- a/pkg/sdn/secpolicies/rule/list.go +++ b/pkg/sdn/secpolicies/rule/list.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // ListRequest struct to get a list of security rules diff --git a/pkg/sdn/secpolicies/rule/rule.go b/pkg/sdn/secpolicies/rule/rule.go index 0ae1a15..0b9094f 100644 --- a/pkg/sdn/secpolicies/rule/rule.go +++ b/pkg/sdn/secpolicies/rule/rule.go @@ -2,7 +2,7 @@ package rule import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to security policies rule diff --git a/pkg/sdn/secpolicies/rule/serialize.go b/pkg/sdn/secpolicies/rule/serialize.go index 06dcc02..a7e0e44 100644 --- a/pkg/sdn/secpolicies/rule/serialize.go +++ b/pkg/sdn/secpolicies/rule/serialize.go @@ -3,7 +3,7 @@ package rule import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/sdn/secpolicies/security_policies.go b/pkg/sdn/secpolicies/security_policies.go index 9025ea8..8b5b141 100644 --- a/pkg/sdn/secpolicies/security_policies.go +++ b/pkg/sdn/secpolicies/security_policies.go @@ -2,7 +2,7 @@ package secpolicies import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to security policies diff --git a/pkg/sdn/secpolicies/serialize.go b/pkg/sdn/secpolicies/serialize.go index 1af2246..a78983b 100644 --- a/pkg/sdn/secpolicies/serialize.go +++ b/pkg/sdn/secpolicies/serialize.go @@ -3,7 +3,7 @@ package secpolicies import ( "encoding/json" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/serialization" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/serialization" ) // Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions. diff --git a/pkg/sdn/secpolicies/update.go b/pkg/sdn/secpolicies/update.go index 419c02b..beebf0c 100644 --- a/pkg/sdn/secpolicies/update.go +++ b/pkg/sdn/secpolicies/update.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct to update security policy diff --git a/pkg/sdn/security_policies.go b/pkg/sdn/security_policies.go index 1387974..258b0c8 100644 --- a/pkg/sdn/security_policies.go +++ b/pkg/sdn/security_policies.go @@ -1,7 +1,7 @@ package sdn import ( - sp "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn/secpolicies" + sp "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn/secpolicies" ) // Accessing the SDN method group diff --git a/pkg/sdn/segments.go b/pkg/sdn/segments.go index 7e10104..f839d46 100644 --- a/pkg/sdn/segments.go +++ b/pkg/sdn/segments.go @@ -1,7 +1,7 @@ package sdn import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn/segments" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn/segments" ) // Accessing the Segments method group diff --git a/pkg/sdn/segments/create.go b/pkg/sdn/segments/create.go index 5e7fae5..f786eed 100644 --- a/pkg/sdn/segments/create.go +++ b/pkg/sdn/segments/create.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // CreateRequest struct for creating segment diff --git a/pkg/sdn/segments/delete.go b/pkg/sdn/segments/delete.go index df17e6c..9c1ea99 100644 --- a/pkg/sdn/segments/delete.go +++ b/pkg/sdn/segments/delete.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // DeleteRequest struct for delete segment diff --git a/pkg/sdn/segments/get_status.go b/pkg/sdn/segments/get_status.go index 74fe57b..645f8c2 100644 --- a/pkg/sdn/segments/get_status.go +++ b/pkg/sdn/segments/get_status.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // GetStatusRequest struct to get information about segment status diff --git a/pkg/sdn/segments/segments.go b/pkg/sdn/segments/segments.go index da29f5b..0707845 100644 --- a/pkg/sdn/segments/segments.go +++ b/pkg/sdn/segments/segments.go @@ -2,7 +2,7 @@ package segments import ( - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/interfaces" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/interfaces" ) // Structure for creating request to segments diff --git a/pkg/sdn/segments/update.go b/pkg/sdn/segments/update.go index 67d1759..ce1654b 100644 --- a/pkg/sdn/segments/update.go +++ b/pkg/sdn/segments/update.go @@ -5,8 +5,8 @@ import ( "encoding/json" "net/http" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/constants" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/internal/validators" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/constants" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators" ) // UpdateRequest struct for updating segment diff --git a/samples/client/client.go b/samples/client/client.go index 3895c92..2923c26 100644 --- a/samples/client/client.go +++ b/samples/client/client.go @@ -6,8 +6,8 @@ import ( "errors" - decortsdk "repository.basistech.ru/BASIS/decort-golang-sdk" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/compute" + decortsdk "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/compute" ) type Migrator interface { diff --git a/samples/client/client_test.go b/samples/client/client_test.go index af31d4a..c4edbb7 100644 --- a/samples/client/client_test.go +++ b/samples/client/client_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" "go.uber.org/mock/gomock" - decortsdk "repository.basistech.ru/BASIS/decort-golang-sdk" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker/compute" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/samples/client" + decortsdk "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker/compute" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/samples/client" ) // Пример юнит тестирования на моках diff --git a/universal-client.go b/universal-client.go index fac757e..93f6169 100644 --- a/universal-client.go +++ b/universal-client.go @@ -4,10 +4,10 @@ import ( "fmt" "reflect" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/config" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudapi" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/cloudbroker" - "repository.basistech.ru/BASIS/dynamix-golang-sdk/v13/pkg/sdn" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/config" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudapi" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/cloudbroker" + "repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/pkg/sdn" ) type ClientInterface interface {