From fa5755938631bec16eab34490838395cf381713b Mon Sep 17 00:00:00 2001 From: Lee Spottiswood Date: Thu, 23 Jun 2022 14:53:55 +0100 Subject: [PATCH] update module path --- README.md | 2 +- cmd/account/account.go | 2 +- cmd/account/account_contact.go | 8 ++-- cmd/account/account_contact_test.go | 8 ++-- cmd/account/account_credit.go | 8 ++-- cmd/account/account_credit_test.go | 6 +-- cmd/account/account_details.go | 6 +-- cmd/account/account_details_test.go | 4 +- cmd/account/output.go | 4 +- cmd/billing/billing.go | 2 +- cmd/billing/billing_card.go | 10 ++--- cmd/billing/billing_card_test.go | 8 ++-- cmd/billing/billing_cloudcost.go | 8 ++-- cmd/billing/billing_directdebit.go | 6 +-- cmd/billing/billing_directdebit_test.go | 4 +- cmd/billing/billing_invoice.go | 8 ++-- cmd/billing/billing_invoice_test.go | 8 ++-- cmd/billing/billing_invoicequery.go | 8 ++-- cmd/billing/billing_invoicequery_test.go | 8 ++-- cmd/billing/billing_payment.go | 8 ++-- cmd/billing/billing_payment_test.go | 8 ++-- cmd/billing/billing_recurringcost.go | 8 ++-- cmd/billing/billing_recurringcost_test.go | 8 ++-- cmd/billing/output.go | 4 +- cmd/cloudflare/cloudflare.go | 4 +- cmd/cloudflare/cloudflare_account.go | 8 ++-- cmd/cloudflare/cloudflare_account_member.go | 4 +- .../cloudflare_account_member_test.go | 4 +- cmd/cloudflare/cloudflare_account_test.go | 8 ++-- cmd/cloudflare/cloudflare_orchestrator.go | 4 +- .../cloudflare_orchestrator_test.go | 4 +- cmd/cloudflare/cloudflare_spendplan.go | 8 ++-- cmd/cloudflare/cloudflare_spendplan_test.go | 6 +-- cmd/cloudflare/cloudflare_subscription.go | 8 ++-- .../cloudflare_subscription_test.go | 6 +-- cmd/cloudflare/cloudflare_totalspend.go | 6 +-- cmd/cloudflare/cloudflare_totalspend_test.go | 4 +- cmd/cloudflare/cloudflare_zone.go | 8 ++-- cmd/cloudflare/cloudflare_zone_test.go | 8 ++-- cmd/cloudflare/output.go | 4 +- cmd/config/config_context.go | 4 +- cmd/config/config_context_test.go | 4 +- cmd/ddosx/ddosx.go | 2 +- cmd/ddosx/ddosx_domain.go | 8 ++-- cmd/ddosx/ddosx_domain_acl.go | 2 +- cmd/ddosx/ddosx_domain_acl_geoip.go | 8 ++-- cmd/ddosx/ddosx_domain_acl_geoip_mode.go | 6 +-- cmd/ddosx/ddosx_domain_acl_geoip_mode_test.go | 8 ++-- cmd/ddosx/ddosx_domain_acl_geoip_test.go | 8 ++-- cmd/ddosx/ddosx_domain_acl_ip.go | 16 ++++---- cmd/ddosx/ddosx_domain_acl_ip_test.go | 12 +++--- cmd/ddosx/ddosx_domain_cdn.go | 6 +-- cmd/ddosx/ddosx_domain_cdn_rule.go | 10 ++--- cmd/ddosx/ddosx_domain_cdn_rule_test.go | 8 ++-- cmd/ddosx/ddosx_domain_cdn_test.go | 6 +-- cmd/ddosx/ddosx_domain_dns.go | 6 +-- cmd/ddosx/ddosx_domain_dns_test.go | 6 +-- cmd/ddosx/ddosx_domain_hsts.go | 6 +-- cmd/ddosx/ddosx_domain_hsts_rule.go | 10 ++--- cmd/ddosx/ddosx_domain_hsts_rule_test.go | 10 ++--- cmd/ddosx/ddosx_domain_hsts_test.go | 6 +-- cmd/ddosx/ddosx_domain_property.go | 8 ++-- cmd/ddosx/ddosx_domain_property_test.go | 10 ++--- cmd/ddosx/ddosx_domain_record.go | 8 ++-- cmd/ddosx/ddosx_domain_record_test.go | 8 ++-- cmd/ddosx/ddosx_domain_test.go | 10 ++--- cmd/ddosx/ddosx_domain_verification.go | 2 +- cmd/ddosx/ddosx_domain_verification_dns.go | 6 +-- .../ddosx_domain_verification_dns_test.go | 4 +- .../ddosx_domain_verification_fileupload.go | 6 +-- ...osx_domain_verification_fileupload_test.go | 6 +-- cmd/ddosx/ddosx_domain_waf.go | 6 +-- cmd/ddosx/ddosx_domain_waf_advancedrule.go | 10 ++--- .../ddosx_domain_waf_advancedrule_test.go | 10 ++--- cmd/ddosx/ddosx_domain_waf_rule.go | 10 ++--- cmd/ddosx/ddosx_domain_waf_rule_test.go | 8 ++-- cmd/ddosx/ddosx_domain_waf_ruleset.go | 10 ++--- cmd/ddosx/ddosx_domain_waf_ruleset_test.go | 10 ++--- cmd/ddosx/ddosx_domain_waf_test.go | 8 ++-- cmd/ddosx/ddosx_record.go | 8 ++-- cmd/ddosx/ddosx_record_test.go | 6 +-- cmd/ddosx/ddosx_ssl.go | 8 ++-- cmd/ddosx/ddosx_ssl_content.go | 6 +-- cmd/ddosx/ddosx_ssl_content_test.go | 6 +-- cmd/ddosx/ddosx_ssl_privatekey.go | 6 +-- cmd/ddosx/ddosx_ssl_privatekey_test.go | 6 +-- cmd/ddosx/ddosx_ssl_test.go | 8 ++-- cmd/ddosx/ddosx_waf.go | 2 +- cmd/ddosx/ddosx_waf_log.go | 8 ++-- cmd/ddosx/ddosx_waf_log_match.go | 10 ++--- cmd/ddosx/ddosx_waf_log_match_test.go | 8 ++-- cmd/ddosx/ddosx_waf_log_test.go | 8 ++-- cmd/ddosx/output.go | 4 +- cmd/draas/draas.go | 2 +- cmd/draas/draas_billingtype.go | 8 ++-- cmd/draas/draas_billingtype_test.go | 8 ++-- cmd/draas/draas_iopstier.go | 8 ++-- cmd/draas/draas_iopstier_test.go | 8 ++-- cmd/draas/draas_solution.go | 8 ++-- cmd/draas/draas_solution_backupresource.go | 8 ++-- .../draas_solution_backupresource_test.go | 6 +-- cmd/draas/draas_solution_backupservice.go | 6 +-- .../draas_solution_backupservice_test.go | 4 +- cmd/draas/draas_solution_computeresource.go | 8 ++-- .../draas_solution_computeresource_test.go | 8 ++-- cmd/draas/draas_solution_failoverplan.go | 10 ++--- cmd/draas/draas_solution_failoverplan_test.go | 8 ++-- cmd/draas/draas_solution_hardwareplan.go | 8 ++-- .../draas_solution_hardwareplan_replica.go | 8 ++-- ...raas_solution_hardwareplan_replica_test.go | 6 +-- cmd/draas/draas_solution_hardwareplan_test.go | 8 ++-- cmd/draas/draas_solution_replica.go | 2 +- cmd/draas/draas_solution_replica_iops.go | 4 +- cmd/draas/draas_solution_replica_iops_test.go | 4 +- cmd/draas/draas_solution_test.go | 8 ++-- cmd/draas/output.go | 4 +- cmd/ecloud/ecloud.go | 6 +-- cmd/ecloud/ecloud_appliance.go | 8 ++-- cmd/ecloud/ecloud_appliance_parameter.go | 8 ++-- cmd/ecloud/ecloud_appliance_parameter_test.go | 6 +-- cmd/ecloud/ecloud_appliance_test.go | 8 ++-- cmd/ecloud/ecloud_availabilityzone.go | 8 ++-- cmd/ecloud/ecloud_availabilityzone_test.go | 8 ++-- cmd/ecloud/ecloud_dhcp.go | 8 ++-- cmd/ecloud/ecloud_dhcp_test.go | 8 ++-- cmd/ecloud/ecloud_firewallpolicy.go | 8 ++-- cmd/ecloud/ecloud_firewallpolicy_rule.go | 8 ++-- cmd/ecloud/ecloud_firewallpolicy_rule_test.go | 6 +-- cmd/ecloud/ecloud_firewallpolicy_task.go | 8 ++-- cmd/ecloud/ecloud_firewallpolicy_task_test.go | 6 +-- cmd/ecloud/ecloud_firewallpolicy_test.go | 8 ++-- cmd/ecloud/ecloud_firewallrule.go | 10 ++--- cmd/ecloud/ecloud_firewallrule_port.go | 8 ++-- cmd/ecloud/ecloud_firewallrule_port_test.go | 6 +-- cmd/ecloud/ecloud_firewallrule_test.go | 8 ++-- cmd/ecloud/ecloud_firewallruleport.go | 8 ++-- cmd/ecloud/ecloud_firewallruleport_test.go | 8 ++-- cmd/ecloud/ecloud_floatingip.go | 8 ++-- cmd/ecloud/ecloud_floatingip_test.go | 32 +++++++-------- cmd/ecloud/ecloud_host.go | 8 ++-- cmd/ecloud/ecloud_host_test.go | 8 ++-- cmd/ecloud/ecloud_hostgroup.go | 8 ++-- cmd/ecloud/ecloud_hostgroup_test.go | 8 ++-- cmd/ecloud/ecloud_hostspec.go | 8 ++-- cmd/ecloud/ecloud_hostspec_test.go | 8 ++-- cmd/ecloud/ecloud_image.go | 8 ++-- cmd/ecloud/ecloud_image_metadata.go | 8 ++-- cmd/ecloud/ecloud_image_metadata_test.go | 6 +-- cmd/ecloud/ecloud_image_parameter.go | 8 ++-- cmd/ecloud/ecloud_image_parameter_test.go | 6 +-- cmd/ecloud/ecloud_image_test.go | 8 ++-- cmd/ecloud/ecloud_instance.go | 12 +++--- cmd/ecloud/ecloud_instance_consolesession.go | 6 +-- .../ecloud_instance_consolesession_test.go | 6 +-- cmd/ecloud/ecloud_instance_credential.go | 8 ++-- cmd/ecloud/ecloud_instance_credential_test.go | 6 +-- cmd/ecloud/ecloud_instance_floatingip.go | 8 ++-- cmd/ecloud/ecloud_instance_floatingip_test.go | 6 +-- cmd/ecloud/ecloud_instance_nic.go | 8 ++-- cmd/ecloud/ecloud_instance_nic_test.go | 6 +-- cmd/ecloud/ecloud_instance_task.go | 8 ++-- cmd/ecloud/ecloud_instance_task_test.go | 6 +-- cmd/ecloud/ecloud_instance_test.go | 12 +++--- cmd/ecloud/ecloud_instance_volume.go | 8 ++-- cmd/ecloud/ecloud_instance_volume_test.go | 6 +-- cmd/ecloud/ecloud_ipaddress.go | 10 ++--- cmd/ecloud/ecloud_ipaddress_test.go | 8 ++-- cmd/ecloud/ecloud_loadbalancer.go | 8 ++-- cmd/ecloud/ecloud_loadbalancer_test.go | 8 ++-- cmd/ecloud/ecloud_loadbalancerspec.go | 8 ++-- cmd/ecloud/ecloud_loadbalancerspec_test.go | 8 ++-- cmd/ecloud/ecloud_network.go | 8 ++-- cmd/ecloud/ecloud_network_nic.go | 8 ++-- cmd/ecloud/ecloud_network_nic_test.go | 6 +-- cmd/ecloud/ecloud_network_task.go | 8 ++-- cmd/ecloud/ecloud_network_task_test.go | 6 +-- cmd/ecloud/ecloud_network_test.go | 8 ++-- cmd/ecloud/ecloud_networkpolicy.go | 8 ++-- cmd/ecloud/ecloud_networkpolicy_rule.go | 8 ++-- cmd/ecloud/ecloud_networkpolicy_rule_test.go | 6 +-- cmd/ecloud/ecloud_networkpolicy_task.go | 8 ++-- cmd/ecloud/ecloud_networkpolicy_task_test.go | 6 +-- cmd/ecloud/ecloud_networkpolicy_test.go | 8 ++-- cmd/ecloud/ecloud_networkrule.go | 10 ++--- cmd/ecloud/ecloud_networkrule_port.go | 8 ++-- cmd/ecloud/ecloud_networkrule_port_test.go | 6 +-- cmd/ecloud/ecloud_networkrule_test.go | 8 ++-- cmd/ecloud/ecloud_networkruleport.go | 8 ++-- cmd/ecloud/ecloud_networkruleport_test.go | 8 ++-- cmd/ecloud/ecloud_nic.go | 8 ++-- cmd/ecloud/ecloud_nic_ipaddress.go | 8 ++-- cmd/ecloud/ecloud_nic_ipaddress_test.go | 8 ++-- cmd/ecloud/ecloud_nic_test.go | 8 ++-- cmd/ecloud/ecloud_region.go | 8 ++-- cmd/ecloud/ecloud_region_test.go | 8 ++-- cmd/ecloud/ecloud_router.go | 8 ++-- cmd/ecloud/ecloud_router_firewallpolicy.go | 8 ++-- .../ecloud_router_firewallpolicy_test.go | 6 +-- cmd/ecloud/ecloud_router_network.go | 8 ++-- cmd/ecloud/ecloud_router_network_test.go | 6 +-- cmd/ecloud/ecloud_router_task.go | 8 ++-- cmd/ecloud/ecloud_router_task_test.go | 6 +-- cmd/ecloud/ecloud_router_test.go | 12 +++--- cmd/ecloud/ecloud_routerthroughput.go | 8 ++-- cmd/ecloud/ecloud_routerthroughput_test.go | 8 ++-- cmd/ecloud/ecloud_sshkeypair.go | 8 ++-- cmd/ecloud/ecloud_sshkeypair_test.go | 8 ++-- cmd/ecloud/ecloud_task.go | 8 ++-- cmd/ecloud/ecloud_task_test.go | 10 ++--- cmd/ecloud/ecloud_v1_credit.go | 10 ++--- cmd/ecloud/ecloud_v1_credit_test.go | 6 +-- cmd/ecloud/ecloud_v1_datastore.go | 8 ++-- cmd/ecloud/ecloud_v1_datastore_test.go | 8 ++-- cmd/ecloud/ecloud_v1_firewall.go | 8 ++-- cmd/ecloud/ecloud_v1_firewall_test.go | 8 ++-- cmd/ecloud/ecloud_v1_host.go | 8 ++-- cmd/ecloud/ecloud_v1_host_test.go | 8 ++-- cmd/ecloud/ecloud_v1_pod.go | 8 ++-- cmd/ecloud/ecloud_v1_pod_appliance.go | 8 ++-- cmd/ecloud/ecloud_v1_pod_appliance_test.go | 6 +-- cmd/ecloud/ecloud_v1_pod_template.go | 8 ++-- cmd/ecloud/ecloud_v1_pod_template_test.go | 10 ++--- cmd/ecloud/ecloud_v1_pod_test.go | 8 ++-- cmd/ecloud/ecloud_v1_site.go | 8 ++-- cmd/ecloud/ecloud_v1_site_test.go | 8 ++-- cmd/ecloud/ecloud_v1_solution.go | 10 ++--- cmd/ecloud/ecloud_v1_solution_datastore.go | 8 ++-- .../ecloud_v1_solution_datastore_test.go | 6 +-- cmd/ecloud/ecloud_v1_solution_firewall.go | 8 ++-- .../ecloud_v1_solution_firewall_test.go | 6 +-- cmd/ecloud/ecloud_v1_solution_host.go | 8 ++-- cmd/ecloud/ecloud_v1_solution_host_test.go | 6 +-- cmd/ecloud/ecloud_v1_solution_network.go | 8 ++-- cmd/ecloud/ecloud_v1_solution_network_test.go | 6 +-- cmd/ecloud/ecloud_v1_solution_site.go | 8 ++-- cmd/ecloud/ecloud_v1_solution_site_test.go | 6 +-- cmd/ecloud/ecloud_v1_solution_tag.go | 8 ++-- cmd/ecloud/ecloud_v1_solution_tag_test.go | 8 ++-- cmd/ecloud/ecloud_v1_solution_template.go | 8 ++-- .../ecloud_v1_solution_template_test.go | 10 ++--- cmd/ecloud/ecloud_v1_solution_test.go | 8 ++-- cmd/ecloud/ecloud_v1_solution_vm.go | 8 ++-- cmd/ecloud/ecloud_v1_solution_vm_test.go | 6 +-- cmd/ecloud/ecloud_v1_vm.go | 10 ++--- cmd/ecloud/ecloud_v1_vm_consolesession.go | 6 +-- .../ecloud_v1_vm_consolesession_test.go | 4 +- cmd/ecloud/ecloud_v1_vm_disk.go | 8 ++-- cmd/ecloud/ecloud_v1_vm_disk_test.go | 6 +-- cmd/ecloud/ecloud_v1_vm_tag.go | 8 ++-- cmd/ecloud/ecloud_v1_vm_tag_test.go | 8 ++-- cmd/ecloud/ecloud_v1_vm_template.go | 10 ++--- cmd/ecloud/ecloud_v1_vm_template_test.go | 8 ++-- cmd/ecloud/ecloud_v1_vm_test.go | 12 +++--- cmd/ecloud/ecloud_vip.go | 8 ++-- cmd/ecloud/ecloud_vip_test.go | 8 ++-- cmd/ecloud/ecloud_volume.go | 10 ++--- cmd/ecloud/ecloud_volume_instance.go | 8 ++-- cmd/ecloud/ecloud_volume_instance_test.go | 6 +-- cmd/ecloud/ecloud_volume_task.go | 8 ++-- cmd/ecloud/ecloud_volume_task_test.go | 6 +-- cmd/ecloud/ecloud_volume_test.go | 40 +++++++++---------- cmd/ecloud/ecloud_volumegroup.go | 8 ++-- cmd/ecloud/ecloud_volumegroup_test.go | 20 +++++----- cmd/ecloud/ecloud_volumegroup_volume.go | 8 ++-- cmd/ecloud/ecloud_volumegroup_volume_test.go | 6 +-- cmd/ecloud/ecloud_vpc.go | 8 ++-- cmd/ecloud/ecloud_vpc_instance.go | 8 ++-- cmd/ecloud/ecloud_vpc_instance_test.go | 6 +-- cmd/ecloud/ecloud_vpc_task.go | 8 ++-- cmd/ecloud/ecloud_vpc_task_test.go | 6 +-- cmd/ecloud/ecloud_vpc_test.go | 8 ++-- cmd/ecloud/ecloud_vpc_volume.go | 8 ++-- cmd/ecloud/ecloud_vpc_volume_test.go | 6 +-- cmd/ecloud/ecloud_vpnendpoint.go | 8 ++-- cmd/ecloud/ecloud_vpnendpoint_test.go | 8 ++-- cmd/ecloud/ecloud_vpnprofilegroup.go | 8 ++-- cmd/ecloud/ecloud_vpnprofilegroup_test.go | 8 ++-- cmd/ecloud/ecloud_vpnservice.go | 8 ++-- cmd/ecloud/ecloud_vpnservice_test.go | 8 ++-- cmd/ecloud/ecloud_vpnsession.go | 10 ++--- cmd/ecloud/ecloud_vpnsession_presharedkey.go | 8 ++-- .../ecloud_vpnsession_presharedkey_test.go | 6 +-- cmd/ecloud/ecloud_vpnsession_test.go | 8 ++-- cmd/ecloud/output.go | 4 +- cmd/ecloudflex/ecloudflex.go | 2 +- cmd/ecloudflex/ecloudflex_project.go | 8 ++-- cmd/ecloudflex/ecloudflex_project_test.go | 8 ++-- cmd/ecloudflex/output.go | 4 +- cmd/loadbalancer/loadbalancer.go | 4 +- cmd/loadbalancer/loadbalancer_accessip.go | 8 ++-- .../loadbalancer_accessip_test.go | 6 +-- cmd/loadbalancer/loadbalancer_acl.go | 6 +-- cmd/loadbalancer/loadbalancer_acl_test.go | 6 +-- cmd/loadbalancer/loadbalancer_bind.go | 8 ++-- cmd/loadbalancer/loadbalancer_bind_test.go | 6 +-- cmd/loadbalancer/loadbalancer_cluster.go | 8 ++-- .../loadbalancer_cluster_acltemplate.go | 6 +-- .../loadbalancer_cluster_acltemplate_test.go | 4 +- cmd/loadbalancer/loadbalancer_cluster_test.go | 8 ++-- cmd/loadbalancer/loadbalancer_listener.go | 10 ++--- .../loadbalancer_listener_accessip.go | 10 ++--- .../loadbalancer_listener_accessip_test.go | 6 +-- cmd/loadbalancer/loadbalancer_listener_acl.go | 8 ++-- .../loadbalancer_listener_acl_test.go | 6 +-- .../loadbalancer_listener_bind.go | 8 ++-- .../loadbalancer_listener_bind_test.go | 8 ++-- .../loadbalancer_listener_certificate.go | 8 ++-- .../loadbalancer_listener_certificate_test.go | 8 ++-- .../loadbalancer_listener_test.go | 8 ++-- cmd/loadbalancer/loadbalancer_targetgroup.go | 10 ++--- .../loadbalancer_targetgroup_acl.go | 8 ++-- .../loadbalancer_targetgroup_acl_test.go | 6 +-- .../loadbalancer_targetgroup_target.go | 10 ++--- .../loadbalancer_targetgroup_target_test.go | 10 ++--- .../loadbalancer_targetgroup_test.go | 8 ++-- cmd/loadbalancer/output.go | 4 +- cmd/pss/output.go | 4 +- cmd/pss/pss.go | 2 +- cmd/pss/pss_reply.go | 6 +-- cmd/pss/pss_reply_attachment.go | 8 ++-- cmd/pss/pss_reply_attachment_test.go | 6 +-- cmd/pss/pss_request.go | 10 ++--- cmd/pss/pss_request_feedback.go | 6 +-- cmd/pss/pss_request_feedback_test.go | 6 +-- cmd/pss/pss_request_reply.go | 10 ++--- cmd/pss/pss_request_reply_test.go | 6 +-- cmd/pss/pss_request_test.go | 8 ++-- cmd/registrar/output.go | 4 +- cmd/registrar/registrar.go | 2 +- cmd/registrar/registrar_domain.go | 8 ++-- cmd/registrar/registrar_domain_nameserver.go | 6 +-- .../registrar_domain_nameserver_test.go | 4 +- cmd/registrar/registrar_domain_test.go | 8 ++-- cmd/registrar/registrar_whois.go | 6 +-- cmd/registrar/registrar_whois_test.go | 6 +-- cmd/root.go | 38 +++++++++--------- cmd/safedns/output.go | 4 +- cmd/safedns/safedns.go | 8 ++-- cmd/safedns/safedns_settings.go | 6 +-- cmd/safedns/safedns_settings_test.go | 4 +- cmd/safedns/safedns_template.go | 10 ++--- cmd/safedns/safedns_template_record.go | 10 ++--- cmd/safedns/safedns_template_record_test.go | 12 +++--- cmd/safedns/safedns_template_test.go | 10 ++--- cmd/safedns/safedns_zone.go | 8 ++-- cmd/safedns/safedns_zone_note.go | 8 ++-- cmd/safedns/safedns_zone_note_test.go | 10 ++--- cmd/safedns/safedns_zone_record.go | 10 ++--- cmd/safedns/safedns_zone_record_test.go | 10 ++--- cmd/safedns/safedns_zone_test.go | 10 ++--- cmd/sharedexchange/output.go | 4 +- cmd/sharedexchange/sharedexchange.go | 2 +- cmd/sharedexchange/sharedexchange_domain.go | 8 ++-- .../sharedexchange_domain_test.go | 8 ++-- cmd/ssl/output.go | 4 +- cmd/ssl/ssl.go | 8 ++-- cmd/ssl/ssl_certificate.go | 8 ++-- cmd/ssl/ssl_certificate_content.go | 6 +-- cmd/ssl/ssl_certificate_content_test.go | 6 +-- cmd/ssl/ssl_certificate_privatekey.go | 6 +-- cmd/ssl/ssl_certificate_privatekey_test.go | 6 +-- cmd/ssl/ssl_certificate_test.go | 8 ++-- cmd/ssl/ssl_recommendations.go | 6 +-- cmd/ssl/ssl_recommendations_test.go | 6 +-- cmd/ssl/ssl_report.go | 6 +-- cmd/ssl/ssl_report_test.go | 6 +-- cmd/storage/output.go | 4 +- cmd/storage/storage.go | 2 +- cmd/storage/storage_host.go | 8 ++-- cmd/storage/storage_host_test.go | 8 ++-- cmd/storage/storage_solution.go | 8 ++-- cmd/storage/storage_solution_test.go | 8 ++-- cmd/storage/storage_volume.go | 8 ++-- cmd/storage/storage_volume_test.go | 8 ++-- go.mod | 8 ++-- go.sum | 8 ++-- internal/pkg/factory/client_factory.go | 10 ++--- internal/pkg/helper/flag.go | 6 +-- internal/pkg/helper/flag_test.go | 4 +- internal/pkg/helper/intconv_test.go | 2 +- internal/pkg/helper/path_test.go | 2 +- internal/pkg/helper/wait.go | 2 +- internal/pkg/helper/wait_test.go | 2 +- internal/pkg/input/input.go | 2 +- internal/pkg/input/input_test.go | 2 +- internal/pkg/output/field_test.go | 2 +- internal/pkg/output/output.go | 2 +- internal/pkg/output/output_handler_test.go | 2 +- internal/pkg/output/output_test.go | 4 +- .../pkg/resource/resource_locator_test.go | 2 +- main.go | 4 +- test/mocks/generate.go | 30 +++++++------- test/mocks/mock_accountservice.go | 6 +-- test/mocks/mock_billingservice.go | 6 +-- test/mocks/mock_cloudflare.go | 6 +-- test/mocks/mock_ddosxservice.go | 6 +-- test/mocks/mock_draasservice.go | 6 +-- test/mocks/mock_ecloudflexservice.go | 6 +-- test/mocks/mock_ecloudservice.go | 8 ++-- test/mocks/mock_loadbalancerservice.go | 6 +-- test/mocks/mock_pssservice.go | 6 +-- test/mocks/mock_registrarservice.go | 6 +-- test/mocks/mock_resourcelocatorprovider.go | 2 +- test/mocks/mock_safednsservice.go | 6 +-- test/mocks/mock_sharedexchangeservice.go | 6 +-- test/mocks/mock_sslservice.go | 6 +-- test/mocks/mock_storageservice.go | 6 +-- test/test_output/test_output.go | 4 +- 408 files changed, 1496 insertions(+), 1496 deletions(-) diff --git a/README.md b/README.md index f13c1427..064a5f9d 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ The CLI is distributed as a single binary, and is available for Windows, Linux a should be downloaded and placed into a directory included in your `PATH`. This would typically be `/usr/local/bin` on most Linux distributions -Pre-compiled binaries are available at [Releases](https://github.com/ukfast/cli/releases) +Pre-compiled binaries are available at [Releases](https://github.com/ans-group/cli/releases) ## Getting started diff --git a/cmd/account/account.go b/cmd/account/account.go index ffdc6f16..36b96672 100644 --- a/cmd/account/account.go +++ b/cmd/account/account.go @@ -1,8 +1,8 @@ package account import ( + "github.com/ans-group/cli/internal/pkg/factory" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" ) func AccountRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/account/account_contact.go b/cmd/account/account_contact.go index c6804fd9..4282efdd 100644 --- a/cmd/account/account_contact.go +++ b/cmd/account/account_contact.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/account" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/account" ) func accountContactRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/account/account_contact_test.go b/cmd/account/account_contact_test.go index 97e57294..0bd415ce 100644 --- a/cmd/account/account_contact_test.go +++ b/cmd/account/account_contact_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/account" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/account" ) func Test_accountContactList(t *testing.T) { diff --git a/cmd/account/account_credit.go b/cmd/account/account_credit.go index 68e4d050..923922cd 100644 --- a/cmd/account/account_credit.go +++ b/cmd/account/account_credit.go @@ -3,11 +3,11 @@ package account import ( "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/account" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/account" ) func accountCreditRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/account/account_credit_test.go b/cmd/account/account_credit_test.go index 466c4d96..0acd4d86 100644 --- a/cmd/account/account_credit_test.go +++ b/cmd/account/account_credit_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/account" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/account" ) func Test_accountCreditList(t *testing.T) { diff --git a/cmd/account/account_details.go b/cmd/account/account_details.go index 737d2a1a..969c8865 100644 --- a/cmd/account/account_details.go +++ b/cmd/account/account_details.go @@ -3,10 +3,10 @@ package account import ( "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/account" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/account" ) func accountDetailsRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/account/account_details_test.go b/cmd/account/account_details_test.go index 8937ef66..872822fa 100644 --- a/cmd/account/account_details_test.go +++ b/cmd/account/account_details_test.go @@ -4,10 +4,10 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/account" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/account" "gopkg.in/go-playground/assert.v1" ) diff --git a/cmd/account/output.go b/cmd/account/output.go index 898859e7..0c109580 100644 --- a/cmd/account/output.go +++ b/cmd/account/output.go @@ -1,8 +1,8 @@ package account import ( - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/account" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/account" ) func OutputAccountContactsProvider(contacts []account.Contact) output.OutputHandlerDataProvider { diff --git a/cmd/billing/billing.go b/cmd/billing/billing.go index 90755fe1..2fb25063 100644 --- a/cmd/billing/billing.go +++ b/cmd/billing/billing.go @@ -1,8 +1,8 @@ package billing import ( + "github.com/ans-group/cli/internal/pkg/factory" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" ) func BillingRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/billing/billing_card.go b/cmd/billing/billing_card.go index fb41f60e..f12a57f0 100644 --- a/cmd/billing/billing_card.go +++ b/cmd/billing/billing_card.go @@ -5,12 +5,12 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/ptr" + "github.com/ans-group/sdk-go/pkg/service/billing" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/ptr" - "github.com/ukfast/sdk-go/pkg/service/billing" ) func billingCardRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/billing/billing_card_test.go b/cmd/billing/billing_card_test.go index 4356191f..c637536f 100644 --- a/cmd/billing/billing_card_test.go +++ b/cmd/billing/billing_card_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/billing" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/billing" ) func Test_billingCardList(t *testing.T) { diff --git a/cmd/billing/billing_cloudcost.go b/cmd/billing/billing_cloudcost.go index 4c02c800..663899a9 100644 --- a/cmd/billing/billing_cloudcost.go +++ b/cmd/billing/billing_cloudcost.go @@ -3,11 +3,11 @@ package billing import ( "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/billing" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/billing" ) func billingCloudCostRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/billing/billing_directdebit.go b/cmd/billing/billing_directdebit.go index 6284f176..e38afba6 100644 --- a/cmd/billing/billing_directdebit.go +++ b/cmd/billing/billing_directdebit.go @@ -3,10 +3,10 @@ package billing import ( "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/billing" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/billing" ) func billingDirectDebitRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/billing/billing_directdebit_test.go b/cmd/billing/billing_directdebit_test.go index 78557959..b6f91dd8 100644 --- a/cmd/billing/billing_directdebit_test.go +++ b/cmd/billing/billing_directdebit_test.go @@ -4,11 +4,11 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/billing" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/billing" ) func Test_billingDirectDebitShow(t *testing.T) { diff --git a/cmd/billing/billing_invoice.go b/cmd/billing/billing_invoice.go index 1d0c35cf..aed8ad2b 100644 --- a/cmd/billing/billing_invoice.go +++ b/cmd/billing/billing_invoice.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/billing" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/billing" ) func billingInvoiceRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/billing/billing_invoice_test.go b/cmd/billing/billing_invoice_test.go index 807deff3..5719f14c 100644 --- a/cmd/billing/billing_invoice_test.go +++ b/cmd/billing/billing_invoice_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/billing" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/billing" ) func Test_billingInvoiceList(t *testing.T) { diff --git a/cmd/billing/billing_invoicequery.go b/cmd/billing/billing_invoicequery.go index f7ecfcf0..17130720 100644 --- a/cmd/billing/billing_invoicequery.go +++ b/cmd/billing/billing_invoicequery.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/billing" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/billing" ) func billingInvoiceQueryRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/billing/billing_invoicequery_test.go b/cmd/billing/billing_invoicequery_test.go index edb3a7cb..9c0f9bfb 100644 --- a/cmd/billing/billing_invoicequery_test.go +++ b/cmd/billing/billing_invoicequery_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/billing" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/billing" ) func Test_billingInvoiceQueryList(t *testing.T) { diff --git a/cmd/billing/billing_payment.go b/cmd/billing/billing_payment.go index 92ff2d58..a4f346d0 100644 --- a/cmd/billing/billing_payment.go +++ b/cmd/billing/billing_payment.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/billing" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/billing" ) func billingPaymentRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/billing/billing_payment_test.go b/cmd/billing/billing_payment_test.go index 86c17f3b..ad3ab9bb 100644 --- a/cmd/billing/billing_payment_test.go +++ b/cmd/billing/billing_payment_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/billing" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/billing" ) func Test_billingPaymentList(t *testing.T) { diff --git a/cmd/billing/billing_recurringcost.go b/cmd/billing/billing_recurringcost.go index eaa0facd..10f5302e 100644 --- a/cmd/billing/billing_recurringcost.go +++ b/cmd/billing/billing_recurringcost.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/billing" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/billing" ) func billingRecurringCostRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/billing/billing_recurringcost_test.go b/cmd/billing/billing_recurringcost_test.go index b927b875..27e57851 100644 --- a/cmd/billing/billing_recurringcost_test.go +++ b/cmd/billing/billing_recurringcost_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/billing" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/billing" ) func Test_billingRecurringCostList(t *testing.T) { diff --git a/cmd/billing/output.go b/cmd/billing/output.go index 6ee75a46..7aa82180 100644 --- a/cmd/billing/output.go +++ b/cmd/billing/output.go @@ -1,8 +1,8 @@ package billing import ( - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/billing" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/billing" ) func OutputBillingCardsProvider(cards []billing.Card) output.OutputHandlerDataProvider { diff --git a/cmd/cloudflare/cloudflare.go b/cmd/cloudflare/cloudflare.go index 47b72c9b..2d97673f 100644 --- a/cmd/cloudflare/cloudflare.go +++ b/cmd/cloudflare/cloudflare.go @@ -1,9 +1,9 @@ package cloudflare import ( + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/sdk-go/pkg/service/cloudflare" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/sdk-go/pkg/service/cloudflare" ) func CloudflareRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/cloudflare/cloudflare_account.go b/cmd/cloudflare/cloudflare_account.go index ab7d0b1f..b75e20f6 100644 --- a/cmd/cloudflare/cloudflare_account.go +++ b/cmd/cloudflare/cloudflare_account.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/cloudflare" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/cloudflare" ) func cloudflareAccountRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/cloudflare/cloudflare_account_member.go b/cmd/cloudflare/cloudflare_account_member.go index 2f6cb9a7..e16e79d6 100644 --- a/cmd/cloudflare/cloudflare_account_member.go +++ b/cmd/cloudflare/cloudflare_account_member.go @@ -4,9 +4,9 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/sdk-go/pkg/service/cloudflare" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/sdk-go/pkg/service/cloudflare" ) func cloudflareAccountMemberRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/cloudflare/cloudflare_account_member_test.go b/cmd/cloudflare/cloudflare_account_member_test.go index 3c0f0447..50e69289 100644 --- a/cmd/cloudflare/cloudflare_account_member_test.go +++ b/cmd/cloudflare/cloudflare_account_member_test.go @@ -4,10 +4,10 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/cloudflare" gomock "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/cloudflare" ) func Test_cloudflareAccountMemberCreateCmd_Args(t *testing.T) { diff --git a/cmd/cloudflare/cloudflare_account_test.go b/cmd/cloudflare/cloudflare_account_test.go index dfcc0d99..cfadfeb5 100644 --- a/cmd/cloudflare/cloudflare_account_test.go +++ b/cmd/cloudflare/cloudflare_account_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/cloudflare" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/cloudflare" ) func Test_cloudflareAccountList(t *testing.T) { diff --git a/cmd/cloudflare/cloudflare_orchestrator.go b/cmd/cloudflare/cloudflare_orchestrator.go index f03e6219..c390b403 100644 --- a/cmd/cloudflare/cloudflare_orchestrator.go +++ b/cmd/cloudflare/cloudflare_orchestrator.go @@ -3,9 +3,9 @@ package cloudflare import ( "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/sdk-go/pkg/service/cloudflare" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/sdk-go/pkg/service/cloudflare" ) func cloudflareOrchestratorRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/cloudflare/cloudflare_orchestrator_test.go b/cmd/cloudflare/cloudflare_orchestrator_test.go index fbc2563a..85c83251 100644 --- a/cmd/cloudflare/cloudflare_orchestrator_test.go +++ b/cmd/cloudflare/cloudflare_orchestrator_test.go @@ -4,10 +4,10 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/cloudflare" gomock "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/cloudflare" ) func Test_cloudflareOrchestratorCreate(t *testing.T) { diff --git a/cmd/cloudflare/cloudflare_spendplan.go b/cmd/cloudflare/cloudflare_spendplan.go index 0c7a5b5e..df5850e3 100644 --- a/cmd/cloudflare/cloudflare_spendplan.go +++ b/cmd/cloudflare/cloudflare_spendplan.go @@ -3,11 +3,11 @@ package cloudflare import ( "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/cloudflare" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/cloudflare" ) func cloudflareSpendPlanRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/cloudflare/cloudflare_spendplan_test.go b/cmd/cloudflare/cloudflare_spendplan_test.go index 4e66d4c8..b08a6eb4 100644 --- a/cmd/cloudflare/cloudflare_spendplan_test.go +++ b/cmd/cloudflare/cloudflare_spendplan_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/cloudflare" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/cloudflare" ) func Test_cloudflareSpendPlanList(t *testing.T) { diff --git a/cmd/cloudflare/cloudflare_subscription.go b/cmd/cloudflare/cloudflare_subscription.go index 74048249..edf7ae3d 100644 --- a/cmd/cloudflare/cloudflare_subscription.go +++ b/cmd/cloudflare/cloudflare_subscription.go @@ -3,11 +3,11 @@ package cloudflare import ( "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/cloudflare" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/cloudflare" ) func cloudflareSubscriptionRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/cloudflare/cloudflare_subscription_test.go b/cmd/cloudflare/cloudflare_subscription_test.go index 31620f25..0c0efe28 100644 --- a/cmd/cloudflare/cloudflare_subscription_test.go +++ b/cmd/cloudflare/cloudflare_subscription_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/cloudflare" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/cloudflare" ) func Test_cloudflareSubscriptionList(t *testing.T) { diff --git a/cmd/cloudflare/cloudflare_totalspend.go b/cmd/cloudflare/cloudflare_totalspend.go index 23bf3f47..fd73e023 100644 --- a/cmd/cloudflare/cloudflare_totalspend.go +++ b/cmd/cloudflare/cloudflare_totalspend.go @@ -3,10 +3,10 @@ package cloudflare import ( "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/cloudflare" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/cloudflare" ) func cloudflareTotalSpendRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/cloudflare/cloudflare_totalspend_test.go b/cmd/cloudflare/cloudflare_totalspend_test.go index 48b80e16..52143518 100644 --- a/cmd/cloudflare/cloudflare_totalspend_test.go +++ b/cmd/cloudflare/cloudflare_totalspend_test.go @@ -4,11 +4,11 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/cloudflare" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/cloudflare" ) func Test_cloudflareTotalSpendeShow(t *testing.T) { diff --git a/cmd/cloudflare/cloudflare_zone.go b/cmd/cloudflare/cloudflare_zone.go index 3450ce25..9aa72960 100644 --- a/cmd/cloudflare/cloudflare_zone.go +++ b/cmd/cloudflare/cloudflare_zone.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/cloudflare" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/cloudflare" ) func cloudflareZoneRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/cloudflare/cloudflare_zone_test.go b/cmd/cloudflare/cloudflare_zone_test.go index 1599c5a1..b41aadba 100644 --- a/cmd/cloudflare/cloudflare_zone_test.go +++ b/cmd/cloudflare/cloudflare_zone_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/cloudflare" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/cloudflare" ) func Test_cloudflareZoneList(t *testing.T) { diff --git a/cmd/cloudflare/output.go b/cmd/cloudflare/output.go index 6a48539a..2df02682 100644 --- a/cmd/cloudflare/output.go +++ b/cmd/cloudflare/output.go @@ -1,8 +1,8 @@ package cloudflare import ( - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/cloudflare" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/cloudflare" ) func OutputCloudflareAccountsProvider(accounts []cloudflare.Account) output.OutputHandlerDataProvider { diff --git a/cmd/config/config_context.go b/cmd/config/config_context.go index dc3391cc..82de8823 100644 --- a/cmd/config/config_context.go +++ b/cmd/config/config_context.go @@ -5,10 +5,10 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/config" + "github.com/ans-group/cli/internal/pkg/output" "github.com/spf13/afero" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/config" - "github.com/ukfast/cli/internal/pkg/output" ) func configContextRootCmd(fs afero.Fs) *cobra.Command { diff --git a/cmd/config/config_context_test.go b/cmd/config/config_context_test.go index 735029a9..bef934a1 100644 --- a/cmd/config/config_context_test.go +++ b/cmd/config/config_context_test.go @@ -3,10 +3,10 @@ package config import ( "testing" + "github.com/ans-group/cli/internal/pkg/config" + "github.com/ans-group/cli/test/test_output" "github.com/spf13/afero" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/config" - "github.com/ukfast/cli/test/test_output" ) func Test_configContextUpdate(t *testing.T) { diff --git a/cmd/ddosx/ddosx.go b/cmd/ddosx/ddosx.go index 8138c1f6..018d0ba6 100644 --- a/cmd/ddosx/ddosx.go +++ b/cmd/ddosx/ddosx.go @@ -1,9 +1,9 @@ package ddosx import ( + "github.com/ans-group/cli/internal/pkg/factory" "github.com/spf13/afero" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" ) func DDoSXRootCmd(f factory.ClientFactory, fs afero.Fs) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain.go b/cmd/ddosx/ddosx_domain.go index c4ba41a7..f7d6427f 100644 --- a/cmd/ddosx/ddosx_domain.go +++ b/cmd/ddosx/ddosx_domain.go @@ -4,12 +4,12 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/afero" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxDomainRootCmd(f factory.ClientFactory, fs afero.Fs) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_acl.go b/cmd/ddosx/ddosx_domain_acl.go index b70bafd5..a1e4bacc 100644 --- a/cmd/ddosx/ddosx_domain_acl.go +++ b/cmd/ddosx/ddosx_domain_acl.go @@ -1,8 +1,8 @@ package ddosx import ( + "github.com/ans-group/cli/internal/pkg/factory" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" ) func ddosxDomainACLRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_acl_geoip.go b/cmd/ddosx/ddosx_domain_acl_geoip.go index 0f6d8279..65390aee 100644 --- a/cmd/ddosx/ddosx_domain_acl_geoip.go +++ b/cmd/ddosx/ddosx_domain_acl_geoip.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxDomainACLGeoIPRuleRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_acl_geoip_mode.go b/cmd/ddosx/ddosx_domain_acl_geoip_mode.go index 889e050b..bfd54f90 100644 --- a/cmd/ddosx/ddosx_domain_acl_geoip_mode.go +++ b/cmd/ddosx/ddosx_domain_acl_geoip_mode.go @@ -4,10 +4,10 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxDomainACLGeoIPRulesModeRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_acl_geoip_mode_test.go b/cmd/ddosx/ddosx_domain_acl_geoip_mode_test.go index 7460d53d..12030027 100644 --- a/cmd/ddosx/ddosx_domain_acl_geoip_mode_test.go +++ b/cmd/ddosx/ddosx_domain_acl_geoip_mode_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxDomainACLGeoIPRulesModeShowCmd_Args(t *testing.T) { diff --git a/cmd/ddosx/ddosx_domain_acl_geoip_test.go b/cmd/ddosx/ddosx_domain_acl_geoip_test.go index cb0002ee..3834f563 100644 --- a/cmd/ddosx/ddosx_domain_acl_geoip_test.go +++ b/cmd/ddosx/ddosx_domain_acl_geoip_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxDomainACLGeoIPRuleListCmd_Args(t *testing.T) { diff --git a/cmd/ddosx/ddosx_domain_acl_ip.go b/cmd/ddosx/ddosx_domain_acl_ip.go index 0c9decc1..716cdd5c 100644 --- a/cmd/ddosx/ddosx_domain_acl_ip.go +++ b/cmd/ddosx/ddosx_domain_acl_ip.go @@ -4,15 +4,15 @@ import ( "errors" "fmt" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/ptr" - + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/ptr" + + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxDomainACLIPRuleRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_acl_ip_test.go b/cmd/ddosx/ddosx_domain_acl_ip_test.go index 2d3e2575..8ca13344 100644 --- a/cmd/ddosx/ddosx_domain_acl_ip_test.go +++ b/cmd/ddosx/ddosx_domain_acl_ip_test.go @@ -4,15 +4,15 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/ptr" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/ptr" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxDomainACLIPRuleListCmd_Args(t *testing.T) { diff --git a/cmd/ddosx/ddosx_domain_cdn.go b/cmd/ddosx/ddosx_domain_cdn.go index aae4c3ec..5238974b 100644 --- a/cmd/ddosx/ddosx_domain_cdn.go +++ b/cmd/ddosx/ddosx_domain_cdn.go @@ -4,10 +4,10 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxDomainCDNRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_cdn_rule.go b/cmd/ddosx/ddosx_domain_cdn_rule.go index 0a0cedc8..9c0ca074 100644 --- a/cmd/ddosx/ddosx_domain_cdn_rule.go +++ b/cmd/ddosx/ddosx_domain_cdn_rule.go @@ -4,12 +4,12 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxDomainCDNRuleRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_cdn_rule_test.go b/cmd/ddosx/ddosx_domain_cdn_rule_test.go index 95eafc68..abbc9436 100644 --- a/cmd/ddosx/ddosx_domain_cdn_rule_test.go +++ b/cmd/ddosx/ddosx_domain_cdn_rule_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxDomainCDNRuleListCmd_Args(t *testing.T) { diff --git a/cmd/ddosx/ddosx_domain_cdn_test.go b/cmd/ddosx/ddosx_domain_cdn_test.go index 06d422ae..abba4670 100644 --- a/cmd/ddosx/ddosx_domain_cdn_test.go +++ b/cmd/ddosx/ddosx_domain_cdn_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxDomainCDNEnableCmd_Args(t *testing.T) { diff --git a/cmd/ddosx/ddosx_domain_dns.go b/cmd/ddosx/ddosx_domain_dns.go index 04e418e2..a94d963a 100644 --- a/cmd/ddosx/ddosx_domain_dns.go +++ b/cmd/ddosx/ddosx_domain_dns.go @@ -3,10 +3,10 @@ package ddosx import ( "errors" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxDomainDNSRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_dns_test.go b/cmd/ddosx/ddosx_domain_dns_test.go index e7f0c457..325377c3 100644 --- a/cmd/ddosx/ddosx_domain_dns_test.go +++ b/cmd/ddosx/ddosx_domain_dns_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxDomainDNSActivateCmd_Args(t *testing.T) { diff --git a/cmd/ddosx/ddosx_domain_hsts.go b/cmd/ddosx/ddosx_domain_hsts.go index 94554fcd..cac73ea5 100644 --- a/cmd/ddosx/ddosx_domain_hsts.go +++ b/cmd/ddosx/ddosx_domain_hsts.go @@ -3,10 +3,10 @@ package ddosx import ( "errors" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxDomainHSTSRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_hsts_rule.go b/cmd/ddosx/ddosx_domain_hsts_rule.go index 01f14aa2..14523b3b 100644 --- a/cmd/ddosx/ddosx_domain_hsts_rule.go +++ b/cmd/ddosx/ddosx_domain_hsts_rule.go @@ -4,12 +4,12 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxDomainHSTSRuleRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_hsts_rule_test.go b/cmd/ddosx/ddosx_domain_hsts_rule_test.go index 0c075b06..2317632b 100644 --- a/cmd/ddosx/ddosx_domain_hsts_rule_test.go +++ b/cmd/ddosx/ddosx_domain_hsts_rule_test.go @@ -4,14 +4,14 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/ptr" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/ptr" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxDomainHSTSRuleListCmd_Args(t *testing.T) { diff --git a/cmd/ddosx/ddosx_domain_hsts_test.go b/cmd/ddosx/ddosx_domain_hsts_test.go index c036e28f..a8b35d11 100644 --- a/cmd/ddosx/ddosx_domain_hsts_test.go +++ b/cmd/ddosx/ddosx_domain_hsts_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxDomainHSTSEnableCmd_Args(t *testing.T) { diff --git a/cmd/ddosx/ddosx_domain_property.go b/cmd/ddosx/ddosx_domain_property.go index 8f54e89d..b0ba962a 100644 --- a/cmd/ddosx/ddosx_domain_property.go +++ b/cmd/ddosx/ddosx_domain_property.go @@ -4,12 +4,12 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/afero" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxDomainPropertyRootCmd(f factory.ClientFactory, fs afero.Fs) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_property_test.go b/cmd/ddosx/ddosx_domain_property_test.go index 1e8c1746..5cbb45c5 100644 --- a/cmd/ddosx/ddosx_domain_property_test.go +++ b/cmd/ddosx/ddosx_domain_property_test.go @@ -4,16 +4,16 @@ import ( "errors" "testing" - "github.com/ukfast/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/afero" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxDomainPropertyListCmd_Args(t *testing.T) { diff --git a/cmd/ddosx/ddosx_domain_record.go b/cmd/ddosx/ddosx_domain_record.go index d2922a90..06def47f 100644 --- a/cmd/ddosx/ddosx_domain_record.go +++ b/cmd/ddosx/ddosx_domain_record.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxDomainRecordRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_record_test.go b/cmd/ddosx/ddosx_domain_record_test.go index 2f4f67e9..9baeb754 100644 --- a/cmd/ddosx/ddosx_domain_record_test.go +++ b/cmd/ddosx/ddosx_domain_record_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxDomainRecordListCmd_Args(t *testing.T) { diff --git a/cmd/ddosx/ddosx_domain_test.go b/cmd/ddosx/ddosx_domain_test.go index db782a24..83ba476d 100644 --- a/cmd/ddosx/ddosx_domain_test.go +++ b/cmd/ddosx/ddosx_domain_test.go @@ -4,14 +4,14 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/internal/pkg/config" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/internal/pkg/config" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxDomainList(t *testing.T) { diff --git a/cmd/ddosx/ddosx_domain_verification.go b/cmd/ddosx/ddosx_domain_verification.go index 2d0a300f..202b4ac2 100644 --- a/cmd/ddosx/ddosx_domain_verification.go +++ b/cmd/ddosx/ddosx_domain_verification.go @@ -1,9 +1,9 @@ package ddosx import ( + "github.com/ans-group/cli/internal/pkg/factory" "github.com/spf13/afero" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" ) func ddosxDomainVerificationRootCmd(f factory.ClientFactory, fs afero.Fs) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_verification_dns.go b/cmd/ddosx/ddosx_domain_verification_dns.go index b241ae43..3a661775 100644 --- a/cmd/ddosx/ddosx_domain_verification_dns.go +++ b/cmd/ddosx/ddosx_domain_verification_dns.go @@ -3,10 +3,10 @@ package ddosx import ( "errors" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxDomainVerificationDNSRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_verification_dns_test.go b/cmd/ddosx/ddosx_domain_verification_dns_test.go index 5e29dc28..c4e45b49 100644 --- a/cmd/ddosx/ddosx_domain_verification_dns_test.go +++ b/cmd/ddosx/ddosx_domain_verification_dns_test.go @@ -4,11 +4,11 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" ) func Test_ddosxDomainVerificationDNSVerifyCmd_Args(t *testing.T) { diff --git a/cmd/ddosx/ddosx_domain_verification_fileupload.go b/cmd/ddosx/ddosx_domain_verification_fileupload.go index cbbbf6f7..ad6ae81a 100644 --- a/cmd/ddosx/ddosx_domain_verification_fileupload.go +++ b/cmd/ddosx/ddosx_domain_verification_fileupload.go @@ -8,11 +8,11 @@ import ( "github.com/spf13/afero" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxDomainVerificationFileUploadRootCmd(f factory.ClientFactory, fs afero.Fs) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_verification_fileupload_test.go b/cmd/ddosx/ddosx_domain_verification_fileupload_test.go index 721863f3..b362ce37 100644 --- a/cmd/ddosx/ddosx_domain_verification_fileupload_test.go +++ b/cmd/ddosx/ddosx_domain_verification_fileupload_test.go @@ -8,12 +8,12 @@ import ( "regexp" "testing" + "github.com/ans-group/cli/test" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" "github.com/spf13/afero" ) diff --git a/cmd/ddosx/ddosx_domain_waf.go b/cmd/ddosx/ddosx_domain_waf.go index 2c92b9ec..fadb49c8 100644 --- a/cmd/ddosx/ddosx_domain_waf.go +++ b/cmd/ddosx/ddosx_domain_waf.go @@ -4,10 +4,10 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxDomainWAFRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_waf_advancedrule.go b/cmd/ddosx/ddosx_domain_waf_advancedrule.go index 05e7bcac..93b3ea06 100644 --- a/cmd/ddosx/ddosx_domain_waf_advancedrule.go +++ b/cmd/ddosx/ddosx_domain_waf_advancedrule.go @@ -4,13 +4,13 @@ import ( "errors" "fmt" - "github.com/ukfast/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxDomainWAFAdvancedRuleRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_waf_advancedrule_test.go b/cmd/ddosx/ddosx_domain_waf_advancedrule_test.go index fc8053d7..bd356db1 100644 --- a/cmd/ddosx/ddosx_domain_waf_advancedrule_test.go +++ b/cmd/ddosx/ddosx_domain_waf_advancedrule_test.go @@ -4,14 +4,14 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxDomainWAFAdvancedRuleListCmd_Args(t *testing.T) { diff --git a/cmd/ddosx/ddosx_domain_waf_rule.go b/cmd/ddosx/ddosx_domain_waf_rule.go index 89f110d0..24429ea3 100644 --- a/cmd/ddosx/ddosx_domain_waf_rule.go +++ b/cmd/ddosx/ddosx_domain_waf_rule.go @@ -4,13 +4,13 @@ import ( "errors" "fmt" - "github.com/ukfast/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxDomainWAFRuleRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_waf_rule_test.go b/cmd/ddosx/ddosx_domain_waf_rule_test.go index a1004d26..f3bc1634 100644 --- a/cmd/ddosx/ddosx_domain_waf_rule_test.go +++ b/cmd/ddosx/ddosx_domain_waf_rule_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxDomainWAFRuleListCmd_Args(t *testing.T) { diff --git a/cmd/ddosx/ddosx_domain_waf_ruleset.go b/cmd/ddosx/ddosx_domain_waf_ruleset.go index fe25d869..72ea9b34 100644 --- a/cmd/ddosx/ddosx_domain_waf_ruleset.go +++ b/cmd/ddosx/ddosx_domain_waf_ruleset.go @@ -4,12 +4,12 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/ptr" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/ptr" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxDomainWAFRuleSetRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_domain_waf_ruleset_test.go b/cmd/ddosx/ddosx_domain_waf_ruleset_test.go index fbb05e61..f7515f3b 100644 --- a/cmd/ddosx/ddosx_domain_waf_ruleset_test.go +++ b/cmd/ddosx/ddosx_domain_waf_ruleset_test.go @@ -4,14 +4,14 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/ptr" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/ptr" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxDomainWAFRuleSetListCmd_Args(t *testing.T) { diff --git a/cmd/ddosx/ddosx_domain_waf_test.go b/cmd/ddosx/ddosx_domain_waf_test.go index c663d4de..ac37c7d3 100644 --- a/cmd/ddosx/ddosx_domain_waf_test.go +++ b/cmd/ddosx/ddosx_domain_waf_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxDomainWAFShowCmd_Args(t *testing.T) { diff --git a/cmd/ddosx/ddosx_record.go b/cmd/ddosx/ddosx_record.go index b59e948f..86604673 100644 --- a/cmd/ddosx/ddosx_record.go +++ b/cmd/ddosx/ddosx_record.go @@ -3,11 +3,11 @@ package ddosx import ( "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxRecordRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_record_test.go b/cmd/ddosx/ddosx_record_test.go index 0506126c..c7620d32 100644 --- a/cmd/ddosx/ddosx_record_test.go +++ b/cmd/ddosx/ddosx_record_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxRecordList(t *testing.T) { diff --git a/cmd/ddosx/ddosx_ssl.go b/cmd/ddosx/ddosx_ssl.go index e78d0f45..a3916e02 100644 --- a/cmd/ddosx/ddosx_ssl.go +++ b/cmd/ddosx/ddosx_ssl.go @@ -4,12 +4,12 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/afero" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxSSLRootCmd(f factory.ClientFactory, fs afero.Fs) *cobra.Command { diff --git a/cmd/ddosx/ddosx_ssl_content.go b/cmd/ddosx/ddosx_ssl_content.go index a44323ea..8daed38c 100644 --- a/cmd/ddosx/ddosx_ssl_content.go +++ b/cmd/ddosx/ddosx_ssl_content.go @@ -3,10 +3,10 @@ package ddosx import ( "errors" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxSSLContentRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_ssl_content_test.go b/cmd/ddosx/ddosx_ssl_content_test.go index 981d19b5..08a0237d 100644 --- a/cmd/ddosx/ddosx_ssl_content_test.go +++ b/cmd/ddosx/ddosx_ssl_content_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxSSLContentCmd_Args(t *testing.T) { diff --git a/cmd/ddosx/ddosx_ssl_privatekey.go b/cmd/ddosx/ddosx_ssl_privatekey.go index 31e672f7..19615021 100644 --- a/cmd/ddosx/ddosx_ssl_privatekey.go +++ b/cmd/ddosx/ddosx_ssl_privatekey.go @@ -3,10 +3,10 @@ package ddosx import ( "errors" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxSSLPrivateKeyRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_ssl_privatekey_test.go b/cmd/ddosx/ddosx_ssl_privatekey_test.go index 37c6e3ff..4c9793b3 100644 --- a/cmd/ddosx/ddosx_ssl_privatekey_test.go +++ b/cmd/ddosx/ddosx_ssl_privatekey_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxSSLPrivateKeyCmd_Args(t *testing.T) { diff --git a/cmd/ddosx/ddosx_ssl_test.go b/cmd/ddosx/ddosx_ssl_test.go index bbe7a64f..57f031da 100644 --- a/cmd/ddosx/ddosx_ssl_test.go +++ b/cmd/ddosx/ddosx_ssl_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxSSLList(t *testing.T) { diff --git a/cmd/ddosx/ddosx_waf.go b/cmd/ddosx/ddosx_waf.go index 1fe683ee..d75f62d7 100644 --- a/cmd/ddosx/ddosx_waf.go +++ b/cmd/ddosx/ddosx_waf.go @@ -1,8 +1,8 @@ package ddosx import ( + "github.com/ans-group/cli/internal/pkg/factory" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" ) func ddosxWAFRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_waf_log.go b/cmd/ddosx/ddosx_waf_log.go index ecdeb744..438e9c77 100644 --- a/cmd/ddosx/ddosx_waf_log.go +++ b/cmd/ddosx/ddosx_waf_log.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxWAFLogRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_waf_log_match.go b/cmd/ddosx/ddosx_waf_log_match.go index 9002d5fb..3472242f 100644 --- a/cmd/ddosx/ddosx_waf_log_match.go +++ b/cmd/ddosx/ddosx_waf_log_match.go @@ -4,12 +4,12 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/ddosx" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func ddosxWAFLogMatchRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ddosx/ddosx_waf_log_match_test.go b/cmd/ddosx/ddosx_waf_log_match_test.go index 06475bd4..5a53c3a8 100644 --- a/cmd/ddosx/ddosx_waf_log_match_test.go +++ b/cmd/ddosx/ddosx_waf_log_match_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxWAFLogMatchList(t *testing.T) { diff --git a/cmd/ddosx/ddosx_waf_log_test.go b/cmd/ddosx/ddosx_waf_log_test.go index 6b1f2fa8..dee2e449 100644 --- a/cmd/ddosx/ddosx_waf_log_test.go +++ b/cmd/ddosx/ddosx_waf_log_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/ddosx" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/ddosx" ) func Test_ddosxWAFLogList(t *testing.T) { diff --git a/cmd/ddosx/output.go b/cmd/ddosx/output.go index d96ef427..f5a64653 100644 --- a/cmd/ddosx/output.go +++ b/cmd/ddosx/output.go @@ -1,8 +1,8 @@ package ddosx import ( - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ddosx" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ddosx" ) func OutputDDoSXDomainsProvider(domains []ddosx.Domain) output.OutputHandlerDataProvider { diff --git a/cmd/draas/draas.go b/cmd/draas/draas.go index eb2cecc6..9e5bb6a5 100644 --- a/cmd/draas/draas.go +++ b/cmd/draas/draas.go @@ -1,8 +1,8 @@ package draas import ( + "github.com/ans-group/cli/internal/pkg/factory" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" ) func DRaaSRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/draas/draas_billingtype.go b/cmd/draas/draas_billingtype.go index 4df831a0..e03de76b 100644 --- a/cmd/draas/draas_billingtype.go +++ b/cmd/draas/draas_billingtype.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/draas" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func draasBillingTypeRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/draas/draas_billingtype_test.go b/cmd/draas/draas_billingtype_test.go index 9c2a2d6f..3f51d606 100644 --- a/cmd/draas/draas_billingtype_test.go +++ b/cmd/draas/draas_billingtype_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/draas" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func Test_draasBillingTypeList(t *testing.T) { diff --git a/cmd/draas/draas_iopstier.go b/cmd/draas/draas_iopstier.go index 1f2539e7..f5a89741 100644 --- a/cmd/draas/draas_iopstier.go +++ b/cmd/draas/draas_iopstier.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/draas" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func draasIOPSTierRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/draas/draas_iopstier_test.go b/cmd/draas/draas_iopstier_test.go index 671d5324..83a45572 100644 --- a/cmd/draas/draas_iopstier_test.go +++ b/cmd/draas/draas_iopstier_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/draas" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func Test_draasIOPSTierList(t *testing.T) { diff --git a/cmd/draas/draas_solution.go b/cmd/draas/draas_solution.go index 0e850889..995731a8 100644 --- a/cmd/draas/draas_solution.go +++ b/cmd/draas/draas_solution.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/draas" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func draasSolutionRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/draas/draas_solution_backupresource.go b/cmd/draas/draas_solution_backupresource.go index ca9c1853..ada45cc3 100644 --- a/cmd/draas/draas_solution_backupresource.go +++ b/cmd/draas/draas_solution_backupresource.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/draas" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func draasSolutionBackupResourceRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/draas/draas_solution_backupresource_test.go b/cmd/draas/draas_solution_backupresource_test.go index 8673412f..000054b0 100644 --- a/cmd/draas/draas_solution_backupresource_test.go +++ b/cmd/draas/draas_solution_backupresource_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/draas" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func Test_draasSolutionBackupResourceListCmd_Args(t *testing.T) { diff --git a/cmd/draas/draas_solution_backupservice.go b/cmd/draas/draas_solution_backupservice.go index 8da8673d..747e9d0f 100644 --- a/cmd/draas/draas_solution_backupservice.go +++ b/cmd/draas/draas_solution_backupservice.go @@ -4,10 +4,10 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/draas" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func draasSolutionBackupServiceRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/draas/draas_solution_backupservice_test.go b/cmd/draas/draas_solution_backupservice_test.go index e9a5d21d..44130d8e 100644 --- a/cmd/draas/draas_solution_backupservice_test.go +++ b/cmd/draas/draas_solution_backupservice_test.go @@ -4,11 +4,11 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/draas" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func Test_draasSolutionBackupServiceShowCmd_Args(t *testing.T) { diff --git a/cmd/draas/draas_solution_computeresource.go b/cmd/draas/draas_solution_computeresource.go index f79a3b8b..b29487c0 100644 --- a/cmd/draas/draas_solution_computeresource.go +++ b/cmd/draas/draas_solution_computeresource.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/draas" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func draasSolutionComputeResourceRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/draas/draas_solution_computeresource_test.go b/cmd/draas/draas_solution_computeresource_test.go index 6e767961..80fb4317 100644 --- a/cmd/draas/draas_solution_computeresource_test.go +++ b/cmd/draas/draas_solution_computeresource_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/draas" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func Test_draasSolutionComputeResourceListCmd_Args(t *testing.T) { diff --git a/cmd/draas/draas_solution_failoverplan.go b/cmd/draas/draas_solution_failoverplan.go index fbd410b3..79070d6a 100644 --- a/cmd/draas/draas_solution_failoverplan.go +++ b/cmd/draas/draas_solution_failoverplan.go @@ -4,12 +4,12 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/draas" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func draasSolutionFailoverPlanRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/draas/draas_solution_failoverplan_test.go b/cmd/draas/draas_solution_failoverplan_test.go index 1d6f91ce..b39a9180 100644 --- a/cmd/draas/draas_solution_failoverplan_test.go +++ b/cmd/draas/draas_solution_failoverplan_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/draas" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func Test_draasSolutionFailoverPlanListCmd_Args(t *testing.T) { diff --git a/cmd/draas/draas_solution_hardwareplan.go b/cmd/draas/draas_solution_hardwareplan.go index 1834f6cb..bad7abef 100644 --- a/cmd/draas/draas_solution_hardwareplan.go +++ b/cmd/draas/draas_solution_hardwareplan.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/draas" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func draasSolutionHardwarePlanRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/draas/draas_solution_hardwareplan_replica.go b/cmd/draas/draas_solution_hardwareplan_replica.go index 88899e82..07a00fdf 100644 --- a/cmd/draas/draas_solution_hardwareplan_replica.go +++ b/cmd/draas/draas_solution_hardwareplan_replica.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/draas" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func draasSolutionHardwarePlanReplicaRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/draas/draas_solution_hardwareplan_replica_test.go b/cmd/draas/draas_solution_hardwareplan_replica_test.go index 3ebca2a6..f0e77da0 100644 --- a/cmd/draas/draas_solution_hardwareplan_replica_test.go +++ b/cmd/draas/draas_solution_hardwareplan_replica_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/draas" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func Test_draasSolutionHardwarePlanReplicaListCmd_Args(t *testing.T) { diff --git a/cmd/draas/draas_solution_hardwareplan_test.go b/cmd/draas/draas_solution_hardwareplan_test.go index e22b290a..08ae06d1 100644 --- a/cmd/draas/draas_solution_hardwareplan_test.go +++ b/cmd/draas/draas_solution_hardwareplan_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/draas" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func Test_draasSolutionHardwarePlanListCmd_Args(t *testing.T) { diff --git a/cmd/draas/draas_solution_replica.go b/cmd/draas/draas_solution_replica.go index 72a50b7f..c1421ffb 100644 --- a/cmd/draas/draas_solution_replica.go +++ b/cmd/draas/draas_solution_replica.go @@ -1,8 +1,8 @@ package draas import ( + "github.com/ans-group/cli/internal/pkg/factory" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" ) func draasSolutionReplicaRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/draas/draas_solution_replica_iops.go b/cmd/draas/draas_solution_replica_iops.go index 0e1e0ad6..820ff565 100644 --- a/cmd/draas/draas_solution_replica_iops.go +++ b/cmd/draas/draas_solution_replica_iops.go @@ -4,9 +4,9 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/sdk-go/pkg/service/draas" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func draasSolutionReplicaIOPSRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/draas/draas_solution_replica_iops_test.go b/cmd/draas/draas_solution_replica_iops_test.go index 7b36baba..ccaf7a1e 100644 --- a/cmd/draas/draas_solution_replica_iops_test.go +++ b/cmd/draas/draas_solution_replica_iops_test.go @@ -4,10 +4,10 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/draas" gomock "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func Test_draasSolutionReplicaIOPSUpdateCmd_Args(t *testing.T) { diff --git a/cmd/draas/draas_solution_test.go b/cmd/draas/draas_solution_test.go index c2e1f269..8d0915b7 100644 --- a/cmd/draas/draas_solution_test.go +++ b/cmd/draas/draas_solution_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/draas" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/draas" ) func Test_draasSolutionList(t *testing.T) { diff --git a/cmd/draas/output.go b/cmd/draas/output.go index e72fac4e..13cee118 100644 --- a/cmd/draas/output.go +++ b/cmd/draas/output.go @@ -5,8 +5,8 @@ import ( "strconv" "strings" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/draas" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/draas" ) func OutputDRaaSSolutionsProvider(solutions []draas.Solution) output.OutputHandlerDataProvider { diff --git a/cmd/ecloud/ecloud.go b/cmd/ecloud/ecloud.go index 4b973e9e..249ae379 100644 --- a/cmd/ecloud/ecloud.go +++ b/cmd/ecloud/ecloud.go @@ -6,11 +6,11 @@ import ( "os" "strings" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/afero" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ECloudRootCmd(f factory.ClientFactory, fs afero.Fs) *cobra.Command { diff --git a/cmd/ecloud/ecloud_appliance.go b/cmd/ecloud/ecloud_appliance.go index 51570347..53301a25 100644 --- a/cmd/ecloud/ecloud_appliance.go +++ b/cmd/ecloud/ecloud_appliance.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudApplianceRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_appliance_parameter.go b/cmd/ecloud/ecloud_appliance_parameter.go index 834ee908..e171eb9c 100644 --- a/cmd/ecloud/ecloud_appliance_parameter.go +++ b/cmd/ecloud/ecloud_appliance_parameter.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudApplianceParameterRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_appliance_parameter_test.go b/cmd/ecloud/ecloud_appliance_parameter_test.go index 6ec7ad0c..73f22f3f 100644 --- a/cmd/ecloud/ecloud_appliance_parameter_test.go +++ b/cmd/ecloud/ecloud_appliance_parameter_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudApplianceParameterListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_appliance_test.go b/cmd/ecloud/ecloud_appliance_test.go index c5197601..fda24f2c 100644 --- a/cmd/ecloud/ecloud_appliance_test.go +++ b/cmd/ecloud/ecloud_appliance_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudApplianceList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_availabilityzone.go b/cmd/ecloud/ecloud_availabilityzone.go index fd720644..6bd832e7 100644 --- a/cmd/ecloud/ecloud_availabilityzone.go +++ b/cmd/ecloud/ecloud_availabilityzone.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudAvailabilityZoneRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_availabilityzone_test.go b/cmd/ecloud/ecloud_availabilityzone_test.go index 92800bd6..a89606fd 100644 --- a/cmd/ecloud/ecloud_availabilityzone_test.go +++ b/cmd/ecloud/ecloud_availabilityzone_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudAvailabilityZoneList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_dhcp.go b/cmd/ecloud/ecloud_dhcp.go index 4a544234..45afd218 100644 --- a/cmd/ecloud/ecloud_dhcp.go +++ b/cmd/ecloud/ecloud_dhcp.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudDHCPRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_dhcp_test.go b/cmd/ecloud/ecloud_dhcp_test.go index faf2d1e8..627dcc46 100644 --- a/cmd/ecloud/ecloud_dhcp_test.go +++ b/cmd/ecloud/ecloud_dhcp_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudDHCPList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_firewallpolicy.go b/cmd/ecloud/ecloud_firewallpolicy.go index 32c2d4fb..5d8306e1 100644 --- a/cmd/ecloud/ecloud_firewallpolicy.go +++ b/cmd/ecloud/ecloud_firewallpolicy.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudFirewallPolicyRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_firewallpolicy_rule.go b/cmd/ecloud/ecloud_firewallpolicy_rule.go index c8e69ea7..25103bfb 100644 --- a/cmd/ecloud/ecloud_firewallpolicy_rule.go +++ b/cmd/ecloud/ecloud_firewallpolicy_rule.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudFirewallPolicyFirewallRuleRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_firewallpolicy_rule_test.go b/cmd/ecloud/ecloud_firewallpolicy_rule_test.go index 404535fc..a155bda2 100644 --- a/cmd/ecloud/ecloud_firewallpolicy_rule_test.go +++ b/cmd/ecloud/ecloud_firewallpolicy_rule_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudFirewallPolicyFirewallRuleListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_firewallpolicy_task.go b/cmd/ecloud/ecloud_firewallpolicy_task.go index a8022c62..f6482e80 100644 --- a/cmd/ecloud/ecloud_firewallpolicy_task.go +++ b/cmd/ecloud/ecloud_firewallpolicy_task.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudFirewallPolicyTaskRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_firewallpolicy_task_test.go b/cmd/ecloud/ecloud_firewallpolicy_task_test.go index 87b85dc1..855c0b16 100644 --- a/cmd/ecloud/ecloud_firewallpolicy_task_test.go +++ b/cmd/ecloud/ecloud_firewallpolicy_task_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudFirewallPolicyTaskListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_firewallpolicy_test.go b/cmd/ecloud/ecloud_firewallpolicy_test.go index 319104df..a4155143 100644 --- a/cmd/ecloud/ecloud_firewallpolicy_test.go +++ b/cmd/ecloud/ecloud_firewallpolicy_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudFirewallPolicyList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_firewallrule.go b/cmd/ecloud/ecloud_firewallrule.go index 0625d972..3753fcdd 100644 --- a/cmd/ecloud/ecloud_firewallrule.go +++ b/cmd/ecloud/ecloud_firewallrule.go @@ -4,12 +4,12 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/ptr" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/ptr" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudFirewallRuleRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_firewallrule_port.go b/cmd/ecloud/ecloud_firewallrule_port.go index c32526f5..206355df 100644 --- a/cmd/ecloud/ecloud_firewallrule_port.go +++ b/cmd/ecloud/ecloud_firewallrule_port.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudFirewallRuleFirewallRulePortRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_firewallrule_port_test.go b/cmd/ecloud/ecloud_firewallrule_port_test.go index b910ef2b..c9f67b0b 100644 --- a/cmd/ecloud/ecloud_firewallrule_port_test.go +++ b/cmd/ecloud/ecloud_firewallrule_port_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudFirewallRuleFirewallRulePortListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_firewallrule_test.go b/cmd/ecloud/ecloud_firewallrule_test.go index a938b742..062a3d2d 100644 --- a/cmd/ecloud/ecloud_firewallrule_test.go +++ b/cmd/ecloud/ecloud_firewallrule_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudFirewallRuleList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_firewallruleport.go b/cmd/ecloud/ecloud_firewallruleport.go index 585c31e8..6c02893d 100644 --- a/cmd/ecloud/ecloud_firewallruleport.go +++ b/cmd/ecloud/ecloud_firewallruleport.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudFirewallRulePortRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_firewallruleport_test.go b/cmd/ecloud/ecloud_firewallruleport_test.go index 1f649d90..69b3d510 100644 --- a/cmd/ecloud/ecloud_firewallruleport_test.go +++ b/cmd/ecloud/ecloud_firewallruleport_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudFirewallRulePortList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_floatingip.go b/cmd/ecloud/ecloud_floatingip.go index a8a8e243..5db22846 100644 --- a/cmd/ecloud/ecloud_floatingip.go +++ b/cmd/ecloud/ecloud_floatingip.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudFloatingIPRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_floatingip_test.go b/cmd/ecloud/ecloud_floatingip_test.go index 620f8348..92cded8b 100644 --- a/cmd/ecloud/ecloud_floatingip_test.go +++ b/cmd/ecloud/ecloud_floatingip_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudFloatingIPList(t *testing.T) { @@ -118,13 +118,13 @@ func Test_ecloudFloatingIPCreate(t *testing.T) { cmd.ParseFlags([]string{"--name=testfip", "--vpc=vpc-abcdef12", "--availability-zone=az-abcdef12"}) req := ecloud.CreateFloatingIPRequest{ - Name: "testfip", - VPCID: "vpc-abcdef12", + Name: "testfip", + VPCID: "vpc-abcdef12", AvailabilityZoneID: "az-abcdef12", } resp := ecloud.TaskReference{ - TaskID: "task-abcdef12", + TaskID: "task-abcdef12", ResourceID: "fip-abcdef12", } @@ -145,13 +145,13 @@ func Test_ecloudFloatingIPCreate(t *testing.T) { cmd.ParseFlags([]string{"--name=testfip", "--vpc=vpc-abcdef12", "--availability-zone=az-abcdef12", "--wait"}) req := ecloud.CreateFloatingIPRequest{ - Name: "testfip", - VPCID: "vpc-abcdef12", + Name: "testfip", + VPCID: "vpc-abcdef12", AvailabilityZoneID: "az-abcdef12", } resp := ecloud.TaskReference{ - TaskID: "task-abcdef12", + TaskID: "task-abcdef12", ResourceID: "fip-abcdef12", } @@ -173,13 +173,13 @@ func Test_ecloudFloatingIPCreate(t *testing.T) { cmd.ParseFlags([]string{"--name=testfip", "--vpc=vpc-abcdef12", "--availability-zone=az-abcdef12", "--wait"}) req := ecloud.CreateFloatingIPRequest{ - Name: "testfip", - VPCID: "vpc-abcdef12", + Name: "testfip", + VPCID: "vpc-abcdef12", AvailabilityZoneID: "az-abcdef12", } resp := ecloud.TaskReference{ - TaskID: "task-abcdef12", + TaskID: "task-abcdef12", ResourceID: "fip-abcdef12", } @@ -342,7 +342,7 @@ func Test_ecloudFloatingIPUpdate(t *testing.T) { test_output.AssertErrorOutput(t, "Error waiting for task to complete for floating ip [fip-abcdef12]: Error waiting for command: Failed to retrieve task status: test error\n", func() { ecloudFloatingIPUpdate(service, cmd, []string{"fip-abcdef12"}) }) - }) + }) t.Run("PatchFloatingIPError_OutputsError", func(t *testing.T) { mockCtrl := gomock.NewController(t) @@ -506,7 +506,7 @@ func Test_ecloudFloatingIPAssign(t *testing.T) { defer mockCtrl.Finish() cmd := ecloudFloatingIPAssignCmd(nil) - cmd.ParseFlags([]string{"--resource=i-abcdef12","--wait"}) + cmd.ParseFlags([]string{"--resource=i-abcdef12", "--wait"}) service := mocks.NewMockECloudService(mockCtrl) @@ -530,7 +530,7 @@ func Test_ecloudFloatingIPAssign(t *testing.T) { service := mocks.NewMockECloudService(mockCtrl) cmd := ecloudFloatingIPAssignCmd(nil) - cmd.ParseFlags([]string{"--resource=i-abcdef12","--wait"}) + cmd.ParseFlags([]string{"--resource=i-abcdef12", "--wait"}) gomock.InOrder( service.EXPECT().AssignFloatingIP("fip-abcdef12", gomock.Any()).Return("task-abcdef12", nil), diff --git a/cmd/ecloud/ecloud_host.go b/cmd/ecloud/ecloud_host.go index e10a51c5..0f2776a2 100644 --- a/cmd/ecloud/ecloud_host.go +++ b/cmd/ecloud/ecloud_host.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudHostRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_host_test.go b/cmd/ecloud/ecloud_host_test.go index a848a565..f9d20718 100644 --- a/cmd/ecloud/ecloud_host_test.go +++ b/cmd/ecloud/ecloud_host_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudHostList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_hostgroup.go b/cmd/ecloud/ecloud_hostgroup.go index 7450e1a5..b9f71a67 100644 --- a/cmd/ecloud/ecloud_hostgroup.go +++ b/cmd/ecloud/ecloud_hostgroup.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudHostGroupRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_hostgroup_test.go b/cmd/ecloud/ecloud_hostgroup_test.go index 5bea7169..af35ae23 100644 --- a/cmd/ecloud/ecloud_hostgroup_test.go +++ b/cmd/ecloud/ecloud_hostgroup_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudHostGroupList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_hostspec.go b/cmd/ecloud/ecloud_hostspec.go index 6a758d0c..86300810 100644 --- a/cmd/ecloud/ecloud_hostspec.go +++ b/cmd/ecloud/ecloud_hostspec.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudHostSpecRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_hostspec_test.go b/cmd/ecloud/ecloud_hostspec_test.go index f4dfbcd6..806fd14d 100644 --- a/cmd/ecloud/ecloud_hostspec_test.go +++ b/cmd/ecloud/ecloud_hostspec_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudHostSpecList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_image.go b/cmd/ecloud/ecloud_image.go index f1b10d52..6f08c040 100644 --- a/cmd/ecloud/ecloud_image.go +++ b/cmd/ecloud/ecloud_image.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudImageRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_image_metadata.go b/cmd/ecloud/ecloud_image_metadata.go index 702a643c..e0c8811a 100644 --- a/cmd/ecloud/ecloud_image_metadata.go +++ b/cmd/ecloud/ecloud_image_metadata.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudImageMetadataRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_image_metadata_test.go b/cmd/ecloud/ecloud_image_metadata_test.go index 732d66d7..28f8da9e 100644 --- a/cmd/ecloud/ecloud_image_metadata_test.go +++ b/cmd/ecloud/ecloud_image_metadata_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudImageMetadataListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_image_parameter.go b/cmd/ecloud/ecloud_image_parameter.go index 6a343597..b47c03bf 100644 --- a/cmd/ecloud/ecloud_image_parameter.go +++ b/cmd/ecloud/ecloud_image_parameter.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudImageParameterRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_image_parameter_test.go b/cmd/ecloud/ecloud_image_parameter_test.go index 84868790..4d048699 100644 --- a/cmd/ecloud/ecloud_image_parameter_test.go +++ b/cmd/ecloud/ecloud_image_parameter_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudImageParameterListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_image_test.go b/cmd/ecloud/ecloud_image_test.go index 96956994..301dba99 100644 --- a/cmd/ecloud/ecloud_image_test.go +++ b/cmd/ecloud/ecloud_image_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudImageList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_instance.go b/cmd/ecloud/ecloud_instance.go index cb369036..d489623e 100644 --- a/cmd/ecloud/ecloud_instance.go +++ b/cmd/ecloud/ecloud_instance.go @@ -8,13 +8,13 @@ import ( "strconv" "strings" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/ptr" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/ptr" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudInstanceRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_instance_consolesession.go b/cmd/ecloud/ecloud_instance_consolesession.go index 75ad8c01..1d531b7d 100644 --- a/cmd/ecloud/ecloud_instance_consolesession.go +++ b/cmd/ecloud/ecloud_instance_consolesession.go @@ -3,10 +3,10 @@ package ecloud import ( "errors" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/pkg/browser" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" ) diff --git a/cmd/ecloud/ecloud_instance_consolesession_test.go b/cmd/ecloud/ecloud_instance_consolesession_test.go index a75be346..3183237c 100644 --- a/cmd/ecloud/ecloud_instance_consolesession_test.go +++ b/cmd/ecloud/ecloud_instance_consolesession_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudInstanceConsoleSessionCreateCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_instance_credential.go b/cmd/ecloud/ecloud_instance_credential.go index 2750a18c..7371a54e 100644 --- a/cmd/ecloud/ecloud_instance_credential.go +++ b/cmd/ecloud/ecloud_instance_credential.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudInstanceCredentialRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_instance_credential_test.go b/cmd/ecloud/ecloud_instance_credential_test.go index 86a5a9de..47ba61df 100644 --- a/cmd/ecloud/ecloud_instance_credential_test.go +++ b/cmd/ecloud/ecloud_instance_credential_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudInstanceCredentialListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_instance_floatingip.go b/cmd/ecloud/ecloud_instance_floatingip.go index 4f4ff45a..44baf243 100644 --- a/cmd/ecloud/ecloud_instance_floatingip.go +++ b/cmd/ecloud/ecloud_instance_floatingip.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudInstanceFloatingIPRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_instance_floatingip_test.go b/cmd/ecloud/ecloud_instance_floatingip_test.go index b590be44..51b17046 100644 --- a/cmd/ecloud/ecloud_instance_floatingip_test.go +++ b/cmd/ecloud/ecloud_instance_floatingip_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudInstanceFloatingIPListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_instance_nic.go b/cmd/ecloud/ecloud_instance_nic.go index e434ce5c..4922d539 100644 --- a/cmd/ecloud/ecloud_instance_nic.go +++ b/cmd/ecloud/ecloud_instance_nic.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudInstanceNICRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_instance_nic_test.go b/cmd/ecloud/ecloud_instance_nic_test.go index f3ffd36e..7dd87dbf 100644 --- a/cmd/ecloud/ecloud_instance_nic_test.go +++ b/cmd/ecloud/ecloud_instance_nic_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudInstanceNICListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_instance_task.go b/cmd/ecloud/ecloud_instance_task.go index 69270a28..62297511 100644 --- a/cmd/ecloud/ecloud_instance_task.go +++ b/cmd/ecloud/ecloud_instance_task.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudInstanceTaskRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_instance_task_test.go b/cmd/ecloud/ecloud_instance_task_test.go index 72031cf0..bd3f90ad 100644 --- a/cmd/ecloud/ecloud_instance_task_test.go +++ b/cmd/ecloud/ecloud_instance_task_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudInstanceTaskListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_instance_test.go b/cmd/ecloud/ecloud_instance_test.go index 14deddfb..f1756953 100644 --- a/cmd/ecloud/ecloud_instance_test.go +++ b/cmd/ecloud/ecloud_instance_test.go @@ -4,15 +4,15 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/ptr" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/ptr" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudInstanceList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_instance_volume.go b/cmd/ecloud/ecloud_instance_volume.go index fcd22b3d..d0dd5d52 100644 --- a/cmd/ecloud/ecloud_instance_volume.go +++ b/cmd/ecloud/ecloud_instance_volume.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudInstanceVolumeRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_instance_volume_test.go b/cmd/ecloud/ecloud_instance_volume_test.go index e7a77ddf..4d23d301 100644 --- a/cmd/ecloud/ecloud_instance_volume_test.go +++ b/cmd/ecloud/ecloud_instance_volume_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudInstanceVolumeListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_ipaddress.go b/cmd/ecloud/ecloud_ipaddress.go index 0f76030c..0f38b277 100644 --- a/cmd/ecloud/ecloud_ipaddress.go +++ b/cmd/ecloud/ecloud_ipaddress.go @@ -4,12 +4,12 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudIPAddressRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_ipaddress_test.go b/cmd/ecloud/ecloud_ipaddress_test.go index b2055325..59fff2ce 100644 --- a/cmd/ecloud/ecloud_ipaddress_test.go +++ b/cmd/ecloud/ecloud_ipaddress_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudIPAddressList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_loadbalancer.go b/cmd/ecloud/ecloud_loadbalancer.go index 4ba40a14..cc0f2f9f 100644 --- a/cmd/ecloud/ecloud_loadbalancer.go +++ b/cmd/ecloud/ecloud_loadbalancer.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudLoadBalancerRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_loadbalancer_test.go b/cmd/ecloud/ecloud_loadbalancer_test.go index 46b9e65c..c89a69a3 100644 --- a/cmd/ecloud/ecloud_loadbalancer_test.go +++ b/cmd/ecloud/ecloud_loadbalancer_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudLoadBalancerList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_loadbalancerspec.go b/cmd/ecloud/ecloud_loadbalancerspec.go index d228f25d..1033fce1 100644 --- a/cmd/ecloud/ecloud_loadbalancerspec.go +++ b/cmd/ecloud/ecloud_loadbalancerspec.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudLoadBalancerSpecRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_loadbalancerspec_test.go b/cmd/ecloud/ecloud_loadbalancerspec_test.go index 7a6c1172..443636ff 100644 --- a/cmd/ecloud/ecloud_loadbalancerspec_test.go +++ b/cmd/ecloud/ecloud_loadbalancerspec_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudLoadBalancerSpecList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_network.go b/cmd/ecloud/ecloud_network.go index f57212f5..f0ec3c38 100644 --- a/cmd/ecloud/ecloud_network.go +++ b/cmd/ecloud/ecloud_network.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudNetworkRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_network_nic.go b/cmd/ecloud/ecloud_network_nic.go index e79d7860..8d3d274f 100644 --- a/cmd/ecloud/ecloud_network_nic.go +++ b/cmd/ecloud/ecloud_network_nic.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudNetworkNICRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_network_nic_test.go b/cmd/ecloud/ecloud_network_nic_test.go index c0af993e..5d82d546 100644 --- a/cmd/ecloud/ecloud_network_nic_test.go +++ b/cmd/ecloud/ecloud_network_nic_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudNetworkNICListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_network_task.go b/cmd/ecloud/ecloud_network_task.go index 0d94b547..b5e6200c 100644 --- a/cmd/ecloud/ecloud_network_task.go +++ b/cmd/ecloud/ecloud_network_task.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudNetworkTaskRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_network_task_test.go b/cmd/ecloud/ecloud_network_task_test.go index 1cd963b5..1520519f 100644 --- a/cmd/ecloud/ecloud_network_task_test.go +++ b/cmd/ecloud/ecloud_network_task_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudNetworkTaskListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_network_test.go b/cmd/ecloud/ecloud_network_test.go index bddb2c67..99593d85 100644 --- a/cmd/ecloud/ecloud_network_test.go +++ b/cmd/ecloud/ecloud_network_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudNetworkList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_networkpolicy.go b/cmd/ecloud/ecloud_networkpolicy.go index ee73a115..4bde40da 100644 --- a/cmd/ecloud/ecloud_networkpolicy.go +++ b/cmd/ecloud/ecloud_networkpolicy.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudNetworkPolicyRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_networkpolicy_rule.go b/cmd/ecloud/ecloud_networkpolicy_rule.go index b02c94e4..b1ffe5e8 100644 --- a/cmd/ecloud/ecloud_networkpolicy_rule.go +++ b/cmd/ecloud/ecloud_networkpolicy_rule.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudNetworkPolicyNetworkRuleRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_networkpolicy_rule_test.go b/cmd/ecloud/ecloud_networkpolicy_rule_test.go index 654d8c77..2b81401f 100644 --- a/cmd/ecloud/ecloud_networkpolicy_rule_test.go +++ b/cmd/ecloud/ecloud_networkpolicy_rule_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudNetworkPolicyNetworkRuleListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_networkpolicy_task.go b/cmd/ecloud/ecloud_networkpolicy_task.go index c83581f1..25bed26c 100644 --- a/cmd/ecloud/ecloud_networkpolicy_task.go +++ b/cmd/ecloud/ecloud_networkpolicy_task.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudNetworkPolicyTaskRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_networkpolicy_task_test.go b/cmd/ecloud/ecloud_networkpolicy_task_test.go index d6fc432f..1edabcf1 100644 --- a/cmd/ecloud/ecloud_networkpolicy_task_test.go +++ b/cmd/ecloud/ecloud_networkpolicy_task_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudNetworkPolicyTaskListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_networkpolicy_test.go b/cmd/ecloud/ecloud_networkpolicy_test.go index 60106690..95356870 100644 --- a/cmd/ecloud/ecloud_networkpolicy_test.go +++ b/cmd/ecloud/ecloud_networkpolicy_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudNetworkPolicyList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_networkrule.go b/cmd/ecloud/ecloud_networkrule.go index 312a5c9d..5d970985 100644 --- a/cmd/ecloud/ecloud_networkrule.go +++ b/cmd/ecloud/ecloud_networkrule.go @@ -4,12 +4,12 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/ptr" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/ptr" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudNetworkRuleRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_networkrule_port.go b/cmd/ecloud/ecloud_networkrule_port.go index 2ef75046..ad41604e 100644 --- a/cmd/ecloud/ecloud_networkrule_port.go +++ b/cmd/ecloud/ecloud_networkrule_port.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudNetworkRuleNetworkRulePortRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_networkrule_port_test.go b/cmd/ecloud/ecloud_networkrule_port_test.go index e92a1fbd..4fc0eb41 100644 --- a/cmd/ecloud/ecloud_networkrule_port_test.go +++ b/cmd/ecloud/ecloud_networkrule_port_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudNetworkRuleNetworkRulePortListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_networkrule_test.go b/cmd/ecloud/ecloud_networkrule_test.go index 59d86632..2950ae2b 100644 --- a/cmd/ecloud/ecloud_networkrule_test.go +++ b/cmd/ecloud/ecloud_networkrule_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudNetworkRuleList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_networkruleport.go b/cmd/ecloud/ecloud_networkruleport.go index cb4e22a8..d2be62c7 100644 --- a/cmd/ecloud/ecloud_networkruleport.go +++ b/cmd/ecloud/ecloud_networkruleport.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudNetworkRulePortRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_networkruleport_test.go b/cmd/ecloud/ecloud_networkruleport_test.go index 31a66917..9c4ba231 100644 --- a/cmd/ecloud/ecloud_networkruleport_test.go +++ b/cmd/ecloud/ecloud_networkruleport_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudNetworkRulePortList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_nic.go b/cmd/ecloud/ecloud_nic.go index 09347f16..9bfbbbdf 100644 --- a/cmd/ecloud/ecloud_nic.go +++ b/cmd/ecloud/ecloud_nic.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudNICRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_nic_ipaddress.go b/cmd/ecloud/ecloud_nic_ipaddress.go index db13740a..255a8a23 100644 --- a/cmd/ecloud/ecloud_nic_ipaddress.go +++ b/cmd/ecloud/ecloud_nic_ipaddress.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudNICIPAddressRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_nic_ipaddress_test.go b/cmd/ecloud/ecloud_nic_ipaddress_test.go index f8d42e4b..e77431a9 100644 --- a/cmd/ecloud/ecloud_nic_ipaddress_test.go +++ b/cmd/ecloud/ecloud_nic_ipaddress_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudNICIPAddressListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_nic_test.go b/cmd/ecloud/ecloud_nic_test.go index 58df016d..2bcaa41b 100644 --- a/cmd/ecloud/ecloud_nic_test.go +++ b/cmd/ecloud/ecloud_nic_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudNICList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_region.go b/cmd/ecloud/ecloud_region.go index abfff0c7..f105a73f 100644 --- a/cmd/ecloud/ecloud_region.go +++ b/cmd/ecloud/ecloud_region.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudRegionRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_region_test.go b/cmd/ecloud/ecloud_region_test.go index 7026e9af..81c0dc97 100644 --- a/cmd/ecloud/ecloud_region_test.go +++ b/cmd/ecloud/ecloud_region_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudRegionList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_router.go b/cmd/ecloud/ecloud_router.go index 55e0e2ea..83c2192c 100644 --- a/cmd/ecloud/ecloud_router.go +++ b/cmd/ecloud/ecloud_router.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudRouterRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_router_firewallpolicy.go b/cmd/ecloud/ecloud_router_firewallpolicy.go index 8be2b97f..99ebad00 100644 --- a/cmd/ecloud/ecloud_router_firewallpolicy.go +++ b/cmd/ecloud/ecloud_router_firewallpolicy.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudRouterFirewallPolicyRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_router_firewallpolicy_test.go b/cmd/ecloud/ecloud_router_firewallpolicy_test.go index 2c3089b6..b0817e20 100644 --- a/cmd/ecloud/ecloud_router_firewallpolicy_test.go +++ b/cmd/ecloud/ecloud_router_firewallpolicy_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudRouterFirewallPolicyListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_router_network.go b/cmd/ecloud/ecloud_router_network.go index 3622819b..c805a703 100644 --- a/cmd/ecloud/ecloud_router_network.go +++ b/cmd/ecloud/ecloud_router_network.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudRouterNetworkRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_router_network_test.go b/cmd/ecloud/ecloud_router_network_test.go index ec06c06f..ef04d7b8 100644 --- a/cmd/ecloud/ecloud_router_network_test.go +++ b/cmd/ecloud/ecloud_router_network_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudRouterNetworkListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_router_task.go b/cmd/ecloud/ecloud_router_task.go index 43639837..21df1ab7 100644 --- a/cmd/ecloud/ecloud_router_task.go +++ b/cmd/ecloud/ecloud_router_task.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudRouterTaskRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_router_task_test.go b/cmd/ecloud/ecloud_router_task_test.go index 6a2d4dd9..01f36f09 100644 --- a/cmd/ecloud/ecloud_router_task_test.go +++ b/cmd/ecloud/ecloud_router_task_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudRouterTaskListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_router_test.go b/cmd/ecloud/ecloud_router_test.go index 15594add..83a7f7ef 100644 --- a/cmd/ecloud/ecloud_router_test.go +++ b/cmd/ecloud/ecloud_router_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudRouterList(t *testing.T) { @@ -118,8 +118,8 @@ func Test_ecloudRouterCreate(t *testing.T) { cmd.ParseFlags([]string{"--name=testrouter", "--vpc=vpc-abcdef12", "--availability-zone=az-abcdef12"}) req := ecloud.CreateRouterRequest{ - Name: "testrouter", - VPCID: "vpc-abcdef12", + Name: "testrouter", + VPCID: "vpc-abcdef12", AvailabilityZoneID: "az-abcdef12", } diff --git a/cmd/ecloud/ecloud_routerthroughput.go b/cmd/ecloud/ecloud_routerthroughput.go index eec0f120..3b9212d0 100644 --- a/cmd/ecloud/ecloud_routerthroughput.go +++ b/cmd/ecloud/ecloud_routerthroughput.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudRouterThroughputRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_routerthroughput_test.go b/cmd/ecloud/ecloud_routerthroughput_test.go index 62a8abe3..aa8c751a 100644 --- a/cmd/ecloud/ecloud_routerthroughput_test.go +++ b/cmd/ecloud/ecloud_routerthroughput_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudRouterThroughputList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_sshkeypair.go b/cmd/ecloud/ecloud_sshkeypair.go index 2d70b5e5..ef970192 100644 --- a/cmd/ecloud/ecloud_sshkeypair.go +++ b/cmd/ecloud/ecloud_sshkeypair.go @@ -4,12 +4,12 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/afero" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudSSHKeyPairRootCmd(f factory.ClientFactory, fs afero.Fs) *cobra.Command { diff --git a/cmd/ecloud/ecloud_sshkeypair_test.go b/cmd/ecloud/ecloud_sshkeypair_test.go index 27ec50ce..c3692653 100644 --- a/cmd/ecloud/ecloud_sshkeypair_test.go +++ b/cmd/ecloud/ecloud_sshkeypair_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudSSHKeyPairList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_task.go b/cmd/ecloud/ecloud_task.go index 3a7002db..55672895 100644 --- a/cmd/ecloud/ecloud_task.go +++ b/cmd/ecloud/ecloud_task.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudTaskRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_task_test.go b/cmd/ecloud/ecloud_task_test.go index 02f544f5..91248c76 100644 --- a/cmd/ecloud/ecloud_task_test.go +++ b/cmd/ecloud/ecloud_task_test.go @@ -4,14 +4,14 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudTaskList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_credit.go b/cmd/ecloud/ecloud_v1_credit.go index e12cab53..ef3eaf25 100644 --- a/cmd/ecloud/ecloud_v1_credit.go +++ b/cmd/ecloud/ecloud_v1_credit.go @@ -3,12 +3,12 @@ package ecloud import ( "fmt" + accountcmd "github.com/ans-group/cli/cmd/account" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - accountcmd "github.com/ukfast/cli/cmd/account" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudCreditRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_credit_test.go b/cmd/ecloud/ecloud_v1_credit_test.go index c92707ae..3ca4faa0 100644 --- a/cmd/ecloud/ecloud_v1_credit_test.go +++ b/cmd/ecloud/ecloud_v1_credit_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/account" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/account" ) func Test_ecloudCreditList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_datastore.go b/cmd/ecloud/ecloud_v1_datastore.go index cf1164fb..9260522d 100644 --- a/cmd/ecloud/ecloud_v1_datastore.go +++ b/cmd/ecloud/ecloud_v1_datastore.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudDatastoreRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_datastore_test.go b/cmd/ecloud/ecloud_v1_datastore_test.go index 057f8989..5c26295b 100644 --- a/cmd/ecloud/ecloud_v1_datastore_test.go +++ b/cmd/ecloud/ecloud_v1_datastore_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudDatastoreList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_firewall.go b/cmd/ecloud/ecloud_v1_firewall.go index c7834f7e..4b544ef9 100644 --- a/cmd/ecloud/ecloud_v1_firewall.go +++ b/cmd/ecloud/ecloud_v1_firewall.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudFirewallRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_firewall_test.go b/cmd/ecloud/ecloud_v1_firewall_test.go index c81bc802..738bd6a0 100644 --- a/cmd/ecloud/ecloud_v1_firewall_test.go +++ b/cmd/ecloud/ecloud_v1_firewall_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudFirewallList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_host.go b/cmd/ecloud/ecloud_v1_host.go index 6d273d70..869983fc 100644 --- a/cmd/ecloud/ecloud_v1_host.go +++ b/cmd/ecloud/ecloud_v1_host.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudV1HostRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_host_test.go b/cmd/ecloud/ecloud_v1_host_test.go index 99c01cbf..3c5e36e1 100644 --- a/cmd/ecloud/ecloud_v1_host_test.go +++ b/cmd/ecloud/ecloud_v1_host_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudV1HostList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_pod.go b/cmd/ecloud/ecloud_v1_pod.go index 87450a49..1be08c23 100644 --- a/cmd/ecloud/ecloud_v1_pod.go +++ b/cmd/ecloud/ecloud_v1_pod.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudPodRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_pod_appliance.go b/cmd/ecloud/ecloud_v1_pod_appliance.go index 6ff77323..3ae81132 100644 --- a/cmd/ecloud/ecloud_v1_pod_appliance.go +++ b/cmd/ecloud/ecloud_v1_pod_appliance.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudPodApplianceRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_pod_appliance_test.go b/cmd/ecloud/ecloud_v1_pod_appliance_test.go index 667727de..676de630 100644 --- a/cmd/ecloud/ecloud_v1_pod_appliance_test.go +++ b/cmd/ecloud/ecloud_v1_pod_appliance_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudPodApplianceListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_pod_template.go b/cmd/ecloud/ecloud_v1_pod_template.go index 0f9c6215..c229124c 100644 --- a/cmd/ecloud/ecloud_v1_pod_template.go +++ b/cmd/ecloud/ecloud_v1_pod_template.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudPodTemplateRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_pod_template_test.go b/cmd/ecloud/ecloud_v1_pod_template_test.go index 45b24501..e89d05a9 100644 --- a/cmd/ecloud/ecloud_v1_pod_template_test.go +++ b/cmd/ecloud/ecloud_v1_pod_template_test.go @@ -4,14 +4,14 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/internal/pkg/config" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/internal/pkg/config" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudPodTemplateListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_pod_test.go b/cmd/ecloud/ecloud_v1_pod_test.go index e3a57f3e..fd3b062f 100644 --- a/cmd/ecloud/ecloud_v1_pod_test.go +++ b/cmd/ecloud/ecloud_v1_pod_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudPodList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_site.go b/cmd/ecloud/ecloud_v1_site.go index c68514de..4cb279ef 100644 --- a/cmd/ecloud/ecloud_v1_site.go +++ b/cmd/ecloud/ecloud_v1_site.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudSiteRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_site_test.go b/cmd/ecloud/ecloud_v1_site_test.go index 4acc85e7..b7a5fcc8 100644 --- a/cmd/ecloud/ecloud_v1_site_test.go +++ b/cmd/ecloud/ecloud_v1_site_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudSiteList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_solution.go b/cmd/ecloud/ecloud_v1_solution.go index c3df2a50..65f60f32 100644 --- a/cmd/ecloud/ecloud_v1_solution.go +++ b/cmd/ecloud/ecloud_v1_solution.go @@ -5,12 +5,12 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/ptr" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/ptr" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudSolutionRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_solution_datastore.go b/cmd/ecloud/ecloud_v1_solution_datastore.go index b65bd25b..d56ef5e4 100644 --- a/cmd/ecloud/ecloud_v1_solution_datastore.go +++ b/cmd/ecloud/ecloud_v1_solution_datastore.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudSolutionDatastoreRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_solution_datastore_test.go b/cmd/ecloud/ecloud_v1_solution_datastore_test.go index a614b751..ac3d992e 100644 --- a/cmd/ecloud/ecloud_v1_solution_datastore_test.go +++ b/cmd/ecloud/ecloud_v1_solution_datastore_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudSolutionDatastoreListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_solution_firewall.go b/cmd/ecloud/ecloud_v1_solution_firewall.go index 69a99f97..d43cf39b 100644 --- a/cmd/ecloud/ecloud_v1_solution_firewall.go +++ b/cmd/ecloud/ecloud_v1_solution_firewall.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudSolutionFirewallRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_solution_firewall_test.go b/cmd/ecloud/ecloud_v1_solution_firewall_test.go index a509ce84..4fccd6fc 100644 --- a/cmd/ecloud/ecloud_v1_solution_firewall_test.go +++ b/cmd/ecloud/ecloud_v1_solution_firewall_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudSolutionFirewallListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_solution_host.go b/cmd/ecloud/ecloud_v1_solution_host.go index 0cc2b91a..b88f68ad 100644 --- a/cmd/ecloud/ecloud_v1_solution_host.go +++ b/cmd/ecloud/ecloud_v1_solution_host.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudSolutionHostRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_solution_host_test.go b/cmd/ecloud/ecloud_v1_solution_host_test.go index 31304c62..4d3a8d56 100644 --- a/cmd/ecloud/ecloud_v1_solution_host_test.go +++ b/cmd/ecloud/ecloud_v1_solution_host_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudSolutionHostListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_solution_network.go b/cmd/ecloud/ecloud_v1_solution_network.go index c99db19c..45ee7df3 100644 --- a/cmd/ecloud/ecloud_v1_solution_network.go +++ b/cmd/ecloud/ecloud_v1_solution_network.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudSolutionNetworkRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_solution_network_test.go b/cmd/ecloud/ecloud_v1_solution_network_test.go index 63885d7e..76400650 100644 --- a/cmd/ecloud/ecloud_v1_solution_network_test.go +++ b/cmd/ecloud/ecloud_v1_solution_network_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudSolutionNetworkListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_solution_site.go b/cmd/ecloud/ecloud_v1_solution_site.go index 6d6e79a3..e40d63dd 100644 --- a/cmd/ecloud/ecloud_v1_solution_site.go +++ b/cmd/ecloud/ecloud_v1_solution_site.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudSolutionSiteRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_solution_site_test.go b/cmd/ecloud/ecloud_v1_solution_site_test.go index eff85770..8041586d 100644 --- a/cmd/ecloud/ecloud_v1_solution_site_test.go +++ b/cmd/ecloud/ecloud_v1_solution_site_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudSolutionSiteListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_solution_tag.go b/cmd/ecloud/ecloud_v1_solution_tag.go index 59411b83..2eb5fcb0 100644 --- a/cmd/ecloud/ecloud_v1_solution_tag.go +++ b/cmd/ecloud/ecloud_v1_solution_tag.go @@ -5,10 +5,10 @@ import ( "fmt" "strconv" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" ) diff --git a/cmd/ecloud/ecloud_v1_solution_tag_test.go b/cmd/ecloud/ecloud_v1_solution_tag_test.go index 62293a21..e23914a7 100644 --- a/cmd/ecloud/ecloud_v1_solution_tag_test.go +++ b/cmd/ecloud/ecloud_v1_solution_tag_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudSolutionTagListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_solution_template.go b/cmd/ecloud/ecloud_v1_solution_template.go index 35daaaec..ad47f82f 100644 --- a/cmd/ecloud/ecloud_v1_solution_template.go +++ b/cmd/ecloud/ecloud_v1_solution_template.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudSolutionTemplateRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_solution_template_test.go b/cmd/ecloud/ecloud_v1_solution_template_test.go index da3498a4..1abb237f 100644 --- a/cmd/ecloud/ecloud_v1_solution_template_test.go +++ b/cmd/ecloud/ecloud_v1_solution_template_test.go @@ -4,14 +4,14 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/internal/pkg/config" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/internal/pkg/config" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudSolutionTemplateListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_solution_test.go b/cmd/ecloud/ecloud_v1_solution_test.go index 89a8b794..2db38450 100644 --- a/cmd/ecloud/ecloud_v1_solution_test.go +++ b/cmd/ecloud/ecloud_v1_solution_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudSolutionList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_solution_vm.go b/cmd/ecloud/ecloud_v1_solution_vm.go index b7340591..c56370fd 100644 --- a/cmd/ecloud/ecloud_v1_solution_vm.go +++ b/cmd/ecloud/ecloud_v1_solution_vm.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudSolutionVirtualMachineRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_solution_vm_test.go b/cmd/ecloud/ecloud_v1_solution_vm_test.go index 90bc0ae1..189efa1e 100644 --- a/cmd/ecloud/ecloud_v1_solution_vm_test.go +++ b/cmd/ecloud/ecloud_v1_solution_vm_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudSolutionVirtualMachineListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_vm.go b/cmd/ecloud/ecloud_v1_vm.go index 88d45f85..447d22cb 100644 --- a/cmd/ecloud/ecloud_v1_vm.go +++ b/cmd/ecloud/ecloud_v1_vm.go @@ -5,12 +5,12 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/ptr" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/ptr" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudVirtualMachineRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_vm_consolesession.go b/cmd/ecloud/ecloud_v1_vm_consolesession.go index ee5ad44a..790d8ef9 100644 --- a/cmd/ecloud/ecloud_v1_vm_consolesession.go +++ b/cmd/ecloud/ecloud_v1_vm_consolesession.go @@ -5,10 +5,10 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/pkg/browser" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" ) diff --git a/cmd/ecloud/ecloud_v1_vm_consolesession_test.go b/cmd/ecloud/ecloud_v1_vm_consolesession_test.go index 7505b508..86dc2bd5 100644 --- a/cmd/ecloud/ecloud_v1_vm_consolesession_test.go +++ b/cmd/ecloud/ecloud_v1_vm_consolesession_test.go @@ -4,11 +4,11 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVirtualMachineConsoleSessionCreateCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_vm_disk.go b/cmd/ecloud/ecloud_v1_vm_disk.go index c9c220e2..70ccaba2 100644 --- a/cmd/ecloud/ecloud_v1_vm_disk.go +++ b/cmd/ecloud/ecloud_v1_vm_disk.go @@ -5,10 +5,10 @@ import ( "fmt" "strconv" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" ) diff --git a/cmd/ecloud/ecloud_v1_vm_disk_test.go b/cmd/ecloud/ecloud_v1_vm_disk_test.go index 652fc863..d13fa611 100644 --- a/cmd/ecloud/ecloud_v1_vm_disk_test.go +++ b/cmd/ecloud/ecloud_v1_vm_disk_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/config" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/config" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVirtualMachineDiskListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_vm_tag.go b/cmd/ecloud/ecloud_v1_vm_tag.go index 7945f1f2..79aa43c0 100644 --- a/cmd/ecloud/ecloud_v1_vm_tag.go +++ b/cmd/ecloud/ecloud_v1_vm_tag.go @@ -5,10 +5,10 @@ import ( "fmt" "strconv" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" ) diff --git a/cmd/ecloud/ecloud_v1_vm_tag_test.go b/cmd/ecloud/ecloud_v1_vm_tag_test.go index 7f893be5..12eee0b8 100644 --- a/cmd/ecloud/ecloud_v1_vm_tag_test.go +++ b/cmd/ecloud/ecloud_v1_vm_tag_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVirtualMachineTagListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_vm_template.go b/cmd/ecloud/ecloud_v1_vm_template.go index 74b0041b..644da8b5 100644 --- a/cmd/ecloud/ecloud_v1_vm_template.go +++ b/cmd/ecloud/ecloud_v1_vm_template.go @@ -5,12 +5,12 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudVirtualMachineTemplateRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_v1_vm_template_test.go b/cmd/ecloud/ecloud_v1_vm_template_test.go index 9604b857..df1c8afa 100644 --- a/cmd/ecloud/ecloud_v1_vm_template_test.go +++ b/cmd/ecloud/ecloud_v1_vm_template_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/internal/pkg/config" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/internal/pkg/config" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVirtualMachineTemplateCreateCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_v1_vm_test.go b/cmd/ecloud/ecloud_v1_vm_test.go index a6e96055..d3ea4882 100644 --- a/cmd/ecloud/ecloud_v1_vm_test.go +++ b/cmd/ecloud/ecloud_v1_vm_test.go @@ -4,15 +4,15 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/internal/pkg/config" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/internal/pkg/config" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVirtualMachineList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_vip.go b/cmd/ecloud/ecloud_vip.go index 6c596b38..3c196a31 100644 --- a/cmd/ecloud/ecloud_vip.go +++ b/cmd/ecloud/ecloud_vip.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudVIPRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_vip_test.go b/cmd/ecloud/ecloud_vip_test.go index 238a8717..90b12b4c 100644 --- a/cmd/ecloud/ecloud_vip_test.go +++ b/cmd/ecloud/ecloud_vip_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVIPList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_volume.go b/cmd/ecloud/ecloud_volume.go index 810aa067..cdc48cfd 100644 --- a/cmd/ecloud/ecloud_volume.go +++ b/cmd/ecloud/ecloud_volume.go @@ -4,12 +4,12 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/ptr" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/ptr" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudVolumeRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_volume_instance.go b/cmd/ecloud/ecloud_volume_instance.go index 656f91f1..db1614a9 100644 --- a/cmd/ecloud/ecloud_volume_instance.go +++ b/cmd/ecloud/ecloud_volume_instance.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudVolumeInstanceRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_volume_instance_test.go b/cmd/ecloud/ecloud_volume_instance_test.go index b13a9160..28c82c1a 100644 --- a/cmd/ecloud/ecloud_volume_instance_test.go +++ b/cmd/ecloud/ecloud_volume_instance_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVolumeInstanceListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_volume_task.go b/cmd/ecloud/ecloud_volume_task.go index 12d6608b..c9df2ee0 100644 --- a/cmd/ecloud/ecloud_volume_task.go +++ b/cmd/ecloud/ecloud_volume_task.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudVolumeTaskRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_volume_task_test.go b/cmd/ecloud/ecloud_volume_task_test.go index e76d4c4c..94d913a2 100644 --- a/cmd/ecloud/ecloud_volume_task_test.go +++ b/cmd/ecloud/ecloud_volume_task_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVolumeTaskListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_volume_test.go b/cmd/ecloud/ecloud_volume_test.go index f5930c24..1d4eeb12 100644 --- a/cmd/ecloud/ecloud_volume_test.go +++ b/cmd/ecloud/ecloud_volume_test.go @@ -4,14 +4,14 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/ptr" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/ptr" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVolumeList(t *testing.T) { @@ -119,9 +119,9 @@ func Test_ecloudVolumeCreate(t *testing.T) { cmd.ParseFlags([]string{"--name=testvolume", "--vpc=vpc-abcdef12", "--capacity=20", "--availability-zone=az-abcdef12"}) req := ecloud.CreateVolumeRequest{ - Name: "testvolume", - VPCID: "vpc-abcdef12", - Capacity: 20, + Name: "testvolume", + VPCID: "vpc-abcdef12", + Capacity: 20, AvailabilityZoneID: "az-abcdef12", } @@ -147,11 +147,11 @@ func Test_ecloudVolumeCreate(t *testing.T) { cmd.ParseFlags([]string{"--name=testvolume", "--vpc=vpc-abcdef12", "--capacity=20", "--availability-zone=az-abcdef12", "--volume-group=volgroup-abcdef12"}) req := ecloud.CreateVolumeRequest{ - Name: "testvolume", - VPCID: "vpc-abcdef12", - Capacity: 20, + Name: "testvolume", + VPCID: "vpc-abcdef12", + Capacity: 20, AvailabilityZoneID: "az-abcdef12", - VolumeGroupID: "volgroup-abcdef12", + VolumeGroupID: "volgroup-abcdef12", } resp := ecloud.TaskReference{ @@ -176,9 +176,9 @@ func Test_ecloudVolumeCreate(t *testing.T) { cmd.ParseFlags([]string{"--name=testvolume", "--vpc=vpc-abcdef12", "--capacity=20", "--availability-zone=az-abcdef12", "--wait"}) req := ecloud.CreateVolumeRequest{ - Name: "testvolume", - VPCID: "vpc-abcdef12", - Capacity: 20, + Name: "testvolume", + VPCID: "vpc-abcdef12", + Capacity: 20, AvailabilityZoneID: "az-abcdef12", } @@ -205,9 +205,9 @@ func Test_ecloudVolumeCreate(t *testing.T) { cmd.ParseFlags([]string{"--name=testvolume", "--vpc=vpc-abcdef12", "--capacity=20", "--availability-zone=az-abcdef12", "--wait"}) req := ecloud.CreateVolumeRequest{ - Name: "testvolume", - VPCID: "vpc-abcdef12", - Capacity: 20, + Name: "testvolume", + VPCID: "vpc-abcdef12", + Capacity: 20, AvailabilityZoneID: "az-abcdef12", } @@ -293,8 +293,8 @@ func Test_ecloudVolumeUpdate(t *testing.T) { cmd.ParseFlags([]string{"--name=testvolume", "--iops=600", "--capacity=40"}) req := ecloud.PatchVolumeRequest{ - Name: "testvolume", - IOPS: 600, + Name: "testvolume", + IOPS: 600, Capacity: 40, } diff --git a/cmd/ecloud/ecloud_volumegroup.go b/cmd/ecloud/ecloud_volumegroup.go index c8b4b67b..98fefd3a 100644 --- a/cmd/ecloud/ecloud_volumegroup.go +++ b/cmd/ecloud/ecloud_volumegroup.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudVolumeGroupRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_volumegroup_test.go b/cmd/ecloud/ecloud_volumegroup_test.go index 42631ffc..8a183268 100644 --- a/cmd/ecloud/ecloud_volumegroup_test.go +++ b/cmd/ecloud/ecloud_volumegroup_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVolumeGroupList(t *testing.T) { @@ -118,8 +118,8 @@ func Test_ecloudVolumeGroupCreate(t *testing.T) { cmd.ParseFlags([]string{"--name=testvolumegroup", "--vpc=vpc-abcdef12", "--availability-zone=az-abcdef12"}) req := ecloud.CreateVolumeGroupRequest{ - Name: "testvolumegroup", - VPCID: "vpc-abcdef12", + Name: "testvolumegroup", + VPCID: "vpc-abcdef12", AvailabilityZoneID: "az-abcdef12", } @@ -145,8 +145,8 @@ func Test_ecloudVolumeGroupCreate(t *testing.T) { cmd.ParseFlags([]string{"--name=testvolumegroup", "--vpc=vpc-abcdef12", "--availability-zone=az-abcdef12", "--wait"}) req := ecloud.CreateVolumeGroupRequest{ - Name: "testvolumegroup", - VPCID: "vpc-abcdef12", + Name: "testvolumegroup", + VPCID: "vpc-abcdef12", AvailabilityZoneID: "az-abcdef12", } @@ -173,8 +173,8 @@ func Test_ecloudVolumeGroupCreate(t *testing.T) { cmd.ParseFlags([]string{"--name=testvolumegroup", "--vpc=vpc-abcdef12", "--availability-zone=az-abcdef12", "--wait"}) req := ecloud.CreateVolumeGroupRequest{ - Name: "testvolumegroup", - VPCID: "vpc-abcdef12", + Name: "testvolumegroup", + VPCID: "vpc-abcdef12", AvailabilityZoneID: "az-abcdef12", } diff --git a/cmd/ecloud/ecloud_volumegroup_volume.go b/cmd/ecloud/ecloud_volumegroup_volume.go index 50cdee7a..f508a84c 100644 --- a/cmd/ecloud/ecloud_volumegroup_volume.go +++ b/cmd/ecloud/ecloud_volumegroup_volume.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudVolumeGroupVolumeRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_volumegroup_volume_test.go b/cmd/ecloud/ecloud_volumegroup_volume_test.go index 68b96726..25f2d622 100644 --- a/cmd/ecloud/ecloud_volumegroup_volume_test.go +++ b/cmd/ecloud/ecloud_volumegroup_volume_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVolumeGroupVolumeListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_vpc.go b/cmd/ecloud/ecloud_vpc.go index 9a0cdb23..aec09f7d 100644 --- a/cmd/ecloud/ecloud_vpc.go +++ b/cmd/ecloud/ecloud_vpc.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudVPCRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_vpc_instance.go b/cmd/ecloud/ecloud_vpc_instance.go index d533fd97..a752515d 100644 --- a/cmd/ecloud/ecloud_vpc_instance.go +++ b/cmd/ecloud/ecloud_vpc_instance.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudVPCInstanceRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_vpc_instance_test.go b/cmd/ecloud/ecloud_vpc_instance_test.go index 4cc01dcb..3b1d0959 100644 --- a/cmd/ecloud/ecloud_vpc_instance_test.go +++ b/cmd/ecloud/ecloud_vpc_instance_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVPCInstanceListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_vpc_task.go b/cmd/ecloud/ecloud_vpc_task.go index 45dc4881..3b0cb4d7 100644 --- a/cmd/ecloud/ecloud_vpc_task.go +++ b/cmd/ecloud/ecloud_vpc_task.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudVPCTaskRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_vpc_task_test.go b/cmd/ecloud/ecloud_vpc_task_test.go index 19fbf67e..d464f49e 100644 --- a/cmd/ecloud/ecloud_vpc_task_test.go +++ b/cmd/ecloud/ecloud_vpc_task_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVPCTaskListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_vpc_test.go b/cmd/ecloud/ecloud_vpc_test.go index 8f2477c0..be4dd980 100644 --- a/cmd/ecloud/ecloud_vpc_test.go +++ b/cmd/ecloud/ecloud_vpc_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVPCList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_vpc_volume.go b/cmd/ecloud/ecloud_vpc_volume.go index 410c5d64..e410c858 100644 --- a/cmd/ecloud/ecloud_vpc_volume.go +++ b/cmd/ecloud/ecloud_vpc_volume.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudVPCVolumeRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_vpc_volume_test.go b/cmd/ecloud/ecloud_vpc_volume_test.go index e3c50d10..c16ba25e 100644 --- a/cmd/ecloud/ecloud_vpc_volume_test.go +++ b/cmd/ecloud/ecloud_vpc_volume_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVPCVolumeListCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_vpnendpoint.go b/cmd/ecloud/ecloud_vpnendpoint.go index 58405443..d72e0883 100644 --- a/cmd/ecloud/ecloud_vpnendpoint.go +++ b/cmd/ecloud/ecloud_vpnendpoint.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudVPNEndpointRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_vpnendpoint_test.go b/cmd/ecloud/ecloud_vpnendpoint_test.go index 87286b4a..d66fe778 100644 --- a/cmd/ecloud/ecloud_vpnendpoint_test.go +++ b/cmd/ecloud/ecloud_vpnendpoint_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVPNEndpointList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_vpnprofilegroup.go b/cmd/ecloud/ecloud_vpnprofilegroup.go index 3acc3435..41ba7358 100644 --- a/cmd/ecloud/ecloud_vpnprofilegroup.go +++ b/cmd/ecloud/ecloud_vpnprofilegroup.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudVPNProfileGroupRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_vpnprofilegroup_test.go b/cmd/ecloud/ecloud_vpnprofilegroup_test.go index 10d01d70..72b423e2 100644 --- a/cmd/ecloud/ecloud_vpnprofilegroup_test.go +++ b/cmd/ecloud/ecloud_vpnprofilegroup_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVPNProfileGroupList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_vpnservice.go b/cmd/ecloud/ecloud_vpnservice.go index c73aac53..bd73913d 100644 --- a/cmd/ecloud/ecloud_vpnservice.go +++ b/cmd/ecloud/ecloud_vpnservice.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudVPNServiceRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_vpnservice_test.go b/cmd/ecloud/ecloud_vpnservice_test.go index e42ea48e..c62f4ad8 100644 --- a/cmd/ecloud/ecloud_vpnservice_test.go +++ b/cmd/ecloud/ecloud_vpnservice_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVPNServiceList(t *testing.T) { diff --git a/cmd/ecloud/ecloud_vpnsession.go b/cmd/ecloud/ecloud_vpnsession.go index 06c9dd3c..ab5ab6d5 100644 --- a/cmd/ecloud/ecloud_vpnsession.go +++ b/cmd/ecloud/ecloud_vpnsession.go @@ -4,12 +4,12 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudVPNSessionRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_vpnsession_presharedkey.go b/cmd/ecloud/ecloud_vpnsession_presharedkey.go index 884b1f24..c9b5dad6 100644 --- a/cmd/ecloud/ecloud_vpnsession_presharedkey.go +++ b/cmd/ecloud/ecloud_vpnsession_presharedkey.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func ecloudVPNSessionPreSharedKeyRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloud/ecloud_vpnsession_presharedkey_test.go b/cmd/ecloud/ecloud_vpnsession_presharedkey_test.go index a842fd0c..4bd5e0cb 100644 --- a/cmd/ecloud/ecloud_vpnsession_presharedkey_test.go +++ b/cmd/ecloud/ecloud_vpnsession_presharedkey_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVPNSessionPreSharedKeyShowCmd_Args(t *testing.T) { diff --git a/cmd/ecloud/ecloud_vpnsession_test.go b/cmd/ecloud/ecloud_vpnsession_test.go index ea249ba7..e64fe540 100644 --- a/cmd/ecloud/ecloud_vpnsession_test.go +++ b/cmd/ecloud/ecloud_vpnsession_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" ) func Test_ecloudVPNSessionList(t *testing.T) { diff --git a/cmd/ecloud/output.go b/cmd/ecloud/output.go index 41483fe2..b1e62424 100644 --- a/cmd/ecloud/output.go +++ b/cmd/ecloud/output.go @@ -3,8 +3,8 @@ package ecloud import ( "strconv" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloud" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloud" ) func OutputECloudVirtualMachinesProvider(vms []ecloud.VirtualMachine) output.OutputHandlerDataProvider { diff --git a/cmd/ecloudflex/ecloudflex.go b/cmd/ecloudflex/ecloudflex.go index 5446241a..7d78f39c 100644 --- a/cmd/ecloudflex/ecloudflex.go +++ b/cmd/ecloudflex/ecloudflex.go @@ -1,8 +1,8 @@ package ecloudflex import ( + "github.com/ans-group/cli/internal/pkg/factory" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" ) func ECloudFlexRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloudflex/ecloudflex_project.go b/cmd/ecloudflex/ecloudflex_project.go index 059a6567..33e13500 100644 --- a/cmd/ecloudflex/ecloudflex_project.go +++ b/cmd/ecloudflex/ecloudflex_project.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloudflex" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloudflex" ) func ecloudflexProjectRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ecloudflex/ecloudflex_project_test.go b/cmd/ecloudflex/ecloudflex_project_test.go index ef964637..cf7a1a93 100644 --- a/cmd/ecloudflex/ecloudflex_project_test.go +++ b/cmd/ecloudflex/ecloudflex_project_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ecloudflex" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ecloudflex" ) func Test_ecloudflexProjectList(t *testing.T) { diff --git a/cmd/ecloudflex/output.go b/cmd/ecloudflex/output.go index 7dd6ed98..1d9bf144 100644 --- a/cmd/ecloudflex/output.go +++ b/cmd/ecloudflex/output.go @@ -1,8 +1,8 @@ package ecloudflex import ( - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ecloudflex" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ecloudflex" ) func OutputECloudFlexProjectsProvider(projects []ecloudflex.Project) output.OutputHandlerDataProvider { diff --git a/cmd/loadbalancer/loadbalancer.go b/cmd/loadbalancer/loadbalancer.go index a870dc82..25f7a56d 100644 --- a/cmd/loadbalancer/loadbalancer.go +++ b/cmd/loadbalancer/loadbalancer.go @@ -1,10 +1,10 @@ package loadbalancer import ( + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" "github.com/spf13/afero" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func LoadBalancerRootCmd(f factory.ClientFactory, fs afero.Fs) *cobra.Command { diff --git a/cmd/loadbalancer/loadbalancer_accessip.go b/cmd/loadbalancer/loadbalancer_accessip.go index b3b4b15c..62cb155b 100644 --- a/cmd/loadbalancer/loadbalancer_accessip.go +++ b/cmd/loadbalancer/loadbalancer_accessip.go @@ -4,11 +4,11 @@ import ( "errors" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func loadbalancerAccessIPRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/loadbalancer/loadbalancer_accessip_test.go b/cmd/loadbalancer/loadbalancer_accessip_test.go index f556941f..8e886d92 100644 --- a/cmd/loadbalancer/loadbalancer_accessip_test.go +++ b/cmd/loadbalancer/loadbalancer_accessip_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func Test_loadbalancerAccessIPShowCmd_Args(t *testing.T) { diff --git a/cmd/loadbalancer/loadbalancer_acl.go b/cmd/loadbalancer/loadbalancer_acl.go index 5a7e143f..0d52574d 100644 --- a/cmd/loadbalancer/loadbalancer_acl.go +++ b/cmd/loadbalancer/loadbalancer_acl.go @@ -6,10 +6,10 @@ import ( "strconv" "strings" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func loadbalancerACLRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/loadbalancer/loadbalancer_acl_test.go b/cmd/loadbalancer/loadbalancer_acl_test.go index e4636897..23c94706 100644 --- a/cmd/loadbalancer/loadbalancer_acl_test.go +++ b/cmd/loadbalancer/loadbalancer_acl_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func Test_loadbalancerACLShowCmd_Args(t *testing.T) { diff --git a/cmd/loadbalancer/loadbalancer_bind.go b/cmd/loadbalancer/loadbalancer_bind.go index 56907d89..4528ed62 100644 --- a/cmd/loadbalancer/loadbalancer_bind.go +++ b/cmd/loadbalancer/loadbalancer_bind.go @@ -3,11 +3,11 @@ package loadbalancer import ( "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func loadbalancerBindRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/loadbalancer/loadbalancer_bind_test.go b/cmd/loadbalancer/loadbalancer_bind_test.go index 016e09bd..419dd2c2 100644 --- a/cmd/loadbalancer/loadbalancer_bind_test.go +++ b/cmd/loadbalancer/loadbalancer_bind_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func Test_loadbalancerBindList(t *testing.T) { diff --git a/cmd/loadbalancer/loadbalancer_cluster.go b/cmd/loadbalancer/loadbalancer_cluster.go index 0e2ba728..973ad33b 100644 --- a/cmd/loadbalancer/loadbalancer_cluster.go +++ b/cmd/loadbalancer/loadbalancer_cluster.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func loadbalancerClusterRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/loadbalancer/loadbalancer_cluster_acltemplate.go b/cmd/loadbalancer/loadbalancer_cluster_acltemplate.go index c059aac8..f7c0a679 100644 --- a/cmd/loadbalancer/loadbalancer_cluster_acltemplate.go +++ b/cmd/loadbalancer/loadbalancer_cluster_acltemplate.go @@ -5,10 +5,10 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func loadbalancerClusterACLTemplateRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/loadbalancer/loadbalancer_cluster_acltemplate_test.go b/cmd/loadbalancer/loadbalancer_cluster_acltemplate_test.go index 138d103c..8b1187bc 100644 --- a/cmd/loadbalancer/loadbalancer_cluster_acltemplate_test.go +++ b/cmd/loadbalancer/loadbalancer_cluster_acltemplate_test.go @@ -4,11 +4,11 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func Test_loadbalancerClusterACLTemplateShowCmd_Args(t *testing.T) { diff --git a/cmd/loadbalancer/loadbalancer_cluster_test.go b/cmd/loadbalancer/loadbalancer_cluster_test.go index c70de130..6404413a 100644 --- a/cmd/loadbalancer/loadbalancer_cluster_test.go +++ b/cmd/loadbalancer/loadbalancer_cluster_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func Test_loadbalancerClusterList(t *testing.T) { diff --git a/cmd/loadbalancer/loadbalancer_listener.go b/cmd/loadbalancer/loadbalancer_listener.go index d52c5fdf..a1f1ad85 100644 --- a/cmd/loadbalancer/loadbalancer_listener.go +++ b/cmd/loadbalancer/loadbalancer_listener.go @@ -5,13 +5,13 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" "github.com/spf13/afero" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func loadbalancerListenerRootCmd(f factory.ClientFactory, fs afero.Fs) *cobra.Command { diff --git a/cmd/loadbalancer/loadbalancer_listener_accessip.go b/cmd/loadbalancer/loadbalancer_listener_accessip.go index 0cbc854b..5e9d702d 100644 --- a/cmd/loadbalancer/loadbalancer_listener_accessip.go +++ b/cmd/loadbalancer/loadbalancer_listener_accessip.go @@ -5,12 +5,12 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func loadbalancerListenerAccessIPRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/loadbalancer/loadbalancer_listener_accessip_test.go b/cmd/loadbalancer/loadbalancer_listener_accessip_test.go index 51f5de61..f96e9e4c 100644 --- a/cmd/loadbalancer/loadbalancer_listener_accessip_test.go +++ b/cmd/loadbalancer/loadbalancer_listener_accessip_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func Test_loadbalancerListenerAccessIPListCmd_Args(t *testing.T) { diff --git a/cmd/loadbalancer/loadbalancer_listener_acl.go b/cmd/loadbalancer/loadbalancer_listener_acl.go index 05f9dd63..4dea3ee4 100644 --- a/cmd/loadbalancer/loadbalancer_listener_acl.go +++ b/cmd/loadbalancer/loadbalancer_listener_acl.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func loadbalancerListenerACLRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/loadbalancer/loadbalancer_listener_acl_test.go b/cmd/loadbalancer/loadbalancer_listener_acl_test.go index bbfeb385..b729c6ba 100644 --- a/cmd/loadbalancer/loadbalancer_listener_acl_test.go +++ b/cmd/loadbalancer/loadbalancer_listener_acl_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func Test_loadbalancerListenerACLListCmd_Args(t *testing.T) { diff --git a/cmd/loadbalancer/loadbalancer_listener_bind.go b/cmd/loadbalancer/loadbalancer_listener_bind.go index 954c019a..27124d08 100644 --- a/cmd/loadbalancer/loadbalancer_listener_bind.go +++ b/cmd/loadbalancer/loadbalancer_listener_bind.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func loadbalancerListenerBindRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/loadbalancer/loadbalancer_listener_bind_test.go b/cmd/loadbalancer/loadbalancer_listener_bind_test.go index f9ba3c21..da68f895 100644 --- a/cmd/loadbalancer/loadbalancer_listener_bind_test.go +++ b/cmd/loadbalancer/loadbalancer_listener_bind_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func Test_loadbalancerListenerBindListCmd_Args(t *testing.T) { diff --git a/cmd/loadbalancer/loadbalancer_listener_certificate.go b/cmd/loadbalancer/loadbalancer_listener_certificate.go index 6b09cba1..6816d561 100644 --- a/cmd/loadbalancer/loadbalancer_listener_certificate.go +++ b/cmd/loadbalancer/loadbalancer_listener_certificate.go @@ -5,12 +5,12 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" "github.com/spf13/afero" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func loadbalancerListenerCertificateRootCmd(f factory.ClientFactory, fs afero.Fs) *cobra.Command { diff --git a/cmd/loadbalancer/loadbalancer_listener_certificate_test.go b/cmd/loadbalancer/loadbalancer_listener_certificate_test.go index e30a0b69..dc7499c9 100644 --- a/cmd/loadbalancer/loadbalancer_listener_certificate_test.go +++ b/cmd/loadbalancer/loadbalancer_listener_certificate_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func Test_loadbalancerListenerCertificateListCmd_Args(t *testing.T) { diff --git a/cmd/loadbalancer/loadbalancer_listener_test.go b/cmd/loadbalancer/loadbalancer_listener_test.go index 958d5d3f..05e341c9 100644 --- a/cmd/loadbalancer/loadbalancer_listener_test.go +++ b/cmd/loadbalancer/loadbalancer_listener_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func Test_loadbalancerListenerList(t *testing.T) { diff --git a/cmd/loadbalancer/loadbalancer_targetgroup.go b/cmd/loadbalancer/loadbalancer_targetgroup.go index 59a2bf7c..ddfff24b 100644 --- a/cmd/loadbalancer/loadbalancer_targetgroup.go +++ b/cmd/loadbalancer/loadbalancer_targetgroup.go @@ -5,12 +5,12 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func loadbalancerTargetGroupRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/loadbalancer/loadbalancer_targetgroup_acl.go b/cmd/loadbalancer/loadbalancer_targetgroup_acl.go index 5ca096f3..59c383d0 100644 --- a/cmd/loadbalancer/loadbalancer_targetgroup_acl.go +++ b/cmd/loadbalancer/loadbalancer_targetgroup_acl.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func loadbalancerTargetGroupACLRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/loadbalancer/loadbalancer_targetgroup_acl_test.go b/cmd/loadbalancer/loadbalancer_targetgroup_acl_test.go index f2dfb067..81d6a156 100644 --- a/cmd/loadbalancer/loadbalancer_targetgroup_acl_test.go +++ b/cmd/loadbalancer/loadbalancer_targetgroup_acl_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func Test_loadbalancerTargetGroupACLListCmd_Args(t *testing.T) { diff --git a/cmd/loadbalancer/loadbalancer_targetgroup_target.go b/cmd/loadbalancer/loadbalancer_targetgroup_target.go index 292b92d2..55b0d12d 100644 --- a/cmd/loadbalancer/loadbalancer_targetgroup_target.go +++ b/cmd/loadbalancer/loadbalancer_targetgroup_target.go @@ -5,12 +5,12 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func loadbalancerTargetGroupTargetRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/loadbalancer/loadbalancer_targetgroup_target_test.go b/cmd/loadbalancer/loadbalancer_targetgroup_target_test.go index 08f62955..f9cd422c 100644 --- a/cmd/loadbalancer/loadbalancer_targetgroup_target_test.go +++ b/cmd/loadbalancer/loadbalancer_targetgroup_target_test.go @@ -4,14 +4,14 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func Test_loadbalancerTargetGroupTargetListCmd_Args(t *testing.T) { diff --git a/cmd/loadbalancer/loadbalancer_targetgroup_test.go b/cmd/loadbalancer/loadbalancer_targetgroup_test.go index c2b34bb7..d809524e 100644 --- a/cmd/loadbalancer/loadbalancer_targetgroup_test.go +++ b/cmd/loadbalancer/loadbalancer_targetgroup_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" ) func Test_loadbalancerTargetGroupList(t *testing.T) { diff --git a/cmd/loadbalancer/output.go b/cmd/loadbalancer/output.go index 6658a1f3..a242b3c7 100644 --- a/cmd/loadbalancer/output.go +++ b/cmd/loadbalancer/output.go @@ -1,8 +1,8 @@ package loadbalancer import ( - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/loadbalancer" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/loadbalancer" ) func OutputLoadBalancerClustersProvider(clusters []loadbalancer.Cluster) output.OutputHandlerDataProvider { diff --git a/cmd/pss/output.go b/cmd/pss/output.go index 57fc6b9f..e8ee5238 100644 --- a/cmd/pss/output.go +++ b/cmd/pss/output.go @@ -1,8 +1,8 @@ package pss import ( - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/pss" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/pss" ) func OutputPSSRequestsProvider(requests []pss.Request) output.OutputHandlerDataProvider { diff --git a/cmd/pss/pss.go b/cmd/pss/pss.go index fa8d2947..b9fcb323 100644 --- a/cmd/pss/pss.go +++ b/cmd/pss/pss.go @@ -1,9 +1,9 @@ package pss import ( + "github.com/ans-group/cli/internal/pkg/factory" "github.com/spf13/afero" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" ) func PSSRootCmd(f factory.ClientFactory, fs afero.Fs) *cobra.Command { diff --git a/cmd/pss/pss_reply.go b/cmd/pss/pss_reply.go index 03cf2f34..862c661d 100644 --- a/cmd/pss/pss_reply.go +++ b/cmd/pss/pss_reply.go @@ -3,11 +3,11 @@ package pss import ( "errors" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/pss" "github.com/spf13/afero" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/pss" ) func pssReplyRootCmd(f factory.ClientFactory, fs afero.Fs) *cobra.Command { diff --git a/cmd/pss/pss_reply_attachment.go b/cmd/pss/pss_reply_attachment.go index 687cf1b6..777e57d6 100644 --- a/cmd/pss/pss_reply_attachment.go +++ b/cmd/pss/pss_reply_attachment.go @@ -6,12 +6,12 @@ import ( "os" "path/filepath" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/pss" "github.com/spf13/afero" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/pss" ) func pssReplyAttachmentRootCmd(f factory.ClientFactory, fs afero.Fs) *cobra.Command { diff --git a/cmd/pss/pss_reply_attachment_test.go b/cmd/pss/pss_reply_attachment_test.go index 96cfacd8..45c3ec7d 100644 --- a/cmd/pss/pss_reply_attachment_test.go +++ b/cmd/pss/pss_reply_attachment_test.go @@ -6,13 +6,13 @@ import ( "io/ioutil" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/test" gomock "github.com/golang/mock/gomock" "github.com/spf13/afero" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/test" ) func Test_pssReplyAttachmentDownloadCmd_Args(t *testing.T) { diff --git a/cmd/pss/pss_request.go b/cmd/pss/pss_request.go index d9c251b1..38831c91 100644 --- a/cmd/pss/pss_request.go +++ b/cmd/pss/pss_request.go @@ -5,12 +5,12 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/input" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/pss" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/input" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/pss" ) func pssRequestRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/pss/pss_request_feedback.go b/cmd/pss/pss_request_feedback.go index 1a6d6ed6..544294bc 100644 --- a/cmd/pss/pss_request_feedback.go +++ b/cmd/pss/pss_request_feedback.go @@ -5,10 +5,10 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/pss" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/pss" ) func pssRequestFeedbackRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/pss/pss_request_feedback_test.go b/cmd/pss/pss_request_feedback_test.go index 8a099c2b..d5042a88 100644 --- a/cmd/pss/pss_request_feedback_test.go +++ b/cmd/pss/pss_request_feedback_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/pss" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/pss" ) func Test_pssRequestFeedbackShowCmd_Args(t *testing.T) { diff --git a/cmd/pss/pss_request_reply.go b/cmd/pss/pss_request_reply.go index d8528acd..eff0aad8 100644 --- a/cmd/pss/pss_request_reply.go +++ b/cmd/pss/pss_request_reply.go @@ -5,12 +5,12 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/input" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/pss" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/input" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/pss" ) func pssRequestReplyRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/pss/pss_request_reply_test.go b/cmd/pss/pss_request_reply_test.go index 4ec56cc3..6392980b 100644 --- a/cmd/pss/pss_request_reply_test.go +++ b/cmd/pss/pss_request_reply_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/pss" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/pss" ) func Test_pssRequestReplyListCmd_Args(t *testing.T) { diff --git a/cmd/pss/pss_request_test.go b/cmd/pss/pss_request_test.go index ebc23611..f766d6bb 100644 --- a/cmd/pss/pss_request_test.go +++ b/cmd/pss/pss_request_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/pss" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/pss" ) func Test_pssRequestList(t *testing.T) { diff --git a/cmd/registrar/output.go b/cmd/registrar/output.go index e5c34802..d5da67fd 100644 --- a/cmd/registrar/output.go +++ b/cmd/registrar/output.go @@ -4,8 +4,8 @@ import ( "strconv" "strings" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/registrar" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/registrar" ) func OutputRegistrarDomainsProvider(domains []registrar.Domain) output.OutputHandlerDataProvider { diff --git a/cmd/registrar/registrar.go b/cmd/registrar/registrar.go index 17e2a816..713b257f 100644 --- a/cmd/registrar/registrar.go +++ b/cmd/registrar/registrar.go @@ -1,8 +1,8 @@ package registrar import ( + "github.com/ans-group/cli/internal/pkg/factory" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" ) func RegistrarRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/registrar/registrar_domain.go b/cmd/registrar/registrar_domain.go index ef0e51e8..adcbdac1 100644 --- a/cmd/registrar/registrar_domain.go +++ b/cmd/registrar/registrar_domain.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/registrar" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/registrar" ) func registrarDomainRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/registrar/registrar_domain_nameserver.go b/cmd/registrar/registrar_domain_nameserver.go index 52689beb..632f52d4 100644 --- a/cmd/registrar/registrar_domain_nameserver.go +++ b/cmd/registrar/registrar_domain_nameserver.go @@ -4,10 +4,10 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/registrar" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/registrar" ) func registrarDomainNameserverRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/registrar/registrar_domain_nameserver_test.go b/cmd/registrar/registrar_domain_nameserver_test.go index 0314960c..a9179304 100644 --- a/cmd/registrar/registrar_domain_nameserver_test.go +++ b/cmd/registrar/registrar_domain_nameserver_test.go @@ -4,11 +4,11 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/registrar" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/registrar" ) func Test_registrarDomainNameserverListCmd_Args(t *testing.T) { diff --git a/cmd/registrar/registrar_domain_test.go b/cmd/registrar/registrar_domain_test.go index 8b0036c8..13be72a0 100644 --- a/cmd/registrar/registrar_domain_test.go +++ b/cmd/registrar/registrar_domain_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/registrar" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/registrar" ) func Test_registrarDomainList(t *testing.T) { diff --git a/cmd/registrar/registrar_whois.go b/cmd/registrar/registrar_whois.go index f7336eea..faf0c3e9 100644 --- a/cmd/registrar/registrar_whois.go +++ b/cmd/registrar/registrar_whois.go @@ -4,10 +4,10 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/registrar" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/registrar" ) func registrarWhoisRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/registrar/registrar_whois_test.go b/cmd/registrar/registrar_whois_test.go index 6929693d..db841410 100644 --- a/cmd/registrar/registrar_whois_test.go +++ b/cmd/registrar/registrar_whois_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/registrar" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/registrar" ) func Test_registrarWhoisShowCmd_Args(t *testing.T) { diff --git a/cmd/root.go b/cmd/root.go index bf2c95cb..dcc676bf 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,27 +1,27 @@ package cmd import ( + accountcmd "github.com/ans-group/cli/cmd/account" + billingcmd "github.com/ans-group/cli/cmd/billing" + cloudflarecmd "github.com/ans-group/cli/cmd/cloudflare" + configcmd "github.com/ans-group/cli/cmd/config" + ddosxcmd "github.com/ans-group/cli/cmd/ddosx" + draascmd "github.com/ans-group/cli/cmd/draas" + ecloudcmd "github.com/ans-group/cli/cmd/ecloud" + ecloudflexcmd "github.com/ans-group/cli/cmd/ecloudflex" + loadbalancercmd "github.com/ans-group/cli/cmd/loadbalancer" + psscmd "github.com/ans-group/cli/cmd/pss" + registrarcmd "github.com/ans-group/cli/cmd/registrar" + safednscmd "github.com/ans-group/cli/cmd/safedns" + sharedexchangecmd "github.com/ans-group/cli/cmd/sharedexchange" + sslcmd "github.com/ans-group/cli/cmd/ssl" + storagecmd "github.com/ans-group/cli/cmd/storage" + "github.com/ans-group/cli/internal/pkg/build" + "github.com/ans-group/cli/internal/pkg/config" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" "github.com/spf13/afero" "github.com/spf13/cobra" - accountcmd "github.com/ukfast/cli/cmd/account" - billingcmd "github.com/ukfast/cli/cmd/billing" - cloudflarecmd "github.com/ukfast/cli/cmd/cloudflare" - configcmd "github.com/ukfast/cli/cmd/config" - ddosxcmd "github.com/ukfast/cli/cmd/ddosx" - draascmd "github.com/ukfast/cli/cmd/draas" - ecloudcmd "github.com/ukfast/cli/cmd/ecloud" - ecloudflexcmd "github.com/ukfast/cli/cmd/ecloudflex" - loadbalancercmd "github.com/ukfast/cli/cmd/loadbalancer" - psscmd "github.com/ukfast/cli/cmd/pss" - registrarcmd "github.com/ukfast/cli/cmd/registrar" - safednscmd "github.com/ukfast/cli/cmd/safedns" - sharedexchangecmd "github.com/ukfast/cli/cmd/sharedexchange" - sslcmd "github.com/ukfast/cli/cmd/ssl" - storagecmd "github.com/ukfast/cli/cmd/storage" - "github.com/ukfast/cli/internal/pkg/build" - "github.com/ukfast/cli/internal/pkg/config" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" ) var appVersion string diff --git a/cmd/safedns/output.go b/cmd/safedns/output.go index b2882db2..6415204a 100644 --- a/cmd/safedns/output.go +++ b/cmd/safedns/output.go @@ -4,8 +4,8 @@ import ( "strconv" "strings" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/safedns" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/safedns" ) func OutputSafeDNSZonesProvider(zones []safedns.Zone) output.OutputHandlerDataProvider { diff --git a/cmd/safedns/safedns.go b/cmd/safedns/safedns.go index 5763390e..86b995ad 100644 --- a/cmd/safedns/safedns.go +++ b/cmd/safedns/safedns.go @@ -4,11 +4,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/resource" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/safedns" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/resource" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/safedns" ) func SafeDNSRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/safedns/safedns_settings.go b/cmd/safedns/safedns_settings.go index 9893f273..36d1774d 100644 --- a/cmd/safedns/safedns_settings.go +++ b/cmd/safedns/safedns_settings.go @@ -3,10 +3,10 @@ package safedns import ( "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/safedns" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/safedns" ) func safednsSettingsRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/safedns/safedns_settings_test.go b/cmd/safedns/safedns_settings_test.go index 7f43a69f..a11cebcb 100644 --- a/cmd/safedns/safedns_settings_test.go +++ b/cmd/safedns/safedns_settings_test.go @@ -4,11 +4,11 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/sdk-go/pkg/service/safedns" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/sdk-go/pkg/service/safedns" ) func Test_safednsSettingsShow(t *testing.T) { diff --git a/cmd/safedns/safedns_template.go b/cmd/safedns/safedns_template.go index 01fa45b6..9193145a 100644 --- a/cmd/safedns/safedns_template.go +++ b/cmd/safedns/safedns_template.go @@ -4,12 +4,12 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/ptr" + "github.com/ans-group/sdk-go/pkg/service/safedns" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/ptr" - "github.com/ukfast/sdk-go/pkg/service/safedns" ) func safednsTemplateRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/safedns/safedns_template_record.go b/cmd/safedns/safedns_template_record.go index 8785ef5f..00a80b54 100644 --- a/cmd/safedns/safedns_template_record.go +++ b/cmd/safedns/safedns_template_record.go @@ -5,12 +5,12 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/ptr" + "github.com/ans-group/sdk-go/pkg/service/safedns" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/ptr" - "github.com/ukfast/sdk-go/pkg/service/safedns" ) func safednsTemplateRecordRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/safedns/safedns_template_record_test.go b/cmd/safedns/safedns_template_record_test.go index 6d3afb8f..da5dd48f 100644 --- a/cmd/safedns/safedns_template_record_test.go +++ b/cmd/safedns/safedns_template_record_test.go @@ -4,15 +4,15 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/ptr" + "github.com/ans-group/sdk-go/pkg/service/safedns" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/ptr" - "github.com/ukfast/sdk-go/pkg/service/safedns" ) func Test_safednsTemplateRecordListCmd_Args(t *testing.T) { diff --git a/cmd/safedns/safedns_template_test.go b/cmd/safedns/safedns_template_test.go index fdcbddf9..417373e5 100644 --- a/cmd/safedns/safedns_template_test.go +++ b/cmd/safedns/safedns_template_test.go @@ -4,14 +4,14 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/safedns" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/safedns" ) func Test_safednsTemplateList(t *testing.T) { diff --git a/cmd/safedns/safedns_zone.go b/cmd/safedns/safedns_zone.go index d425a337..20c1757e 100644 --- a/cmd/safedns/safedns_zone.go +++ b/cmd/safedns/safedns_zone.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/safedns" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/safedns" ) func safednsZoneRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/safedns/safedns_zone_note.go b/cmd/safedns/safedns_zone_note.go index 7391bb5f..b0bc8391 100644 --- a/cmd/safedns/safedns_zone_note.go +++ b/cmd/safedns/safedns_zone_note.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/safedns" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/safedns" ) func safednsZoneNoteRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/safedns/safedns_zone_note_test.go b/cmd/safedns/safedns_zone_note_test.go index f6a3204a..0124a0f2 100644 --- a/cmd/safedns/safedns_zone_note_test.go +++ b/cmd/safedns/safedns_zone_note_test.go @@ -4,14 +4,14 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/safedns" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/safedns" ) func Test_safednsZoneNoteListCmd_Args(t *testing.T) { diff --git a/cmd/safedns/safedns_zone_record.go b/cmd/safedns/safedns_zone_record.go index 4c461fdd..28cd81f4 100644 --- a/cmd/safedns/safedns_zone_record.go +++ b/cmd/safedns/safedns_zone_record.go @@ -6,12 +6,12 @@ import ( "strconv" "strings" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/ptr" + "github.com/ans-group/sdk-go/pkg/service/safedns" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/ptr" - "github.com/ukfast/sdk-go/pkg/service/safedns" ) func safednsZoneRecordRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/safedns/safedns_zone_record_test.go b/cmd/safedns/safedns_zone_record_test.go index 982e86c7..32b36f0d 100644 --- a/cmd/safedns/safedns_zone_record_test.go +++ b/cmd/safedns/safedns_zone_record_test.go @@ -4,14 +4,14 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/safedns" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/safedns" ) func Test_safednsZoneRecordListCmd_Args(t *testing.T) { diff --git a/cmd/safedns/safedns_zone_test.go b/cmd/safedns/safedns_zone_test.go index e5d4e0ce..5f41b5b2 100644 --- a/cmd/safedns/safedns_zone_test.go +++ b/cmd/safedns/safedns_zone_test.go @@ -4,15 +4,15 @@ import ( "errors" "testing" - "github.com/ukfast/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/safedns" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/safedns" ) func Test_safednsZoneList(t *testing.T) { diff --git a/cmd/sharedexchange/output.go b/cmd/sharedexchange/output.go index cb866454..3693293d 100644 --- a/cmd/sharedexchange/output.go +++ b/cmd/sharedexchange/output.go @@ -1,8 +1,8 @@ package sharedexchange import ( - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/sharedexchange" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/sharedexchange" ) func OutputSharedExchangeDomainsProvider(domains []sharedexchange.Domain) output.OutputHandlerDataProvider { diff --git a/cmd/sharedexchange/sharedexchange.go b/cmd/sharedexchange/sharedexchange.go index e354c53d..9edf83a3 100644 --- a/cmd/sharedexchange/sharedexchange.go +++ b/cmd/sharedexchange/sharedexchange.go @@ -1,8 +1,8 @@ package sharedexchange import ( + "github.com/ans-group/cli/internal/pkg/factory" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" ) func SharedExchangeRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/sharedexchange/sharedexchange_domain.go b/cmd/sharedexchange/sharedexchange_domain.go index 9dbe446b..5b16c0e8 100644 --- a/cmd/sharedexchange/sharedexchange_domain.go +++ b/cmd/sharedexchange/sharedexchange_domain.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/sharedexchange" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/sharedexchange" ) func sharedexchangeDomainRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/sharedexchange/sharedexchange_domain_test.go b/cmd/sharedexchange/sharedexchange_domain_test.go index 063ddf92..ac93e8ec 100644 --- a/cmd/sharedexchange/sharedexchange_domain_test.go +++ b/cmd/sharedexchange/sharedexchange_domain_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/sharedexchange" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/sharedexchange" ) func Test_sharedexchangeDomainList(t *testing.T) { diff --git a/cmd/ssl/output.go b/cmd/ssl/output.go index ff22dcb3..5f8172b5 100644 --- a/cmd/ssl/output.go +++ b/cmd/ssl/output.go @@ -4,8 +4,8 @@ import ( "strconv" "strings" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ssl" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ssl" ) func OutputSSLCertificatesProvider(certificates []ssl.Certificate) output.OutputHandlerDataProvider { diff --git a/cmd/ssl/ssl.go b/cmd/ssl/ssl.go index f50c4d8d..4a062131 100644 --- a/cmd/ssl/ssl.go +++ b/cmd/ssl/ssl.go @@ -3,12 +3,12 @@ package ssl import ( "fmt" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ssl" "github.com/spf13/afero" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ssl" ) func SSLRootCmd(f factory.ClientFactory, fs afero.Fs) *cobra.Command { diff --git a/cmd/ssl/ssl_certificate.go b/cmd/ssl/ssl_certificate.go index 2a1ec652..dc1f2afd 100644 --- a/cmd/ssl/ssl_certificate.go +++ b/cmd/ssl/ssl_certificate.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ssl" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ssl" ) func sslCertificateRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ssl/ssl_certificate_content.go b/cmd/ssl/ssl_certificate_content.go index eed2cb26..9cce2df0 100644 --- a/cmd/ssl/ssl_certificate_content.go +++ b/cmd/ssl/ssl_certificate_content.go @@ -4,10 +4,10 @@ import ( "errors" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ssl" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ssl" ) func sslCertificateContentRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ssl/ssl_certificate_content_test.go b/cmd/ssl/ssl_certificate_content_test.go index c39c5306..2e4aa8cd 100644 --- a/cmd/ssl/ssl_certificate_content_test.go +++ b/cmd/ssl/ssl_certificate_content_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ssl" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ssl" ) func Test_sslCertificateContentShowCmd_Args(t *testing.T) { diff --git a/cmd/ssl/ssl_certificate_privatekey.go b/cmd/ssl/ssl_certificate_privatekey.go index 8464ada5..156c1c69 100644 --- a/cmd/ssl/ssl_certificate_privatekey.go +++ b/cmd/ssl/ssl_certificate_privatekey.go @@ -4,10 +4,10 @@ import ( "errors" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ssl" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ssl" ) func sslCertificatePrivateKeyRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ssl/ssl_certificate_privatekey_test.go b/cmd/ssl/ssl_certificate_privatekey_test.go index 2687255f..1977b16c 100644 --- a/cmd/ssl/ssl_certificate_privatekey_test.go +++ b/cmd/ssl/ssl_certificate_privatekey_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ssl" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ssl" ) func Test_sslCertificatePrivateKeyShowCmd_Args(t *testing.T) { diff --git a/cmd/ssl/ssl_certificate_test.go b/cmd/ssl/ssl_certificate_test.go index a672ad4b..e3795585 100644 --- a/cmd/ssl/ssl_certificate_test.go +++ b/cmd/ssl/ssl_certificate_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ssl" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ssl" ) func Test_sslCertificateList(t *testing.T) { diff --git a/cmd/ssl/ssl_recommendations.go b/cmd/ssl/ssl_recommendations.go index e19c3788..a98aba1d 100644 --- a/cmd/ssl/ssl_recommendations.go +++ b/cmd/ssl/ssl_recommendations.go @@ -3,10 +3,10 @@ package ssl import ( "errors" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ssl" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ssl" ) func sslRecommendationsRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ssl/ssl_recommendations_test.go b/cmd/ssl/ssl_recommendations_test.go index 8706f07a..aa35a49c 100644 --- a/cmd/ssl/ssl_recommendations_test.go +++ b/cmd/ssl/ssl_recommendations_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ssl" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ssl" ) func Test_sslRecommendationsShowCmd_Args(t *testing.T) { diff --git a/cmd/ssl/ssl_report.go b/cmd/ssl/ssl_report.go index 65fd7461..82b52764 100644 --- a/cmd/ssl/ssl_report.go +++ b/cmd/ssl/ssl_report.go @@ -3,10 +3,10 @@ package ssl import ( "errors" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/ssl" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/ssl" ) func sslReportRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/ssl/ssl_report_test.go b/cmd/ssl/ssl_report_test.go index dd4f37ef..231370de 100644 --- a/cmd/ssl/ssl_report_test.go +++ b/cmd/ssl/ssl_report_test.go @@ -4,12 +4,12 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/ssl" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/ssl" ) func Test_sslReportShowCmd_Args(t *testing.T) { diff --git a/cmd/storage/output.go b/cmd/storage/output.go index 7c39b47a..71cbaee8 100644 --- a/cmd/storage/output.go +++ b/cmd/storage/output.go @@ -3,8 +3,8 @@ package storage import ( "strconv" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/storage" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/storage" ) func OutputStorageSolutionsProvider(solutions []storage.Solution) output.OutputHandlerDataProvider { diff --git a/cmd/storage/storage.go b/cmd/storage/storage.go index b28559cd..39eb7a1c 100644 --- a/cmd/storage/storage.go +++ b/cmd/storage/storage.go @@ -1,8 +1,8 @@ package storage import ( + "github.com/ans-group/cli/internal/pkg/factory" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" ) func StorageRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/storage/storage_host.go b/cmd/storage/storage_host.go index fa5ba1c1..9704e495 100644 --- a/cmd/storage/storage_host.go +++ b/cmd/storage/storage_host.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/storage" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/storage" ) func storageHostRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/storage/storage_host_test.go b/cmd/storage/storage_host_test.go index 69c8d73f..760355ad 100644 --- a/cmd/storage/storage_host_test.go +++ b/cmd/storage/storage_host_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/storage" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/storage" ) func Test_storageHostList(t *testing.T) { diff --git a/cmd/storage/storage_solution.go b/cmd/storage/storage_solution.go index 013bb8b0..af13642d 100644 --- a/cmd/storage/storage_solution.go +++ b/cmd/storage/storage_solution.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/storage" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/storage" ) func storageSolutionRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/storage/storage_solution_test.go b/cmd/storage/storage_solution_test.go index 7c4a2f54..c670bbbf 100644 --- a/cmd/storage/storage_solution_test.go +++ b/cmd/storage/storage_solution_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/storage" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/storage" ) func Test_storageSolutionList(t *testing.T) { diff --git a/cmd/storage/storage_volume.go b/cmd/storage/storage_volume.go index c4bcf294..dce53e4b 100644 --- a/cmd/storage/storage_volume.go +++ b/cmd/storage/storage_volume.go @@ -5,11 +5,11 @@ import ( "fmt" "strconv" + "github.com/ans-group/cli/internal/pkg/factory" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/service/storage" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/factory" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/service/storage" ) func storageVolumeRootCmd(f factory.ClientFactory) *cobra.Command { diff --git a/cmd/storage/storage_volume_test.go b/cmd/storage/storage_volume_test.go index 94b450ff..88c5a73e 100644 --- a/cmd/storage/storage_volume_test.go +++ b/cmd/storage/storage_volume_test.go @@ -4,13 +4,13 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/test/mocks" + "github.com/ans-group/cli/test/test_output" + "github.com/ans-group/sdk-go/pkg/service/storage" gomock "github.com/golang/mock/gomock" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/test/mocks" - "github.com/ukfast/cli/test/test_output" - "github.com/ukfast/sdk-go/pkg/service/storage" ) func Test_storageVolumeList(t *testing.T) { diff --git a/go.mod b/go.mod index 383178f6..d11bc6d0 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,9 @@ -module github.com/ukfast/cli +module github.com/ans-group/cli go 1.18 require ( + github.com/ans-group/sdk-go v1.7.0 github.com/blang/semver v3.5.1+incompatible github.com/golang/mock v1.6.0 github.com/iancoleman/strcase v0.0.0-20191112232945-16388991a334 @@ -15,13 +16,13 @@ require ( github.com/spf13/cobra v0.0.5 github.com/spf13/viper v1.3.2 github.com/stretchr/testify v1.6.1 - github.com/ukfast/sdk-go v1.6.2 gopkg.in/go-playground/assert.v1 v1.2.1 gopkg.in/yaml.v3 v3.0.0-20220512140231-539c8e751b99 k8s.io/client-go v11.0.0+incompatible ) require ( + github.com/ans-group/go-durationstring v1.2.0 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/fsnotify/fsnotify v1.4.7 // indirect github.com/go-playground/locales v0.12.1 // indirect @@ -42,7 +43,6 @@ require ( github.com/spf13/jwalterweatherman v1.0.0 // indirect github.com/spf13/pflag v1.0.3 // indirect github.com/tcnksm/go-gitconfig v0.1.2 // indirect - github.com/ukfast/go-durationstring v1.1.0 // indirect github.com/ulikunitz/xz v0.5.8 // indirect golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 // indirect golang.org/x/oauth2 v0.0.0-20181106182150-f42d05182288 // indirect @@ -53,4 +53,4 @@ require ( gopkg.in/yaml.v2 v2.2.2 // indirect ) -// replace github.com/ukfast/sdk-go => ../sdk-go +// replace github.com/ans-group/sdk-go => ../sdk-go diff --git a/go.sum b/go.sum index 94e21df6..08f84e82 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,9 @@ github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/ans-group/go-durationstring v1.2.0 h1:UJIuQATkp0t1rBvZsHRwki33YHV9E+Ulro+3NbMB7MM= +github.com/ans-group/go-durationstring v1.2.0/go.mod h1:QGF9Mdpq9058QXaut8r55QWu6lcHX6i/GvF1PZVkV6o= +github.com/ans-group/sdk-go v1.7.0 h1:Riy6MwVf6fkmQvxPPA1UfrBoqo3GYghXV9MhCzlCPg8= +github.com/ans-group/sdk-go v1.7.0/go.mod h1:XSKXEDfKobnDtZoyia5DhJxxaDMcCjr76e1KJ9dU/xc= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= @@ -85,10 +89,6 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/tcnksm/go-gitconfig v0.1.2 h1:iiDhRitByXAEyjgBqsKi9QU4o2TNtv9kPP3RgPgXBPw= github.com/tcnksm/go-gitconfig v0.1.2/go.mod h1:/8EhP4H7oJZdIPyT+/UIsG87kTzrzM4UsLGSItWYCpE= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= -github.com/ukfast/go-durationstring v1.1.0 h1:Ki0ubc5jqSt7XuAs+gkPNpHYolIwbcsRW4LS239tIHA= -github.com/ukfast/go-durationstring v1.1.0/go.mod h1:Ci81n51kfxlKUIaLY9cINIKRO94VTqV+iCGbOMTb0V8= -github.com/ukfast/sdk-go v1.6.2 h1:7QJJyrTTCM/chZW/lA2wLgokHjKopBBWuGdYWTFexas= -github.com/ukfast/sdk-go v1.6.2/go.mod h1:NynAokVgvxZNUmUySgSIckA8Kcc43urFM2F2qHFq13s= github.com/ulikunitz/xz v0.5.5/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8= github.com/ulikunitz/xz v0.5.8 h1:ERv8V6GKqVi23rgu5cj9pVfVzJbOqAY2Ntl88O6c2nQ= github.com/ulikunitz/xz v0.5.8/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= diff --git a/internal/pkg/factory/client_factory.go b/internal/pkg/factory/client_factory.go index 0a0784e3..3503a58d 100644 --- a/internal/pkg/factory/client_factory.go +++ b/internal/pkg/factory/client_factory.go @@ -6,11 +6,11 @@ import ( "net/http" "time" - "github.com/ukfast/cli/internal/pkg/config" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/sdk-go/pkg/client" - "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/logging" + "github.com/ans-group/cli/internal/pkg/config" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/sdk-go/pkg/client" + "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/logging" ) type ClientFactory interface { diff --git a/internal/pkg/helper/flag.go b/internal/pkg/helper/flag.go index fb650f07..138e4fd4 100644 --- a/internal/pkg/helper/flag.go +++ b/internal/pkg/helper/flag.go @@ -6,11 +6,11 @@ import ( "strconv" "strings" + "github.com/ans-group/cli/internal/pkg/clierrors" + "github.com/ans-group/cli/internal/pkg/config" + "github.com/ans-group/sdk-go/pkg/connection" "github.com/spf13/afero" "github.com/spf13/cobra" - "github.com/ukfast/cli/internal/pkg/clierrors" - "github.com/ukfast/cli/internal/pkg/config" - "github.com/ukfast/sdk-go/pkg/connection" ) // InferTypeFromStringFlagValue will return a int, bool or string, based on value of flag diff --git a/internal/pkg/helper/flag_test.go b/internal/pkg/helper/flag_test.go index 0981cb46..016ec585 100644 --- a/internal/pkg/helper/flag_test.go +++ b/internal/pkg/helper/flag_test.go @@ -3,10 +3,10 @@ package helper_test import ( "testing" + "github.com/ans-group/cli/internal/pkg/helper" + "github.com/ans-group/sdk-go/pkg/connection" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/helper" - "github.com/ukfast/sdk-go/pkg/connection" ) func TestInferTypeFromStringFlagValue_InfersInteger(t *testing.T) { diff --git a/internal/pkg/helper/intconv_test.go b/internal/pkg/helper/intconv_test.go index 6d48e34f..3ef11480 100644 --- a/internal/pkg/helper/intconv_test.go +++ b/internal/pkg/helper/intconv_test.go @@ -3,8 +3,8 @@ package helper_test import ( "testing" + "github.com/ans-group/cli/internal/pkg/helper" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/helper" ) func TestJoinInt_EmptyArray_ReturnsEmptyString(t *testing.T) { diff --git a/internal/pkg/helper/path_test.go b/internal/pkg/helper/path_test.go index d4af2602..3ed4f069 100644 --- a/internal/pkg/helper/path_test.go +++ b/internal/pkg/helper/path_test.go @@ -4,9 +4,9 @@ import ( "path/filepath" "testing" + "github.com/ans-group/cli/internal/pkg/helper" "github.com/spf13/afero" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/helper" ) func TestGetDestinationFilePath_MissingSource_ReturnsError(t *testing.T) { diff --git a/internal/pkg/helper/wait.go b/internal/pkg/helper/wait.go index d89efe36..b4ce2c1e 100644 --- a/internal/pkg/helper/wait.go +++ b/internal/pkg/helper/wait.go @@ -5,7 +5,7 @@ import ( "fmt" "time" - "github.com/ukfast/cli/internal/pkg/config" + "github.com/ans-group/cli/internal/pkg/config" ) type WaitFunc func() (finished bool, err error) diff --git a/internal/pkg/helper/wait_test.go b/internal/pkg/helper/wait_test.go index 7a867119..db7b36bf 100644 --- a/internal/pkg/helper/wait_test.go +++ b/internal/pkg/helper/wait_test.go @@ -4,8 +4,8 @@ import ( "errors" "testing" + "github.com/ans-group/cli/internal/pkg/config" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/config" ) func TestWaitForCommand(t *testing.T) { diff --git a/internal/pkg/input/input.go b/internal/pkg/input/input.go index 7aa4e2c1..13be7e2f 100644 --- a/internal/pkg/input/input.go +++ b/internal/pkg/input/input.go @@ -8,7 +8,7 @@ import ( "os" "strings" - "github.com/ukfast/cli/internal/pkg/output" + "github.com/ans-group/cli/internal/pkg/output" ) var InputReader = func() io.Reader { diff --git a/internal/pkg/input/input_test.go b/internal/pkg/input/input_test.go index 1b803c13..88c01dd3 100644 --- a/internal/pkg/input/input_test.go +++ b/internal/pkg/input/input_test.go @@ -7,8 +7,8 @@ import ( "io/ioutil" "testing" + "github.com/ans-group/cli/test/test_input" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/test_input" ) func TestReadInput(t *testing.T) { diff --git a/internal/pkg/output/field_test.go b/internal/pkg/output/field_test.go index 86c0679c..bfea1837 100644 --- a/internal/pkg/output/field_test.go +++ b/internal/pkg/output/field_test.go @@ -3,8 +3,8 @@ package output_test import ( "testing" + "github.com/ans-group/cli/internal/pkg/output" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/internal/pkg/output" ) func TestOrderedFields_Set(t *testing.T) { diff --git a/internal/pkg/output/output.go b/internal/pkg/output/output.go index e456e61f..5ffdfe34 100644 --- a/internal/pkg/output/output.go +++ b/internal/pkg/output/output.go @@ -15,7 +15,7 @@ import ( "gopkg.in/yaml.v3" "k8s.io/client-go/util/jsonpath" - "github.com/ukfast/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/connection" ) var outputExit func(code int) = os.Exit diff --git a/internal/pkg/output/output_handler_test.go b/internal/pkg/output/output_handler_test.go index e7b7b424..d00575c3 100644 --- a/internal/pkg/output/output_handler_test.go +++ b/internal/pkg/output/output_handler_test.go @@ -4,8 +4,8 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test" ) var testOutputHandlerDataProvider = NewGenericOutputHandlerDataProvider( diff --git a/internal/pkg/output/output_test.go b/internal/pkg/output/output_test.go index 0f6d1813..41bbb48a 100644 --- a/internal/pkg/output/output_test.go +++ b/internal/pkg/output/output_test.go @@ -3,9 +3,9 @@ package output import ( "testing" + "github.com/ans-group/cli/test" + "github.com/ans-group/sdk-go/pkg/service/safedns" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test" - "github.com/ukfast/sdk-go/pkg/service/safedns" ) func TestOutputExit_SetsHandler(t *testing.T) { diff --git a/internal/pkg/resource/resource_locator_test.go b/internal/pkg/resource/resource_locator_test.go index b8e755c3..22bcf997 100644 --- a/internal/pkg/resource/resource_locator_test.go +++ b/internal/pkg/resource/resource_locator_test.go @@ -4,9 +4,9 @@ import ( "errors" "testing" + "github.com/ans-group/cli/test/mocks" "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" - "github.com/ukfast/cli/test/mocks" ) func TestResourceLocator_Invoke(t *testing.T) { diff --git a/main.go b/main.go index f7630924..7df2c790 100644 --- a/main.go +++ b/main.go @@ -15,8 +15,8 @@ package main import ( - "github.com/ukfast/cli/cmd" - "github.com/ukfast/cli/internal/pkg/build" + "github.com/ans-group/cli/cmd" + "github.com/ans-group/cli/internal/pkg/build" ) func main() { diff --git a/test/mocks/generate.go b/test/mocks/generate.go index 2081bc40..54a496a2 100644 --- a/test/mocks/generate.go +++ b/test/mocks/generate.go @@ -1,17 +1,17 @@ package mocks -//go:generate mockgen -package mocks -destination mock_accountservice.go -imports=github.com/ukfast/sdk-go/pkg/service/account github.com/ukfast/sdk-go/pkg/service/account AccountService -//go:generate mockgen -package mocks -destination mock_billingservice.go -imports=github.com/ukfast/sdk-go/pkg/service/billing github.com/ukfast/sdk-go/pkg/service/billing BillingService -//go:generate mockgen -package mocks -destination mock_ddosxservice.go -imports=github.com/ukfast/sdk-go/pkg/service/ddosx github.com/ukfast/sdk-go/pkg/service/ddosx DDoSXService -//go:generate mockgen -package mocks -destination mock_draasservice.go -imports=github.com/ukfast/sdk-go/pkg/service/draas github.com/ukfast/sdk-go/pkg/service/draas DRaaSService -//go:generate mockgen -package mocks -destination mock_ecloudservice.go -imports=github.com/ukfast/sdk-go/pkg/service/ecloud github.com/ukfast/sdk-go/pkg/service/ecloud ECloudService -//go:generate mockgen -package mocks -destination mock_ecloudflexservice.go -imports=github.com/ukfast/sdk-go/pkg/service/ecloudflex github.com/ukfast/sdk-go/pkg/service/ecloudflex ECloudFlexService -//go:generate mockgen -package mocks -destination mock_loadbalancerservice.go -imports=github.com/ukfast/sdk-go/pkg/service/loadbalancer github.com/ukfast/sdk-go/pkg/service/loadbalancer LoadBalancerService -//go:generate mockgen -package mocks -destination mock_cloudflare.go -imports=github.com/ukfast/sdk-go/pkg/service/cloudflare github.com/ukfast/sdk-go/pkg/service/cloudflare CloudflareService -//go:generate mockgen -package mocks -destination mock_pssservice.go -imports=github.com/ukfast/sdk-go/pkg/service/pss github.com/ukfast/sdk-go/pkg/service/pss PSSService -//go:generate mockgen -package mocks -destination mock_registrarservice.go -imports=github.com/ukfast/sdk-go/pkg/service/registrar github.com/ukfast/sdk-go/pkg/service/registrar RegistrarService -//go:generate mockgen -package mocks -destination mock_resourcelocatorprovider.go github.com/ukfast/cli/internal/pkg/resource ResourceLocatorProvider -//go:generate mockgen -package mocks -destination mock_safednsservice.go -imports=github.com/ukfast/sdk-go/pkg/service/safedns github.com/ukfast/sdk-go/pkg/service/safedns SafeDNSService -//go:generate mockgen -package mocks -destination mock_sharedexchangeservice.go -imports=github.com/ukfast/sdk-go/pkg/service/sharedexchange github.com/ukfast/sdk-go/pkg/service/sharedexchange SharedExchangeService -//go:generate mockgen -package mocks -destination mock_sslservice.go -imports=github.com/ukfast/sdk-go/pkg/service/ssl github.com/ukfast/sdk-go/pkg/service/ssl SSLService -//go:generate mockgen -package mocks -destination mock_storageservice.go -imports=github.com/ukfast/sdk-go/pkg/service/storage github.com/ukfast/sdk-go/pkg/service/storage StorageService +//go:generate mockgen -package mocks -destination mock_accountservice.go -imports=github.com/ans-group/sdk-go/pkg/service/account github.com/ans-group/sdk-go/pkg/service/account AccountService +//go:generate mockgen -package mocks -destination mock_billingservice.go -imports=github.com/ans-group/sdk-go/pkg/service/billing github.com/ans-group/sdk-go/pkg/service/billing BillingService +//go:generate mockgen -package mocks -destination mock_ddosxservice.go -imports=github.com/ans-group/sdk-go/pkg/service/ddosx github.com/ans-group/sdk-go/pkg/service/ddosx DDoSXService +//go:generate mockgen -package mocks -destination mock_draasservice.go -imports=github.com/ans-group/sdk-go/pkg/service/draas github.com/ans-group/sdk-go/pkg/service/draas DRaaSService +//go:generate mockgen -package mocks -destination mock_ecloudservice.go -imports=github.com/ans-group/sdk-go/pkg/service/ecloud github.com/ans-group/sdk-go/pkg/service/ecloud ECloudService +//go:generate mockgen -package mocks -destination mock_ecloudflexservice.go -imports=github.com/ans-group/sdk-go/pkg/service/ecloudflex github.com/ans-group/sdk-go/pkg/service/ecloudflex ECloudFlexService +//go:generate mockgen -package mocks -destination mock_loadbalancerservice.go -imports=github.com/ans-group/sdk-go/pkg/service/loadbalancer github.com/ans-group/sdk-go/pkg/service/loadbalancer LoadBalancerService +//go:generate mockgen -package mocks -destination mock_cloudflare.go -imports=github.com/ans-group/sdk-go/pkg/service/cloudflare github.com/ans-group/sdk-go/pkg/service/cloudflare CloudflareService +//go:generate mockgen -package mocks -destination mock_pssservice.go -imports=github.com/ans-group/sdk-go/pkg/service/pss github.com/ans-group/sdk-go/pkg/service/pss PSSService +//go:generate mockgen -package mocks -destination mock_registrarservice.go -imports=github.com/ans-group/sdk-go/pkg/service/registrar github.com/ans-group/sdk-go/pkg/service/registrar RegistrarService +//go:generate mockgen -package mocks -destination mock_resourcelocatorprovider.go github.com/ans-group/cli/internal/pkg/resource ResourceLocatorProvider +//go:generate mockgen -package mocks -destination mock_safednsservice.go -imports=github.com/ans-group/sdk-go/pkg/service/safedns github.com/ans-group/sdk-go/pkg/service/safedns SafeDNSService +//go:generate mockgen -package mocks -destination mock_sharedexchangeservice.go -imports=github.com/ans-group/sdk-go/pkg/service/sharedexchange github.com/ans-group/sdk-go/pkg/service/sharedexchange SharedExchangeService +//go:generate mockgen -package mocks -destination mock_sslservice.go -imports=github.com/ans-group/sdk-go/pkg/service/ssl github.com/ans-group/sdk-go/pkg/service/ssl SSLService +//go:generate mockgen -package mocks -destination mock_storageservice.go -imports=github.com/ans-group/sdk-go/pkg/service/storage github.com/ans-group/sdk-go/pkg/service/storage StorageService diff --git a/test/mocks/mock_accountservice.go b/test/mocks/mock_accountservice.go index 20c5ebc1..460b6fb9 100644 --- a/test/mocks/mock_accountservice.go +++ b/test/mocks/mock_accountservice.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/ukfast/sdk-go/pkg/service/account (interfaces: AccountService) +// Source: github.com/ans-group/sdk-go/pkg/service/account (interfaces: AccountService) // Package mocks is a generated GoMock package. package mocks @@ -8,8 +8,8 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - connection "github.com/ukfast/sdk-go/pkg/connection" - account "github.com/ukfast/sdk-go/pkg/service/account" + connection "github.com/ans-group/sdk-go/pkg/connection" + account "github.com/ans-group/sdk-go/pkg/service/account" ) // MockAccountService is a mock of AccountService interface. diff --git a/test/mocks/mock_billingservice.go b/test/mocks/mock_billingservice.go index 0631a268..e4dbb25b 100644 --- a/test/mocks/mock_billingservice.go +++ b/test/mocks/mock_billingservice.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/ukfast/sdk-go/pkg/service/billing (interfaces: BillingService) +// Source: github.com/ans-group/sdk-go/pkg/service/billing (interfaces: BillingService) // Package mocks is a generated GoMock package. package mocks @@ -8,8 +8,8 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - connection "github.com/ukfast/sdk-go/pkg/connection" - billing "github.com/ukfast/sdk-go/pkg/service/billing" + connection "github.com/ans-group/sdk-go/pkg/connection" + billing "github.com/ans-group/sdk-go/pkg/service/billing" ) // MockBillingService is a mock of BillingService interface. diff --git a/test/mocks/mock_cloudflare.go b/test/mocks/mock_cloudflare.go index 9d32ff14..50ac0fbc 100644 --- a/test/mocks/mock_cloudflare.go +++ b/test/mocks/mock_cloudflare.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/ukfast/sdk-go/pkg/service/cloudflare (interfaces: CloudflareService) +// Source: github.com/ans-group/sdk-go/pkg/service/cloudflare (interfaces: CloudflareService) // Package mocks is a generated GoMock package. package mocks @@ -8,8 +8,8 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - connection "github.com/ukfast/sdk-go/pkg/connection" - cloudflare "github.com/ukfast/sdk-go/pkg/service/cloudflare" + connection "github.com/ans-group/sdk-go/pkg/connection" + cloudflare "github.com/ans-group/sdk-go/pkg/service/cloudflare" ) // MockCloudflareService is a mock of CloudflareService interface. diff --git a/test/mocks/mock_ddosxservice.go b/test/mocks/mock_ddosxservice.go index ba2b0b04..262a63c4 100644 --- a/test/mocks/mock_ddosxservice.go +++ b/test/mocks/mock_ddosxservice.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/ukfast/sdk-go/pkg/service/ddosx (interfaces: DDoSXService) +// Source: github.com/ans-group/sdk-go/pkg/service/ddosx (interfaces: DDoSXService) // Package mocks is a generated GoMock package. package mocks @@ -9,8 +9,8 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - connection "github.com/ukfast/sdk-go/pkg/connection" - ddosx "github.com/ukfast/sdk-go/pkg/service/ddosx" + connection "github.com/ans-group/sdk-go/pkg/connection" + ddosx "github.com/ans-group/sdk-go/pkg/service/ddosx" ) // MockDDoSXService is a mock of DDoSXService interface. diff --git a/test/mocks/mock_draasservice.go b/test/mocks/mock_draasservice.go index de8b26ae..68540c3f 100644 --- a/test/mocks/mock_draasservice.go +++ b/test/mocks/mock_draasservice.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/ukfast/sdk-go/pkg/service/draas (interfaces: DRaaSService) +// Source: github.com/ans-group/sdk-go/pkg/service/draas (interfaces: DRaaSService) // Package mocks is a generated GoMock package. package mocks @@ -8,8 +8,8 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - connection "github.com/ukfast/sdk-go/pkg/connection" - draas "github.com/ukfast/sdk-go/pkg/service/draas" + connection "github.com/ans-group/sdk-go/pkg/connection" + draas "github.com/ans-group/sdk-go/pkg/service/draas" ) // MockDRaaSService is a mock of DRaaSService interface. diff --git a/test/mocks/mock_ecloudflexservice.go b/test/mocks/mock_ecloudflexservice.go index 3f7b4cf7..940226c6 100644 --- a/test/mocks/mock_ecloudflexservice.go +++ b/test/mocks/mock_ecloudflexservice.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/ukfast/sdk-go/pkg/service/ecloudflex (interfaces: ECloudFlexService) +// Source: github.com/ans-group/sdk-go/pkg/service/ecloudflex (interfaces: ECloudFlexService) // Package mocks is a generated GoMock package. package mocks @@ -8,8 +8,8 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - connection "github.com/ukfast/sdk-go/pkg/connection" - ecloudflex "github.com/ukfast/sdk-go/pkg/service/ecloudflex" + connection "github.com/ans-group/sdk-go/pkg/connection" + ecloudflex "github.com/ans-group/sdk-go/pkg/service/ecloudflex" ) // MockECloudFlexService is a mock of ECloudFlexService interface. diff --git a/test/mocks/mock_ecloudservice.go b/test/mocks/mock_ecloudservice.go index 65c01000..41888cdb 100644 --- a/test/mocks/mock_ecloudservice.go +++ b/test/mocks/mock_ecloudservice.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/ukfast/sdk-go/pkg/service/ecloud (interfaces: ECloudService) +// Source: github.com/ans-group/sdk-go/pkg/service/ecloud (interfaces: ECloudService) // Package mocks is a generated GoMock package. package mocks @@ -8,9 +8,9 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - connection "github.com/ukfast/sdk-go/pkg/connection" - ecloud "github.com/ukfast/sdk-go/pkg/service/ecloud" - account "github.com/ukfast/sdk-go/pkg/service/account" + connection "github.com/ans-group/sdk-go/pkg/connection" + ecloud "github.com/ans-group/sdk-go/pkg/service/ecloud" + account "github.com/ans-group/sdk-go/pkg/service/account" ) // MockECloudService is a mock of ECloudService interface. diff --git a/test/mocks/mock_loadbalancerservice.go b/test/mocks/mock_loadbalancerservice.go index 4a85a50b..921d2810 100644 --- a/test/mocks/mock_loadbalancerservice.go +++ b/test/mocks/mock_loadbalancerservice.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/ukfast/sdk-go/pkg/service/loadbalancer (interfaces: LoadBalancerService) +// Source: github.com/ans-group/sdk-go/pkg/service/loadbalancer (interfaces: LoadBalancerService) // Package mocks is a generated GoMock package. package mocks @@ -8,8 +8,8 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - connection "github.com/ukfast/sdk-go/pkg/connection" - loadbalancer "github.com/ukfast/sdk-go/pkg/service/loadbalancer" + connection "github.com/ans-group/sdk-go/pkg/connection" + loadbalancer "github.com/ans-group/sdk-go/pkg/service/loadbalancer" ) // MockLoadBalancerService is a mock of LoadBalancerService interface. diff --git a/test/mocks/mock_pssservice.go b/test/mocks/mock_pssservice.go index 7f1ad9bc..447ac442 100644 --- a/test/mocks/mock_pssservice.go +++ b/test/mocks/mock_pssservice.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/ukfast/sdk-go/pkg/service/pss (interfaces: PSSService) +// Source: github.com/ans-group/sdk-go/pkg/service/pss (interfaces: PSSService) // Package mocks is a generated GoMock package. package mocks @@ -9,8 +9,8 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - connection "github.com/ukfast/sdk-go/pkg/connection" - pss "github.com/ukfast/sdk-go/pkg/service/pss" + connection "github.com/ans-group/sdk-go/pkg/connection" + pss "github.com/ans-group/sdk-go/pkg/service/pss" ) // MockPSSService is a mock of PSSService interface. diff --git a/test/mocks/mock_registrarservice.go b/test/mocks/mock_registrarservice.go index a558f7f5..ea74d87d 100644 --- a/test/mocks/mock_registrarservice.go +++ b/test/mocks/mock_registrarservice.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/ukfast/sdk-go/pkg/service/registrar (interfaces: RegistrarService) +// Source: github.com/ans-group/sdk-go/pkg/service/registrar (interfaces: RegistrarService) // Package mocks is a generated GoMock package. package mocks @@ -8,8 +8,8 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - connection "github.com/ukfast/sdk-go/pkg/connection" - registrar "github.com/ukfast/sdk-go/pkg/service/registrar" + connection "github.com/ans-group/sdk-go/pkg/connection" + registrar "github.com/ans-group/sdk-go/pkg/service/registrar" ) // MockRegistrarService is a mock of RegistrarService interface. diff --git a/test/mocks/mock_resourcelocatorprovider.go b/test/mocks/mock_resourcelocatorprovider.go index adea2747..2abc525b 100644 --- a/test/mocks/mock_resourcelocatorprovider.go +++ b/test/mocks/mock_resourcelocatorprovider.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/ukfast/cli/internal/pkg/resource (interfaces: ResourceLocatorProvider) +// Source: github.com/ans-group/cli/internal/pkg/resource (interfaces: ResourceLocatorProvider) // Package mocks is a generated GoMock package. package mocks diff --git a/test/mocks/mock_safednsservice.go b/test/mocks/mock_safednsservice.go index b9475262..281867f7 100644 --- a/test/mocks/mock_safednsservice.go +++ b/test/mocks/mock_safednsservice.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/ukfast/sdk-go/pkg/service/safedns (interfaces: SafeDNSService) +// Source: github.com/ans-group/sdk-go/pkg/service/safedns (interfaces: SafeDNSService) // Package mocks is a generated GoMock package. package mocks @@ -8,8 +8,8 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - connection "github.com/ukfast/sdk-go/pkg/connection" - safedns "github.com/ukfast/sdk-go/pkg/service/safedns" + connection "github.com/ans-group/sdk-go/pkg/connection" + safedns "github.com/ans-group/sdk-go/pkg/service/safedns" ) // MockSafeDNSService is a mock of SafeDNSService interface. diff --git a/test/mocks/mock_sharedexchangeservice.go b/test/mocks/mock_sharedexchangeservice.go index 6017f20d..f4b817ac 100644 --- a/test/mocks/mock_sharedexchangeservice.go +++ b/test/mocks/mock_sharedexchangeservice.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/ukfast/sdk-go/pkg/service/sharedexchange (interfaces: SharedExchangeService) +// Source: github.com/ans-group/sdk-go/pkg/service/sharedexchange (interfaces: SharedExchangeService) // Package mocks is a generated GoMock package. package mocks @@ -8,8 +8,8 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - connection "github.com/ukfast/sdk-go/pkg/connection" - sharedexchange "github.com/ukfast/sdk-go/pkg/service/sharedexchange" + connection "github.com/ans-group/sdk-go/pkg/connection" + sharedexchange "github.com/ans-group/sdk-go/pkg/service/sharedexchange" ) // MockSharedExchangeService is a mock of SharedExchangeService interface. diff --git a/test/mocks/mock_sslservice.go b/test/mocks/mock_sslservice.go index ffd679c6..a8ed6075 100644 --- a/test/mocks/mock_sslservice.go +++ b/test/mocks/mock_sslservice.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/ukfast/sdk-go/pkg/service/ssl (interfaces: SSLService) +// Source: github.com/ans-group/sdk-go/pkg/service/ssl (interfaces: SSLService) // Package mocks is a generated GoMock package. package mocks @@ -8,8 +8,8 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - connection "github.com/ukfast/sdk-go/pkg/connection" - ssl "github.com/ukfast/sdk-go/pkg/service/ssl" + connection "github.com/ans-group/sdk-go/pkg/connection" + ssl "github.com/ans-group/sdk-go/pkg/service/ssl" ) // MockSSLService is a mock of SSLService interface. diff --git a/test/mocks/mock_storageservice.go b/test/mocks/mock_storageservice.go index 9657fded..42d94872 100644 --- a/test/mocks/mock_storageservice.go +++ b/test/mocks/mock_storageservice.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/ukfast/sdk-go/pkg/service/storage (interfaces: StorageService) +// Source: github.com/ans-group/sdk-go/pkg/service/storage (interfaces: StorageService) // Package mocks is a generated GoMock package. package mocks @@ -8,8 +8,8 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - connection "github.com/ukfast/sdk-go/pkg/connection" - storage "github.com/ukfast/sdk-go/pkg/service/storage" + connection "github.com/ans-group/sdk-go/pkg/connection" + storage "github.com/ans-group/sdk-go/pkg/service/storage" ) // MockStorageService is a mock of StorageService interface. diff --git a/test/test_output/test_output.go b/test/test_output/test_output.go index a8d27c5e..5ac7e6b9 100644 --- a/test/test_output/test_output.go +++ b/test/test_output/test_output.go @@ -3,8 +3,8 @@ package test_output import ( "testing" - "github.com/ukfast/cli/internal/pkg/output" - "github.com/ukfast/cli/test" + "github.com/ans-group/cli/internal/pkg/output" + "github.com/ans-group/cli/test" "gopkg.in/go-playground/assert.v1" )