From 8ced280ee5e52a87b8cb27410ac0f60ffc879c54 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Fri, 29 Aug 2025 11:22:26 -0700 Subject: [PATCH 01/18] feat(BREV-1640): Make Cloud Implementations Public --- {pkg => internal}/ssh/ssh.go | 0 {pkg => internal}/ssh/ssh_test.go | 0 internal/validation/suite.go | 4 ++-- {pkg/v1 => v1}/V1_DESIGN_NOTES.md | 0 {pkg/v1 => v1}/capabilities.go | 0 {pkg/v1 => v1}/client.go | 0 {pkg/v1 => v1}/errors.go | 0 {internal => v1}/fluidstack/Makefile | 0 {internal/fluidstack/v1 => v1/fluidstack}/README.md | 0 {internal/fluidstack/v1 => v1/fluidstack}/SECURITY.md | 0 {internal/fluidstack/v1 => v1/fluidstack}/capabilities.go | 2 +- {internal/fluidstack/v1 => v1/fluidstack}/client.go | 4 ++-- {internal => v1}/fluidstack/gen/fluidstack/.gitignore | 0 .../fluidstack/gen/fluidstack/.openapi-generator-ignore | 0 .../fluidstack/gen/fluidstack/.openapi-generator/FILES | 0 .../fluidstack/gen/fluidstack/.openapi-generator/VERSION | 0 {internal => v1}/fluidstack/gen/fluidstack/.travis.yml | 0 {internal => v1}/fluidstack/gen/fluidstack/README.md | 0 {internal => v1}/fluidstack/gen/fluidstack/api/openapi.yaml | 0 .../fluidstack/gen/fluidstack/api_capabilities.go | 0 {internal => v1}/fluidstack/gen/fluidstack/api_capacity.go | 0 .../fluidstack/gen/fluidstack/api_filesystems.go | 0 .../fluidstack/gen/fluidstack/api_instance_types.go | 0 {internal => v1}/fluidstack/gen/fluidstack/api_instances.go | 0 .../fluidstack/gen/fluidstack/api_kubernetes.go | 0 {internal => v1}/fluidstack/gen/fluidstack/api_projects.go | 0 {internal => v1}/fluidstack/gen/fluidstack/api_slurm.go | 0 {internal => v1}/fluidstack/gen/fluidstack/client.go | 0 {internal => v1}/fluidstack/gen/fluidstack/configuration.go | 0 .../fluidstack/gen/fluidstack/docs/Accelerator.md | 0 .../fluidstack/gen/fluidstack/docs/CapabilitiesAPI.md | 0 .../fluidstack/gen/fluidstack/docs/Capability.md | 0 .../fluidstack/gen/fluidstack/docs/CapacityAPI.md | 0 {internal => v1}/fluidstack/gen/fluidstack/docs/Error.md | 0 .../fluidstack/gen/fluidstack/docs/Filesystem.md | 0 .../fluidstack/gen/fluidstack/docs/FilesystemsAPI.md | 0 .../gen/fluidstack/docs/FilesystemsPostRequest.md | 0 {internal => v1}/fluidstack/gen/fluidstack/docs/Instance.md | 0 .../fluidstack/gen/fluidstack/docs/InstanceState.md | 0 .../fluidstack/gen/fluidstack/docs/InstanceType.md | 0 .../fluidstack/gen/fluidstack/docs/InstanceTypesAPI.md | 0 .../fluidstack/gen/fluidstack/docs/InstancesAPI.md | 0 .../fluidstack/gen/fluidstack/docs/InstancesPostRequest.md | 0 .../fluidstack/gen/fluidstack/docs/KubernetesAPI.md | 0 .../fluidstack/gen/fluidstack/docs/KubernetesCluster.md | 0 .../gen/fluidstack/docs/KubernetesClustersPostRequest.md | 0 .../fluidstack/gen/fluidstack/docs/KubernetesNode.md | 0 .../gen/fluidstack/docs/KubernetesNodeConditionsInner.md | 0 .../fluidstack/gen/fluidstack/docs/KubernetesNodePool.md | 0 .../gen/fluidstack/docs/KubernetesNodePoolPostRequest.md | 0 .../gen/fluidstack/docs/KubernetesNodeTaintsInner.md | 0 .../gen/fluidstack/docs/ListCapacity200ResponseInner.md | 0 {internal => v1}/fluidstack/gen/fluidstack/docs/Project.md | 0 .../fluidstack/gen/fluidstack/docs/ProjectState.md | 0 .../fluidstack/gen/fluidstack/docs/ProjectsAPI.md | 0 .../fluidstack/gen/fluidstack/docs/ProjectsPostRequest.md | 0 {internal => v1}/fluidstack/gen/fluidstack/docs/SlurmAPI.md | 0 .../fluidstack/gen/fluidstack/docs/SlurmCluster.md | 0 .../gen/fluidstack/docs/SlurmClustersPostRequest.md | 0 .../fluidstack/gen/fluidstack/docs/SlurmLoginNode.md | 0 .../fluidstack/gen/fluidstack/docs/SlurmNode.md | 0 .../fluidstack/gen/fluidstack/docs/SlurmNodePool.md | 0 .../gen/fluidstack/docs/SlurmNodePoolPostRequest.md | 0 {internal => v1}/fluidstack/gen/fluidstack/git_push.sh | 0 .../fluidstack/gen/fluidstack/model_accelerator.go | 0 .../fluidstack/gen/fluidstack/model_capability.go | 0 {internal => v1}/fluidstack/gen/fluidstack/model_error.go | 0 .../fluidstack/gen/fluidstack/model_filesystem.go | 0 .../gen/fluidstack/model_filesystems_post_request.go | 0 .../fluidstack/gen/fluidstack/model_instance.go | 0 .../fluidstack/gen/fluidstack/model_instance_state.go | 0 .../fluidstack/gen/fluidstack/model_instance_type.go | 0 .../gen/fluidstack/model_instances_post_request.go | 0 .../fluidstack/gen/fluidstack/model_kubernetes_cluster.go | 0 .../fluidstack/model_kubernetes_clusters_post_request.go | 0 .../fluidstack/gen/fluidstack/model_kubernetes_node.go | 0 .../fluidstack/model_kubernetes_node_conditions_inner.go | 0 .../fluidstack/gen/fluidstack/model_kubernetes_node_pool.go | 0 .../fluidstack/model_kubernetes_node_pool_post_request.go | 0 .../gen/fluidstack/model_kubernetes_node_taints_inner.go | 0 .../fluidstack/model_list_capacity_200_response_inner.go | 0 {internal => v1}/fluidstack/gen/fluidstack/model_project.go | 0 .../fluidstack/gen/fluidstack/model_project_state.go | 0 .../gen/fluidstack/model_projects_post_request.go | 0 .../fluidstack/gen/fluidstack/model_slurm_cluster.go | 0 .../gen/fluidstack/model_slurm_clusters_post_request.go | 0 .../fluidstack/gen/fluidstack/model_slurm_login_node.go | 0 .../fluidstack/gen/fluidstack/model_slurm_node.go | 0 .../fluidstack/gen/fluidstack/model_slurm_node_pool.go | 0 .../gen/fluidstack/model_slurm_node_pool_post_request.go | 0 {internal => v1}/fluidstack/gen/fluidstack/response.go | 0 .../fluidstack/gen/fluidstack/test/api_capabilities_test.go | 2 +- .../fluidstack/gen/fluidstack/test/api_capacity_test.go | 2 +- .../fluidstack/gen/fluidstack/test/api_filesystems_test.go | 2 +- .../gen/fluidstack/test/api_instance_types_test.go | 2 +- .../fluidstack/gen/fluidstack/test/api_instances_test.go | 2 +- .../fluidstack/gen/fluidstack/test/api_kubernetes_test.go | 2 +- .../fluidstack/gen/fluidstack/test/api_projects_test.go | 2 +- .../fluidstack/gen/fluidstack/test/api_slurm_test.go | 2 +- {internal => v1}/fluidstack/gen/fluidstack/utils.go | 0 {internal/fluidstack/v1 => v1/fluidstack}/instance.go | 4 ++-- {internal/fluidstack/v1 => v1/fluidstack}/instancetype.go | 4 ++-- {pkg/v1 => v1}/image.go | 2 +- {pkg/v1 => v1}/instance.go | 2 +- {pkg/v1 => v1}/instancetype.go | 0 {internal => v1}/lambdalabs/CONTRIBUTE.md | 0 {internal => v1}/lambdalabs/Makefile | 0 {internal/lambdalabs/v1 => v1/lambdalabs}/README.md | 0 {internal => v1}/lambdalabs/SECURITY.md | 0 {internal/lambdalabs/v1 => v1/lambdalabs}/capabilities.go | 2 +- .../lambdalabs/v1 => v1/lambdalabs}/capabilities_test.go | 2 +- {internal/lambdalabs/v1 => v1/lambdalabs}/client.go | 4 ++-- {internal/lambdalabs/v1 => v1/lambdalabs}/client_test.go | 4 ++-- {internal/lambdalabs/v1 => v1/lambdalabs}/common_test.go | 2 +- {internal/lambdalabs/v1 => v1/lambdalabs}/credential.go | 2 +- .../lambdalabs/v1 => v1/lambdalabs}/credential_test.go | 2 +- {internal/lambdalabs/v1 => v1/lambdalabs}/errors.go | 4 ++-- {internal/lambdalabs/v1 => v1/lambdalabs}/errors_test.go | 4 ++-- {internal => v1}/lambdalabs/gen/lambdalabs/.gitignore | 0 .../lambdalabs/gen/lambdalabs/.openapi-generator-ignore | 0 .../lambdalabs/gen/lambdalabs/.openapi-generator/FILES | 0 .../lambdalabs/gen/lambdalabs/.openapi-generator/VERSION | 0 {internal => v1}/lambdalabs/gen/lambdalabs/.travis.yml | 0 {internal => v1}/lambdalabs/gen/lambdalabs/README.md | 0 {internal => v1}/lambdalabs/gen/lambdalabs/api/openapi.yaml | 0 {internal => v1}/lambdalabs/gen/lambdalabs/api_default.go | 0 {internal => v1}/lambdalabs/gen/lambdalabs/client.go | 0 {internal => v1}/lambdalabs/gen/lambdalabs/configuration.go | 0 .../lambdalabs/gen/lambdalabs/docs/AddSSHKey200Response.md | 0 .../lambdalabs/gen/lambdalabs/docs/AddSSHKeyRequest.md | 0 .../lambdalabs/gen/lambdalabs/docs/DefaultAPI.md | 0 .../lambdalabs/gen/lambdalabs/docs/ErrorCode.md | 0 .../lambdalabs/gen/lambdalabs/docs/ErrorResponseBody.md | 0 .../lambdalabs/gen/lambdalabs/docs/FileSystem.md | 0 .../gen/lambdalabs/docs/GetInstance200Response.md | 0 {internal => v1}/lambdalabs/gen/lambdalabs/docs/Instance.md | 0 .../lambdalabs/gen/lambdalabs/docs/InstanceType.md | 0 .../lambdalabs/gen/lambdalabs/docs/InstanceTypeSpecs.md | 0 .../gen/lambdalabs/docs/InstanceTypes200Response.md | 0 .../lambdalabs/docs/InstanceTypes200ResponseDataValue.md | 0 .../gen/lambdalabs/docs/LaunchInstance200Response.md | 0 .../gen/lambdalabs/docs/LaunchInstance200ResponseData.md | 0 .../lambdalabs/gen/lambdalabs/docs/LaunchInstanceRequest.md | 0 .../gen/lambdalabs/docs/ListFileSystems200Response.md | 0 .../gen/lambdalabs/docs/ListInstances200Response.md | 0 .../gen/lambdalabs/docs/ListSSHKeys200Response.md | 0 .../lambdalabs/gen/lambdalabs/docs/ModelError.md | 0 {internal => v1}/lambdalabs/gen/lambdalabs/docs/Region.md | 0 .../gen/lambdalabs/docs/RestartInstance200Response.md | 0 .../gen/lambdalabs/docs/RestartInstance200ResponseData.md | 0 .../gen/lambdalabs/docs/RestartInstanceRequest.md | 0 {internal => v1}/lambdalabs/gen/lambdalabs/docs/SshKey.md | 0 .../gen/lambdalabs/docs/TerminateInstance200Response.md | 0 .../gen/lambdalabs/docs/TerminateInstance200ResponseData.md | 0 .../gen/lambdalabs/docs/TerminateInstanceRequest.md | 0 {internal => v1}/lambdalabs/gen/lambdalabs/docs/User.md | 0 {internal => v1}/lambdalabs/gen/lambdalabs/git_push.sh | 0 .../gen/lambdalabs/model_add_ssh_key_200_response.go | 0 .../lambdalabs/gen/lambdalabs/model_add_ssh_key_request.go | 0 {internal => v1}/lambdalabs/gen/lambdalabs/model_error.go | 0 .../lambdalabs/gen/lambdalabs/model_error_code.go | 0 .../lambdalabs/gen/lambdalabs/model_error_response_body.go | 0 .../lambdalabs/gen/lambdalabs/model_file_system.go | 0 .../gen/lambdalabs/model_get_instance_200_response.go | 0 .../lambdalabs/gen/lambdalabs/model_instance.go | 0 .../lambdalabs/gen/lambdalabs/model_instance_type.go | 0 .../lambdalabs/gen/lambdalabs/model_instance_type_specs.go | 0 .../gen/lambdalabs/model_instance_types_200_response.go | 0 .../model_instance_types_200_response_data_value.go | 0 .../gen/lambdalabs/model_launch_instance_200_response.go | 0 .../lambdalabs/model_launch_instance_200_response_data.go | 0 .../gen/lambdalabs/model_launch_instance_request.go | 0 .../gen/lambdalabs/model_list_file_systems_200_response.go | 0 .../gen/lambdalabs/model_list_instances_200_response.go | 0 .../gen/lambdalabs/model_list_ssh_keys_200_response.go | 0 {internal => v1}/lambdalabs/gen/lambdalabs/model_region.go | 0 .../gen/lambdalabs/model_restart_instance_200_response.go | 0 .../lambdalabs/model_restart_instance_200_response_data.go | 0 .../gen/lambdalabs/model_restart_instance_request.go | 0 {internal => v1}/lambdalabs/gen/lambdalabs/model_ssh_key.go | 0 .../gen/lambdalabs/model_terminate_instance_200_response.go | 0 .../model_terminate_instance_200_response_data.go | 0 .../gen/lambdalabs/model_terminate_instance_request.go | 0 {internal => v1}/lambdalabs/gen/lambdalabs/model_user.go | 0 {internal => v1}/lambdalabs/gen/lambdalabs/response.go | 0 .../lambdalabs/gen/lambdalabs/test/api_default_test.go | 0 {internal => v1}/lambdalabs/gen/lambdalabs/utils.go | 0 {internal/lambdalabs/v1 => v1/lambdalabs}/helpers_test.go | 2 +- {internal/lambdalabs/v1 => v1/lambdalabs}/instance.go | 4 ++-- {internal/lambdalabs/v1 => v1/lambdalabs}/instance_test.go | 4 ++-- {internal/lambdalabs/v1 => v1/lambdalabs}/instancetype.go | 4 ++-- .../lambdalabs/v1 => v1/lambdalabs}/instancetype_test.go | 4 ++-- {internal/lambdalabs/v1 => v1/lambdalabs}/location.go | 2 +- {internal/lambdalabs/v1 => v1/lambdalabs}/location_test.go | 0 .../lambdalabs/v1 => v1/lambdalabs}/validation_test.go | 2 +- {pkg/v1 => v1}/location.go | 0 {internal => v1}/nebius/CONTRIBUTE.md | 0 {internal/nebius/v1 => v1/nebius}/README.md | 0 {internal => v1}/nebius/SECURITY.md | 0 {internal/nebius/v1 => v1/nebius}/capabilities.go | 2 +- {internal/nebius/v1 => v1/nebius}/client.go | 2 +- {internal/nebius/v1 => v1/nebius}/image.go | 2 +- {internal/nebius/v1 => v1/nebius}/instance.go | 2 +- {internal/nebius/v1 => v1/nebius}/instancetype.go | 2 +- {internal/nebius/v1 => v1/nebius}/location.go | 2 +- {internal/nebius/v1 => v1/nebius}/networking.go | 2 +- {internal/nebius/v1 => v1/nebius}/quota.go | 2 +- {internal/nebius/v1 => v1/nebius}/storage.go | 2 +- {internal/nebius/v1 => v1/nebius}/tags.go | 2 +- {pkg/v1 => v1}/networking.go | 0 {pkg/v1 => v1}/notimplemented.go | 0 {pkg/v1 => v1}/quota.go | 0 {internal => v1}/shadeform/Makefile | 0 {internal/shadeform/v1 => v1/shadeform}/capabilities.go | 2 +- {internal/shadeform/v1 => v1/shadeform}/client.go | 4 ++-- {internal/shadeform/v1 => v1/shadeform}/configuration.go | 2 +- {internal => v1}/shadeform/gen/shadeform/.gitignore | 0 .../shadeform/gen/shadeform/.openapi-generator-ignore | 0 .../shadeform/gen/shadeform/.openapi-generator/FILES | 0 .../shadeform/gen/shadeform/.openapi-generator/VERSION | 0 {internal => v1}/shadeform/gen/shadeform/.travis.yml | 0 {internal => v1}/shadeform/gen/shadeform/README.md | 0 {internal => v1}/shadeform/gen/shadeform/api/openapi.yaml | 0 {internal => v1}/shadeform/gen/shadeform/api_default.go | 0 {internal => v1}/shadeform/gen/shadeform/client.go | 0 {internal => v1}/shadeform/gen/shadeform/configuration.go | 0 .../shadeform/gen/shadeform/docs/AddSshKeyRequest.md | 0 .../shadeform/gen/shadeform/docs/AddSshKeyResponse.md | 0 {internal => v1}/shadeform/gen/shadeform/docs/Alert.md | 0 {internal => v1}/shadeform/gen/shadeform/docs/AutoDelete.md | 0 .../shadeform/gen/shadeform/docs/Availability.md | 0 {internal => v1}/shadeform/gen/shadeform/docs/BootTime.md | 0 {internal => v1}/shadeform/gen/shadeform/docs/Cloud.md | 0 .../shadeform/gen/shadeform/docs/CreateRequest.md | 0 .../shadeform/gen/shadeform/docs/CreateResponse.md | 0 .../shadeform/gen/shadeform/docs/CreateVolumeRequest.md | 0 .../shadeform/gen/shadeform/docs/CreateVolumeResponse.md | 0 {internal => v1}/shadeform/gen/shadeform/docs/DefaultAPI.md | 0 .../shadeform/gen/shadeform/docs/DockerConfiguration.md | 0 {internal => v1}/shadeform/gen/shadeform/docs/Env.md | 0 .../shadeform/gen/shadeform/docs/FeaturedTemplate.md | 0 .../gen/shadeform/docs/FeaturedTemplatesResponse.md | 0 {internal => v1}/shadeform/gen/shadeform/docs/Instance.md | 0 .../shadeform/gen/shadeform/docs/InstanceConfiguration.md | 0 .../shadeform/gen/shadeform/docs/InstanceInfoResponse.md | 0 .../shadeform/gen/shadeform/docs/InstancePortMappings.md | 0 .../shadeform/gen/shadeform/docs/InstanceType.md | 0 .../gen/shadeform/docs/InstanceTypeConfiguration.md | 0 .../shadeform/gen/shadeform/docs/InstanceTypesResponse.md | 0 .../shadeform/gen/shadeform/docs/InstancesResponse.md | 0 .../shadeform/gen/shadeform/docs/LaunchConfiguration.md | 0 {internal => v1}/shadeform/gen/shadeform/docs/Networking.md | 0 .../shadeform/gen/shadeform/docs/PortMappings.md | 0 .../shadeform/gen/shadeform/docs/RegistryCredentials.md | 0 .../shadeform/gen/shadeform/docs/ScriptConfiguration.md | 0 {internal => v1}/shadeform/gen/shadeform/docs/SshKey.md | 0 .../shadeform/gen/shadeform/docs/SshKeysResponse.md | 0 {internal => v1}/shadeform/gen/shadeform/docs/Status.md | 0 {internal => v1}/shadeform/gen/shadeform/docs/Template.md | 0 .../shadeform/gen/shadeform/docs/TemplateCreateResponse.md | 0 .../shadeform/gen/shadeform/docs/TemplateSaveRequest.md | 0 .../shadeform/gen/shadeform/docs/TemplatesResponse.md | 0 {internal => v1}/shadeform/gen/shadeform/docs/UfwRule.md | 0 .../shadeform/gen/shadeform/docs/UpdateRequest.md | 0 {internal => v1}/shadeform/gen/shadeform/docs/Volume.md | 0 .../shadeform/gen/shadeform/docs/VolumeMount.md | 0 .../shadeform/gen/shadeform/docs/VolumeMounts.md | 0 .../shadeform/gen/shadeform/docs/VolumeTypesInner.md | 0 .../shadeform/gen/shadeform/docs/VolumesResponse.md | 0 .../shadeform/gen/shadeform/docs/VolumesTypesResponse.md | 0 {internal => v1}/shadeform/gen/shadeform/git_push.sh | 0 .../shadeform/gen/shadeform/model_add_ssh_key_request.go | 0 .../shadeform/gen/shadeform/model_add_ssh_key_response.go | 0 {internal => v1}/shadeform/gen/shadeform/model_alert.go | 0 .../shadeform/gen/shadeform/model_auto_delete.go | 0 .../shadeform/gen/shadeform/model_availability.go | 0 {internal => v1}/shadeform/gen/shadeform/model_boot_time.go | 0 {internal => v1}/shadeform/gen/shadeform/model_cloud.go | 0 .../shadeform/gen/shadeform/model_create_request.go | 0 .../shadeform/gen/shadeform/model_create_response.go | 0 .../shadeform/gen/shadeform/model_create_volume_request.go | 0 .../shadeform/gen/shadeform/model_create_volume_response.go | 0 .../shadeform/gen/shadeform/model_docker_configuration.go | 0 {internal => v1}/shadeform/gen/shadeform/model_env.go | 0 .../shadeform/gen/shadeform/model_featured_template.go | 0 .../gen/shadeform/model_featured_templates_response.go | 0 {internal => v1}/shadeform/gen/shadeform/model_instance.go | 0 .../shadeform/gen/shadeform/model_instance_configuration.go | 0 .../shadeform/gen/shadeform/model_instance_info_response.go | 0 .../shadeform/gen/shadeform/model_instance_port_mappings.go | 0 .../shadeform/gen/shadeform/model_instance_type.go | 0 .../gen/shadeform/model_instance_type_configuration.go | 0 .../gen/shadeform/model_instance_types_response.go | 0 .../shadeform/gen/shadeform/model_instances_response.go | 0 .../shadeform/gen/shadeform/model_launch_configuration.go | 0 .../shadeform/gen/shadeform/model_networking.go | 0 .../shadeform/gen/shadeform/model_port_mappings.go | 0 .../shadeform/gen/shadeform/model_registry_credentials.go | 0 .../shadeform/gen/shadeform/model_script_configuration.go | 0 {internal => v1}/shadeform/gen/shadeform/model_ssh_key.go | 0 .../shadeform/gen/shadeform/model_ssh_keys_response.go | 0 {internal => v1}/shadeform/gen/shadeform/model_status.go | 0 {internal => v1}/shadeform/gen/shadeform/model_template.go | 0 .../gen/shadeform/model_template_create_response.go | 0 .../shadeform/gen/shadeform/model_template_save_request.go | 0 .../shadeform/gen/shadeform/model_templates_response.go | 0 {internal => v1}/shadeform/gen/shadeform/model_ufw_rule.go | 0 .../shadeform/gen/shadeform/model_update_request.go | 0 {internal => v1}/shadeform/gen/shadeform/model_volume.go | 0 .../shadeform/gen/shadeform/model_volume_mount.go | 0 .../shadeform/gen/shadeform/model_volume_mounts.go | 0 .../shadeform/gen/shadeform/model_volume_types_inner.go | 0 .../shadeform/gen/shadeform/model_volumes_response.go | 0 .../shadeform/gen/shadeform/model_volumes_types_response.go | 0 {internal => v1}/shadeform/gen/shadeform/response.go | 0 .../shadeform/gen/shadeform/test/api_default_test.go | 2 +- {internal => v1}/shadeform/gen/shadeform/utils.go | 0 {internal/shadeform/v1 => v1/shadeform}/instance.go | 4 ++-- {internal/shadeform/v1 => v1/shadeform}/instancetype.go | 5 ++--- {internal/shadeform/v1 => v1/shadeform}/ufw.go | 2 +- {internal/shadeform/v1 => v1/shadeform}/validation_test.go | 6 +++--- {pkg/v1 => v1}/storage.go | 0 {pkg/v1 => v1}/utils.go | 0 {pkg/v1 => v1}/waiters.go | 0 {pkg/v1 => v1}/waiters_test.go | 0 325 files changed, 66 insertions(+), 67 deletions(-) rename {pkg => internal}/ssh/ssh.go (100%) rename {pkg => internal}/ssh/ssh_test.go (100%) rename {pkg/v1 => v1}/V1_DESIGN_NOTES.md (100%) rename {pkg/v1 => v1}/capabilities.go (100%) rename {pkg/v1 => v1}/client.go (100%) rename {pkg/v1 => v1}/errors.go (100%) rename {internal => v1}/fluidstack/Makefile (100%) rename {internal/fluidstack/v1 => v1/fluidstack}/README.md (100%) rename {internal/fluidstack/v1 => v1/fluidstack}/SECURITY.md (100%) rename {internal/fluidstack/v1 => v1/fluidstack}/capabilities.go (90%) rename {internal/fluidstack/v1 => v1/fluidstack}/client.go (96%) rename {internal => v1}/fluidstack/gen/fluidstack/.gitignore (100%) rename {internal => v1}/fluidstack/gen/fluidstack/.openapi-generator-ignore (100%) rename {internal => v1}/fluidstack/gen/fluidstack/.openapi-generator/FILES (100%) rename {internal => v1}/fluidstack/gen/fluidstack/.openapi-generator/VERSION (100%) rename {internal => v1}/fluidstack/gen/fluidstack/.travis.yml (100%) rename {internal => v1}/fluidstack/gen/fluidstack/README.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/api/openapi.yaml (100%) rename {internal => v1}/fluidstack/gen/fluidstack/api_capabilities.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/api_capacity.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/api_filesystems.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/api_instance_types.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/api_instances.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/api_kubernetes.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/api_projects.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/api_slurm.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/client.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/configuration.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/Accelerator.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/CapabilitiesAPI.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/Capability.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/CapacityAPI.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/Error.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/Filesystem.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/FilesystemsAPI.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/FilesystemsPostRequest.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/Instance.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/InstanceState.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/InstanceType.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/InstanceTypesAPI.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/InstancesAPI.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/InstancesPostRequest.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/KubernetesAPI.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/KubernetesCluster.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/KubernetesClustersPostRequest.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/KubernetesNode.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/KubernetesNodeConditionsInner.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/KubernetesNodePool.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/KubernetesNodePoolPostRequest.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/KubernetesNodeTaintsInner.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/ListCapacity200ResponseInner.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/Project.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/ProjectState.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/ProjectsAPI.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/ProjectsPostRequest.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/SlurmAPI.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/SlurmCluster.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/SlurmClustersPostRequest.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/SlurmLoginNode.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/SlurmNode.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/SlurmNodePool.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/docs/SlurmNodePoolPostRequest.md (100%) rename {internal => v1}/fluidstack/gen/fluidstack/git_push.sh (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_accelerator.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_capability.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_error.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_filesystem.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_filesystems_post_request.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_instance.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_instance_state.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_instance_type.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_instances_post_request.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_kubernetes_cluster.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_kubernetes_clusters_post_request.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_kubernetes_node.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_kubernetes_node_conditions_inner.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_kubernetes_node_pool.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_kubernetes_node_pool_post_request.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_kubernetes_node_taints_inner.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_list_capacity_200_response_inner.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_project.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_project_state.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_projects_post_request.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_slurm_cluster.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_slurm_clusters_post_request.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_slurm_login_node.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_slurm_node.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_slurm_node_pool.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/model_slurm_node_pool_post_request.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/response.go (100%) rename {internal => v1}/fluidstack/gen/fluidstack/test/api_capabilities_test.go (90%) rename {internal => v1}/fluidstack/gen/fluidstack/test/api_capacity_test.go (90%) rename {internal => v1}/fluidstack/gen/fluidstack/test/api_filesystems_test.go (95%) rename {internal => v1}/fluidstack/gen/fluidstack/test/api_instance_types_test.go (90%) rename {internal => v1}/fluidstack/gen/fluidstack/test/api_instances_test.go (96%) rename {internal => v1}/fluidstack/gen/fluidstack/test/api_kubernetes_test.go (97%) rename {internal => v1}/fluidstack/gen/fluidstack/test/api_projects_test.go (95%) rename {internal => v1}/fluidstack/gen/fluidstack/test/api_slurm_test.go (97%) rename {internal => v1}/fluidstack/gen/fluidstack/utils.go (100%) rename {internal/fluidstack/v1 => v1/fluidstack}/instance.go (97%) rename {internal/fluidstack/v1 => v1/fluidstack}/instancetype.go (96%) rename {pkg/v1 => v1}/image.go (99%) rename {pkg/v1 => v1}/instance.go (99%) rename {pkg/v1 => v1}/instancetype.go (100%) rename {internal => v1}/lambdalabs/CONTRIBUTE.md (100%) rename {internal => v1}/lambdalabs/Makefile (100%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/README.md (100%) rename {internal => v1}/lambdalabs/SECURITY.md (100%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/capabilities.go (97%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/capabilities_test.go (96%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/client.go (97%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/client_test.go (96%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/common_test.go (95%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/credential.go (97%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/credential_test.go (97%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/errors.go (92%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/errors_test.go (98%) rename {internal => v1}/lambdalabs/gen/lambdalabs/.gitignore (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/.openapi-generator-ignore (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/.openapi-generator/FILES (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/.openapi-generator/VERSION (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/.travis.yml (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/README.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/api/openapi.yaml (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/api_default.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/client.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/configuration.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/AddSSHKey200Response.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/AddSSHKeyRequest.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/DefaultAPI.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/ErrorCode.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/ErrorResponseBody.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/FileSystem.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/GetInstance200Response.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/Instance.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/InstanceType.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/InstanceTypeSpecs.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/InstanceTypes200Response.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/InstanceTypes200ResponseDataValue.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/LaunchInstance200Response.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/LaunchInstance200ResponseData.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/LaunchInstanceRequest.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/ListFileSystems200Response.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/ListInstances200Response.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/ListSSHKeys200Response.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/ModelError.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/Region.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/RestartInstance200Response.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/RestartInstance200ResponseData.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/RestartInstanceRequest.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/SshKey.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/TerminateInstance200Response.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/TerminateInstance200ResponseData.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/TerminateInstanceRequest.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/docs/User.md (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/git_push.sh (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_add_ssh_key_200_response.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_add_ssh_key_request.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_error.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_error_code.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_error_response_body.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_file_system.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_get_instance_200_response.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_instance.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_instance_type.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_instance_type_specs.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_instance_types_200_response.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_instance_types_200_response_data_value.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_launch_instance_200_response.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_launch_instance_200_response_data.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_launch_instance_request.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_list_file_systems_200_response.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_list_instances_200_response.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_list_ssh_keys_200_response.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_region.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_restart_instance_200_response.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_restart_instance_200_response_data.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_restart_instance_request.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_ssh_key.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response_data.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_terminate_instance_request.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/model_user.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/response.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/test/api_default_test.go (100%) rename {internal => v1}/lambdalabs/gen/lambdalabs/utils.go (100%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/helpers_test.go (98%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/instance.go (98%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/instance_test.go (98%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/instancetype.go (98%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/instancetype_test.go (98%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/location.go (98%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/location_test.go (100%) rename {internal/lambdalabs/v1 => v1/lambdalabs}/validation_test.go (96%) rename {pkg/v1 => v1}/location.go (100%) rename {internal => v1}/nebius/CONTRIBUTE.md (100%) rename {internal/nebius/v1 => v1/nebius}/README.md (100%) rename {internal => v1}/nebius/SECURITY.md (100%) rename {internal/nebius/v1 => v1/nebius}/capabilities.go (97%) rename {internal/nebius/v1 => v1/nebius}/client.go (98%) rename {internal/nebius/v1 => v1/nebius}/image.go (81%) rename {internal/nebius/v1 => v1/nebius}/instance.go (97%) rename {internal/nebius/v1 => v1/nebius}/instancetype.go (92%) rename {internal/nebius/v1 => v1/nebius}/location.go (82%) rename {internal/nebius/v1 => v1/nebius}/networking.go (89%) rename {internal/nebius/v1 => v1/nebius}/quota.go (83%) rename {internal/nebius/v1 => v1/nebius}/storage.go (81%) rename {internal/nebius/v1 => v1/nebius}/tags.go (81%) rename {pkg/v1 => v1}/networking.go (100%) rename {pkg/v1 => v1}/notimplemented.go (100%) rename {pkg/v1 => v1}/quota.go (100%) rename {internal => v1}/shadeform/Makefile (100%) rename {internal/shadeform/v1 => v1/shadeform}/capabilities.go (89%) rename {internal/shadeform/v1 => v1/shadeform}/client.go (96%) rename {internal/shadeform/v1 => v1/shadeform}/configuration.go (84%) rename {internal => v1}/shadeform/gen/shadeform/.gitignore (100%) rename {internal => v1}/shadeform/gen/shadeform/.openapi-generator-ignore (100%) rename {internal => v1}/shadeform/gen/shadeform/.openapi-generator/FILES (100%) rename {internal => v1}/shadeform/gen/shadeform/.openapi-generator/VERSION (100%) rename {internal => v1}/shadeform/gen/shadeform/.travis.yml (100%) rename {internal => v1}/shadeform/gen/shadeform/README.md (100%) rename {internal => v1}/shadeform/gen/shadeform/api/openapi.yaml (100%) rename {internal => v1}/shadeform/gen/shadeform/api_default.go (100%) rename {internal => v1}/shadeform/gen/shadeform/client.go (100%) rename {internal => v1}/shadeform/gen/shadeform/configuration.go (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/AddSshKeyRequest.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/AddSshKeyResponse.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/Alert.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/AutoDelete.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/Availability.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/BootTime.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/Cloud.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/CreateRequest.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/CreateResponse.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/CreateVolumeRequest.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/CreateVolumeResponse.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/DefaultAPI.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/DockerConfiguration.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/Env.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/FeaturedTemplate.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/FeaturedTemplatesResponse.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/Instance.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/InstanceConfiguration.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/InstanceInfoResponse.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/InstancePortMappings.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/InstanceType.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/InstanceTypeConfiguration.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/InstanceTypesResponse.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/InstancesResponse.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/LaunchConfiguration.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/Networking.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/PortMappings.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/RegistryCredentials.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/ScriptConfiguration.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/SshKey.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/SshKeysResponse.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/Status.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/Template.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/TemplateCreateResponse.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/TemplateSaveRequest.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/TemplatesResponse.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/UfwRule.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/UpdateRequest.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/Volume.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/VolumeMount.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/VolumeMounts.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/VolumeTypesInner.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/VolumesResponse.md (100%) rename {internal => v1}/shadeform/gen/shadeform/docs/VolumesTypesResponse.md (100%) rename {internal => v1}/shadeform/gen/shadeform/git_push.sh (100%) rename {internal => v1}/shadeform/gen/shadeform/model_add_ssh_key_request.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_add_ssh_key_response.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_alert.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_auto_delete.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_availability.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_boot_time.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_cloud.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_create_request.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_create_response.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_create_volume_request.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_create_volume_response.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_docker_configuration.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_env.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_featured_template.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_featured_templates_response.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_instance.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_instance_configuration.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_instance_info_response.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_instance_port_mappings.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_instance_type.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_instance_type_configuration.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_instance_types_response.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_instances_response.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_launch_configuration.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_networking.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_port_mappings.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_registry_credentials.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_script_configuration.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_ssh_key.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_ssh_keys_response.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_status.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_template.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_template_create_response.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_template_save_request.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_templates_response.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_ufw_rule.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_update_request.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_volume.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_volume_mount.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_volume_mounts.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_volume_types_inner.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_volumes_response.go (100%) rename {internal => v1}/shadeform/gen/shadeform/model_volumes_types_response.go (100%) rename {internal => v1}/shadeform/gen/shadeform/response.go (100%) rename {internal => v1}/shadeform/gen/shadeform/test/api_default_test.go (98%) rename {internal => v1}/shadeform/gen/shadeform/utils.go (100%) rename {internal/shadeform/v1 => v1/shadeform}/instance.go (99%) rename {internal/shadeform/v1 => v1/shadeform}/instancetype.go (98%) rename {internal/shadeform/v1 => v1/shadeform}/ufw.go (98%) rename {internal/shadeform/v1 => v1/shadeform}/validation_test.go (96%) rename {pkg/v1 => v1}/storage.go (100%) rename {pkg/v1 => v1}/utils.go (100%) rename {pkg/v1 => v1}/waiters.go (100%) rename {pkg/v1 => v1}/waiters_test.go (100%) diff --git a/pkg/ssh/ssh.go b/internal/ssh/ssh.go similarity index 100% rename from pkg/ssh/ssh.go rename to internal/ssh/ssh.go diff --git a/pkg/ssh/ssh_test.go b/internal/ssh/ssh_test.go similarity index 100% rename from pkg/ssh/ssh_test.go rename to internal/ssh/ssh_test.go diff --git a/internal/validation/suite.go b/internal/validation/suite.go index ee9b9dae..877919a6 100644 --- a/internal/validation/suite.go +++ b/internal/validation/suite.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/brevdev/cloud/pkg/ssh" - v1 "github.com/brevdev/cloud/pkg/v1" + "github.com/brevdev/cloud/internal/ssh" + "github.com/brevdev/cloud/v1" "github.com/stretchr/testify/require" ) diff --git a/pkg/v1/V1_DESIGN_NOTES.md b/v1/V1_DESIGN_NOTES.md similarity index 100% rename from pkg/v1/V1_DESIGN_NOTES.md rename to v1/V1_DESIGN_NOTES.md diff --git a/pkg/v1/capabilities.go b/v1/capabilities.go similarity index 100% rename from pkg/v1/capabilities.go rename to v1/capabilities.go diff --git a/pkg/v1/client.go b/v1/client.go similarity index 100% rename from pkg/v1/client.go rename to v1/client.go diff --git a/pkg/v1/errors.go b/v1/errors.go similarity index 100% rename from pkg/v1/errors.go rename to v1/errors.go diff --git a/internal/fluidstack/Makefile b/v1/fluidstack/Makefile similarity index 100% rename from internal/fluidstack/Makefile rename to v1/fluidstack/Makefile diff --git a/internal/fluidstack/v1/README.md b/v1/fluidstack/README.md similarity index 100% rename from internal/fluidstack/v1/README.md rename to v1/fluidstack/README.md diff --git a/internal/fluidstack/v1/SECURITY.md b/v1/fluidstack/SECURITY.md similarity index 100% rename from internal/fluidstack/v1/SECURITY.md rename to v1/fluidstack/SECURITY.md diff --git a/internal/fluidstack/v1/capabilities.go b/v1/fluidstack/capabilities.go similarity index 90% rename from internal/fluidstack/v1/capabilities.go rename to v1/fluidstack/capabilities.go index 38c193e2..9fd6a5f0 100644 --- a/internal/fluidstack/v1/capabilities.go +++ b/v1/fluidstack/capabilities.go @@ -3,7 +3,7 @@ package v1 import ( "context" - "github.com/brevdev/cloud/pkg/v1" + "github.com/brevdev/cloud/v1" ) func (c *FluidStackClient) GetCapabilities(_ context.Context) (v1.Capabilities, error) { diff --git a/internal/fluidstack/v1/client.go b/v1/fluidstack/client.go similarity index 96% rename from internal/fluidstack/v1/client.go rename to v1/fluidstack/client.go index 9b343745..3f297916 100644 --- a/internal/fluidstack/v1/client.go +++ b/v1/fluidstack/client.go @@ -6,8 +6,8 @@ import ( "fmt" "net/http" - openapi "github.com/brevdev/cloud/internal/fluidstack/gen/fluidstack" - "github.com/brevdev/cloud/pkg/v1" + "github.com/brevdev/cloud/v1" + openapi "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" ) const CloudProviderID = "fluidstack" diff --git a/internal/fluidstack/gen/fluidstack/.gitignore b/v1/fluidstack/gen/fluidstack/.gitignore similarity index 100% rename from internal/fluidstack/gen/fluidstack/.gitignore rename to v1/fluidstack/gen/fluidstack/.gitignore diff --git a/internal/fluidstack/gen/fluidstack/.openapi-generator-ignore b/v1/fluidstack/gen/fluidstack/.openapi-generator-ignore similarity index 100% rename from internal/fluidstack/gen/fluidstack/.openapi-generator-ignore rename to v1/fluidstack/gen/fluidstack/.openapi-generator-ignore diff --git a/internal/fluidstack/gen/fluidstack/.openapi-generator/FILES b/v1/fluidstack/gen/fluidstack/.openapi-generator/FILES similarity index 100% rename from internal/fluidstack/gen/fluidstack/.openapi-generator/FILES rename to v1/fluidstack/gen/fluidstack/.openapi-generator/FILES diff --git a/internal/fluidstack/gen/fluidstack/.openapi-generator/VERSION b/v1/fluidstack/gen/fluidstack/.openapi-generator/VERSION similarity index 100% rename from internal/fluidstack/gen/fluidstack/.openapi-generator/VERSION rename to v1/fluidstack/gen/fluidstack/.openapi-generator/VERSION diff --git a/internal/fluidstack/gen/fluidstack/.travis.yml b/v1/fluidstack/gen/fluidstack/.travis.yml similarity index 100% rename from internal/fluidstack/gen/fluidstack/.travis.yml rename to v1/fluidstack/gen/fluidstack/.travis.yml diff --git a/internal/fluidstack/gen/fluidstack/README.md b/v1/fluidstack/gen/fluidstack/README.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/README.md rename to v1/fluidstack/gen/fluidstack/README.md diff --git a/internal/fluidstack/gen/fluidstack/api/openapi.yaml b/v1/fluidstack/gen/fluidstack/api/openapi.yaml similarity index 100% rename from internal/fluidstack/gen/fluidstack/api/openapi.yaml rename to v1/fluidstack/gen/fluidstack/api/openapi.yaml diff --git a/internal/fluidstack/gen/fluidstack/api_capabilities.go b/v1/fluidstack/gen/fluidstack/api_capabilities.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/api_capabilities.go rename to v1/fluidstack/gen/fluidstack/api_capabilities.go diff --git a/internal/fluidstack/gen/fluidstack/api_capacity.go b/v1/fluidstack/gen/fluidstack/api_capacity.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/api_capacity.go rename to v1/fluidstack/gen/fluidstack/api_capacity.go diff --git a/internal/fluidstack/gen/fluidstack/api_filesystems.go b/v1/fluidstack/gen/fluidstack/api_filesystems.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/api_filesystems.go rename to v1/fluidstack/gen/fluidstack/api_filesystems.go diff --git a/internal/fluidstack/gen/fluidstack/api_instance_types.go b/v1/fluidstack/gen/fluidstack/api_instance_types.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/api_instance_types.go rename to v1/fluidstack/gen/fluidstack/api_instance_types.go diff --git a/internal/fluidstack/gen/fluidstack/api_instances.go b/v1/fluidstack/gen/fluidstack/api_instances.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/api_instances.go rename to v1/fluidstack/gen/fluidstack/api_instances.go diff --git a/internal/fluidstack/gen/fluidstack/api_kubernetes.go b/v1/fluidstack/gen/fluidstack/api_kubernetes.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/api_kubernetes.go rename to v1/fluidstack/gen/fluidstack/api_kubernetes.go diff --git a/internal/fluidstack/gen/fluidstack/api_projects.go b/v1/fluidstack/gen/fluidstack/api_projects.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/api_projects.go rename to v1/fluidstack/gen/fluidstack/api_projects.go diff --git a/internal/fluidstack/gen/fluidstack/api_slurm.go b/v1/fluidstack/gen/fluidstack/api_slurm.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/api_slurm.go rename to v1/fluidstack/gen/fluidstack/api_slurm.go diff --git a/internal/fluidstack/gen/fluidstack/client.go b/v1/fluidstack/gen/fluidstack/client.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/client.go rename to v1/fluidstack/gen/fluidstack/client.go diff --git a/internal/fluidstack/gen/fluidstack/configuration.go b/v1/fluidstack/gen/fluidstack/configuration.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/configuration.go rename to v1/fluidstack/gen/fluidstack/configuration.go diff --git a/internal/fluidstack/gen/fluidstack/docs/Accelerator.md b/v1/fluidstack/gen/fluidstack/docs/Accelerator.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/Accelerator.md rename to v1/fluidstack/gen/fluidstack/docs/Accelerator.md diff --git a/internal/fluidstack/gen/fluidstack/docs/CapabilitiesAPI.md b/v1/fluidstack/gen/fluidstack/docs/CapabilitiesAPI.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/CapabilitiesAPI.md rename to v1/fluidstack/gen/fluidstack/docs/CapabilitiesAPI.md diff --git a/internal/fluidstack/gen/fluidstack/docs/Capability.md b/v1/fluidstack/gen/fluidstack/docs/Capability.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/Capability.md rename to v1/fluidstack/gen/fluidstack/docs/Capability.md diff --git a/internal/fluidstack/gen/fluidstack/docs/CapacityAPI.md b/v1/fluidstack/gen/fluidstack/docs/CapacityAPI.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/CapacityAPI.md rename to v1/fluidstack/gen/fluidstack/docs/CapacityAPI.md diff --git a/internal/fluidstack/gen/fluidstack/docs/Error.md b/v1/fluidstack/gen/fluidstack/docs/Error.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/Error.md rename to v1/fluidstack/gen/fluidstack/docs/Error.md diff --git a/internal/fluidstack/gen/fluidstack/docs/Filesystem.md b/v1/fluidstack/gen/fluidstack/docs/Filesystem.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/Filesystem.md rename to v1/fluidstack/gen/fluidstack/docs/Filesystem.md diff --git a/internal/fluidstack/gen/fluidstack/docs/FilesystemsAPI.md b/v1/fluidstack/gen/fluidstack/docs/FilesystemsAPI.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/FilesystemsAPI.md rename to v1/fluidstack/gen/fluidstack/docs/FilesystemsAPI.md diff --git a/internal/fluidstack/gen/fluidstack/docs/FilesystemsPostRequest.md b/v1/fluidstack/gen/fluidstack/docs/FilesystemsPostRequest.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/FilesystemsPostRequest.md rename to v1/fluidstack/gen/fluidstack/docs/FilesystemsPostRequest.md diff --git a/internal/fluidstack/gen/fluidstack/docs/Instance.md b/v1/fluidstack/gen/fluidstack/docs/Instance.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/Instance.md rename to v1/fluidstack/gen/fluidstack/docs/Instance.md diff --git a/internal/fluidstack/gen/fluidstack/docs/InstanceState.md b/v1/fluidstack/gen/fluidstack/docs/InstanceState.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/InstanceState.md rename to v1/fluidstack/gen/fluidstack/docs/InstanceState.md diff --git a/internal/fluidstack/gen/fluidstack/docs/InstanceType.md b/v1/fluidstack/gen/fluidstack/docs/InstanceType.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/InstanceType.md rename to v1/fluidstack/gen/fluidstack/docs/InstanceType.md diff --git a/internal/fluidstack/gen/fluidstack/docs/InstanceTypesAPI.md b/v1/fluidstack/gen/fluidstack/docs/InstanceTypesAPI.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/InstanceTypesAPI.md rename to v1/fluidstack/gen/fluidstack/docs/InstanceTypesAPI.md diff --git a/internal/fluidstack/gen/fluidstack/docs/InstancesAPI.md b/v1/fluidstack/gen/fluidstack/docs/InstancesAPI.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/InstancesAPI.md rename to v1/fluidstack/gen/fluidstack/docs/InstancesAPI.md diff --git a/internal/fluidstack/gen/fluidstack/docs/InstancesPostRequest.md b/v1/fluidstack/gen/fluidstack/docs/InstancesPostRequest.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/InstancesPostRequest.md rename to v1/fluidstack/gen/fluidstack/docs/InstancesPostRequest.md diff --git a/internal/fluidstack/gen/fluidstack/docs/KubernetesAPI.md b/v1/fluidstack/gen/fluidstack/docs/KubernetesAPI.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/KubernetesAPI.md rename to v1/fluidstack/gen/fluidstack/docs/KubernetesAPI.md diff --git a/internal/fluidstack/gen/fluidstack/docs/KubernetesCluster.md b/v1/fluidstack/gen/fluidstack/docs/KubernetesCluster.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/KubernetesCluster.md rename to v1/fluidstack/gen/fluidstack/docs/KubernetesCluster.md diff --git a/internal/fluidstack/gen/fluidstack/docs/KubernetesClustersPostRequest.md b/v1/fluidstack/gen/fluidstack/docs/KubernetesClustersPostRequest.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/KubernetesClustersPostRequest.md rename to v1/fluidstack/gen/fluidstack/docs/KubernetesClustersPostRequest.md diff --git a/internal/fluidstack/gen/fluidstack/docs/KubernetesNode.md b/v1/fluidstack/gen/fluidstack/docs/KubernetesNode.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/KubernetesNode.md rename to v1/fluidstack/gen/fluidstack/docs/KubernetesNode.md diff --git a/internal/fluidstack/gen/fluidstack/docs/KubernetesNodeConditionsInner.md b/v1/fluidstack/gen/fluidstack/docs/KubernetesNodeConditionsInner.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/KubernetesNodeConditionsInner.md rename to v1/fluidstack/gen/fluidstack/docs/KubernetesNodeConditionsInner.md diff --git a/internal/fluidstack/gen/fluidstack/docs/KubernetesNodePool.md b/v1/fluidstack/gen/fluidstack/docs/KubernetesNodePool.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/KubernetesNodePool.md rename to v1/fluidstack/gen/fluidstack/docs/KubernetesNodePool.md diff --git a/internal/fluidstack/gen/fluidstack/docs/KubernetesNodePoolPostRequest.md b/v1/fluidstack/gen/fluidstack/docs/KubernetesNodePoolPostRequest.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/KubernetesNodePoolPostRequest.md rename to v1/fluidstack/gen/fluidstack/docs/KubernetesNodePoolPostRequest.md diff --git a/internal/fluidstack/gen/fluidstack/docs/KubernetesNodeTaintsInner.md b/v1/fluidstack/gen/fluidstack/docs/KubernetesNodeTaintsInner.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/KubernetesNodeTaintsInner.md rename to v1/fluidstack/gen/fluidstack/docs/KubernetesNodeTaintsInner.md diff --git a/internal/fluidstack/gen/fluidstack/docs/ListCapacity200ResponseInner.md b/v1/fluidstack/gen/fluidstack/docs/ListCapacity200ResponseInner.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/ListCapacity200ResponseInner.md rename to v1/fluidstack/gen/fluidstack/docs/ListCapacity200ResponseInner.md diff --git a/internal/fluidstack/gen/fluidstack/docs/Project.md b/v1/fluidstack/gen/fluidstack/docs/Project.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/Project.md rename to v1/fluidstack/gen/fluidstack/docs/Project.md diff --git a/internal/fluidstack/gen/fluidstack/docs/ProjectState.md b/v1/fluidstack/gen/fluidstack/docs/ProjectState.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/ProjectState.md rename to v1/fluidstack/gen/fluidstack/docs/ProjectState.md diff --git a/internal/fluidstack/gen/fluidstack/docs/ProjectsAPI.md b/v1/fluidstack/gen/fluidstack/docs/ProjectsAPI.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/ProjectsAPI.md rename to v1/fluidstack/gen/fluidstack/docs/ProjectsAPI.md diff --git a/internal/fluidstack/gen/fluidstack/docs/ProjectsPostRequest.md b/v1/fluidstack/gen/fluidstack/docs/ProjectsPostRequest.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/ProjectsPostRequest.md rename to v1/fluidstack/gen/fluidstack/docs/ProjectsPostRequest.md diff --git a/internal/fluidstack/gen/fluidstack/docs/SlurmAPI.md b/v1/fluidstack/gen/fluidstack/docs/SlurmAPI.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/SlurmAPI.md rename to v1/fluidstack/gen/fluidstack/docs/SlurmAPI.md diff --git a/internal/fluidstack/gen/fluidstack/docs/SlurmCluster.md b/v1/fluidstack/gen/fluidstack/docs/SlurmCluster.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/SlurmCluster.md rename to v1/fluidstack/gen/fluidstack/docs/SlurmCluster.md diff --git a/internal/fluidstack/gen/fluidstack/docs/SlurmClustersPostRequest.md b/v1/fluidstack/gen/fluidstack/docs/SlurmClustersPostRequest.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/SlurmClustersPostRequest.md rename to v1/fluidstack/gen/fluidstack/docs/SlurmClustersPostRequest.md diff --git a/internal/fluidstack/gen/fluidstack/docs/SlurmLoginNode.md b/v1/fluidstack/gen/fluidstack/docs/SlurmLoginNode.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/SlurmLoginNode.md rename to v1/fluidstack/gen/fluidstack/docs/SlurmLoginNode.md diff --git a/internal/fluidstack/gen/fluidstack/docs/SlurmNode.md b/v1/fluidstack/gen/fluidstack/docs/SlurmNode.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/SlurmNode.md rename to v1/fluidstack/gen/fluidstack/docs/SlurmNode.md diff --git a/internal/fluidstack/gen/fluidstack/docs/SlurmNodePool.md b/v1/fluidstack/gen/fluidstack/docs/SlurmNodePool.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/SlurmNodePool.md rename to v1/fluidstack/gen/fluidstack/docs/SlurmNodePool.md diff --git a/internal/fluidstack/gen/fluidstack/docs/SlurmNodePoolPostRequest.md b/v1/fluidstack/gen/fluidstack/docs/SlurmNodePoolPostRequest.md similarity index 100% rename from internal/fluidstack/gen/fluidstack/docs/SlurmNodePoolPostRequest.md rename to v1/fluidstack/gen/fluidstack/docs/SlurmNodePoolPostRequest.md diff --git a/internal/fluidstack/gen/fluidstack/git_push.sh b/v1/fluidstack/gen/fluidstack/git_push.sh similarity index 100% rename from internal/fluidstack/gen/fluidstack/git_push.sh rename to v1/fluidstack/gen/fluidstack/git_push.sh diff --git a/internal/fluidstack/gen/fluidstack/model_accelerator.go b/v1/fluidstack/gen/fluidstack/model_accelerator.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_accelerator.go rename to v1/fluidstack/gen/fluidstack/model_accelerator.go diff --git a/internal/fluidstack/gen/fluidstack/model_capability.go b/v1/fluidstack/gen/fluidstack/model_capability.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_capability.go rename to v1/fluidstack/gen/fluidstack/model_capability.go diff --git a/internal/fluidstack/gen/fluidstack/model_error.go b/v1/fluidstack/gen/fluidstack/model_error.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_error.go rename to v1/fluidstack/gen/fluidstack/model_error.go diff --git a/internal/fluidstack/gen/fluidstack/model_filesystem.go b/v1/fluidstack/gen/fluidstack/model_filesystem.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_filesystem.go rename to v1/fluidstack/gen/fluidstack/model_filesystem.go diff --git a/internal/fluidstack/gen/fluidstack/model_filesystems_post_request.go b/v1/fluidstack/gen/fluidstack/model_filesystems_post_request.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_filesystems_post_request.go rename to v1/fluidstack/gen/fluidstack/model_filesystems_post_request.go diff --git a/internal/fluidstack/gen/fluidstack/model_instance.go b/v1/fluidstack/gen/fluidstack/model_instance.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_instance.go rename to v1/fluidstack/gen/fluidstack/model_instance.go diff --git a/internal/fluidstack/gen/fluidstack/model_instance_state.go b/v1/fluidstack/gen/fluidstack/model_instance_state.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_instance_state.go rename to v1/fluidstack/gen/fluidstack/model_instance_state.go diff --git a/internal/fluidstack/gen/fluidstack/model_instance_type.go b/v1/fluidstack/gen/fluidstack/model_instance_type.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_instance_type.go rename to v1/fluidstack/gen/fluidstack/model_instance_type.go diff --git a/internal/fluidstack/gen/fluidstack/model_instances_post_request.go b/v1/fluidstack/gen/fluidstack/model_instances_post_request.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_instances_post_request.go rename to v1/fluidstack/gen/fluidstack/model_instances_post_request.go diff --git a/internal/fluidstack/gen/fluidstack/model_kubernetes_cluster.go b/v1/fluidstack/gen/fluidstack/model_kubernetes_cluster.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_kubernetes_cluster.go rename to v1/fluidstack/gen/fluidstack/model_kubernetes_cluster.go diff --git a/internal/fluidstack/gen/fluidstack/model_kubernetes_clusters_post_request.go b/v1/fluidstack/gen/fluidstack/model_kubernetes_clusters_post_request.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_kubernetes_clusters_post_request.go rename to v1/fluidstack/gen/fluidstack/model_kubernetes_clusters_post_request.go diff --git a/internal/fluidstack/gen/fluidstack/model_kubernetes_node.go b/v1/fluidstack/gen/fluidstack/model_kubernetes_node.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_kubernetes_node.go rename to v1/fluidstack/gen/fluidstack/model_kubernetes_node.go diff --git a/internal/fluidstack/gen/fluidstack/model_kubernetes_node_conditions_inner.go b/v1/fluidstack/gen/fluidstack/model_kubernetes_node_conditions_inner.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_kubernetes_node_conditions_inner.go rename to v1/fluidstack/gen/fluidstack/model_kubernetes_node_conditions_inner.go diff --git a/internal/fluidstack/gen/fluidstack/model_kubernetes_node_pool.go b/v1/fluidstack/gen/fluidstack/model_kubernetes_node_pool.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_kubernetes_node_pool.go rename to v1/fluidstack/gen/fluidstack/model_kubernetes_node_pool.go diff --git a/internal/fluidstack/gen/fluidstack/model_kubernetes_node_pool_post_request.go b/v1/fluidstack/gen/fluidstack/model_kubernetes_node_pool_post_request.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_kubernetes_node_pool_post_request.go rename to v1/fluidstack/gen/fluidstack/model_kubernetes_node_pool_post_request.go diff --git a/internal/fluidstack/gen/fluidstack/model_kubernetes_node_taints_inner.go b/v1/fluidstack/gen/fluidstack/model_kubernetes_node_taints_inner.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_kubernetes_node_taints_inner.go rename to v1/fluidstack/gen/fluidstack/model_kubernetes_node_taints_inner.go diff --git a/internal/fluidstack/gen/fluidstack/model_list_capacity_200_response_inner.go b/v1/fluidstack/gen/fluidstack/model_list_capacity_200_response_inner.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_list_capacity_200_response_inner.go rename to v1/fluidstack/gen/fluidstack/model_list_capacity_200_response_inner.go diff --git a/internal/fluidstack/gen/fluidstack/model_project.go b/v1/fluidstack/gen/fluidstack/model_project.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_project.go rename to v1/fluidstack/gen/fluidstack/model_project.go diff --git a/internal/fluidstack/gen/fluidstack/model_project_state.go b/v1/fluidstack/gen/fluidstack/model_project_state.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_project_state.go rename to v1/fluidstack/gen/fluidstack/model_project_state.go diff --git a/internal/fluidstack/gen/fluidstack/model_projects_post_request.go b/v1/fluidstack/gen/fluidstack/model_projects_post_request.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_projects_post_request.go rename to v1/fluidstack/gen/fluidstack/model_projects_post_request.go diff --git a/internal/fluidstack/gen/fluidstack/model_slurm_cluster.go b/v1/fluidstack/gen/fluidstack/model_slurm_cluster.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_slurm_cluster.go rename to v1/fluidstack/gen/fluidstack/model_slurm_cluster.go diff --git a/internal/fluidstack/gen/fluidstack/model_slurm_clusters_post_request.go b/v1/fluidstack/gen/fluidstack/model_slurm_clusters_post_request.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_slurm_clusters_post_request.go rename to v1/fluidstack/gen/fluidstack/model_slurm_clusters_post_request.go diff --git a/internal/fluidstack/gen/fluidstack/model_slurm_login_node.go b/v1/fluidstack/gen/fluidstack/model_slurm_login_node.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_slurm_login_node.go rename to v1/fluidstack/gen/fluidstack/model_slurm_login_node.go diff --git a/internal/fluidstack/gen/fluidstack/model_slurm_node.go b/v1/fluidstack/gen/fluidstack/model_slurm_node.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_slurm_node.go rename to v1/fluidstack/gen/fluidstack/model_slurm_node.go diff --git a/internal/fluidstack/gen/fluidstack/model_slurm_node_pool.go b/v1/fluidstack/gen/fluidstack/model_slurm_node_pool.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_slurm_node_pool.go rename to v1/fluidstack/gen/fluidstack/model_slurm_node_pool.go diff --git a/internal/fluidstack/gen/fluidstack/model_slurm_node_pool_post_request.go b/v1/fluidstack/gen/fluidstack/model_slurm_node_pool_post_request.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/model_slurm_node_pool_post_request.go rename to v1/fluidstack/gen/fluidstack/model_slurm_node_pool_post_request.go diff --git a/internal/fluidstack/gen/fluidstack/response.go b/v1/fluidstack/gen/fluidstack/response.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/response.go rename to v1/fluidstack/gen/fluidstack/response.go diff --git a/internal/fluidstack/gen/fluidstack/test/api_capabilities_test.go b/v1/fluidstack/gen/fluidstack/test/api_capabilities_test.go similarity index 90% rename from internal/fluidstack/gen/fluidstack/test/api_capabilities_test.go rename to v1/fluidstack/gen/fluidstack/test/api_capabilities_test.go index 2cdf48bb..e2d849fb 100644 --- a/internal/fluidstack/gen/fluidstack/test/api_capabilities_test.go +++ b/v1/fluidstack/gen/fluidstack/test/api_capabilities_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/internal/fluidstack/gen/fluidstack" + openapiclient "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/internal/fluidstack/gen/fluidstack/test/api_capacity_test.go b/v1/fluidstack/gen/fluidstack/test/api_capacity_test.go similarity index 90% rename from internal/fluidstack/gen/fluidstack/test/api_capacity_test.go rename to v1/fluidstack/gen/fluidstack/test/api_capacity_test.go index 619d438d..cfaa19e1 100644 --- a/internal/fluidstack/gen/fluidstack/test/api_capacity_test.go +++ b/v1/fluidstack/gen/fluidstack/test/api_capacity_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/internal/fluidstack/gen/fluidstack" + openapiclient "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/internal/fluidstack/gen/fluidstack/test/api_filesystems_test.go b/v1/fluidstack/gen/fluidstack/test/api_filesystems_test.go similarity index 95% rename from internal/fluidstack/gen/fluidstack/test/api_filesystems_test.go rename to v1/fluidstack/gen/fluidstack/test/api_filesystems_test.go index 16241f4b..3c8df1ae 100644 --- a/internal/fluidstack/gen/fluidstack/test/api_filesystems_test.go +++ b/v1/fluidstack/gen/fluidstack/test/api_filesystems_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/internal/fluidstack/gen/fluidstack" + openapiclient "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/internal/fluidstack/gen/fluidstack/test/api_instance_types_test.go b/v1/fluidstack/gen/fluidstack/test/api_instance_types_test.go similarity index 90% rename from internal/fluidstack/gen/fluidstack/test/api_instance_types_test.go rename to v1/fluidstack/gen/fluidstack/test/api_instance_types_test.go index 2f085993..396b0be4 100644 --- a/internal/fluidstack/gen/fluidstack/test/api_instance_types_test.go +++ b/v1/fluidstack/gen/fluidstack/test/api_instance_types_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/internal/fluidstack/gen/fluidstack" + openapiclient "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/internal/fluidstack/gen/fluidstack/test/api_instances_test.go b/v1/fluidstack/gen/fluidstack/test/api_instances_test.go similarity index 96% rename from internal/fluidstack/gen/fluidstack/test/api_instances_test.go rename to v1/fluidstack/gen/fluidstack/test/api_instances_test.go index c906c16d..f8e30e2e 100644 --- a/internal/fluidstack/gen/fluidstack/test/api_instances_test.go +++ b/v1/fluidstack/gen/fluidstack/test/api_instances_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/internal/fluidstack/gen/fluidstack" + openapiclient "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/internal/fluidstack/gen/fluidstack/test/api_kubernetes_test.go b/v1/fluidstack/gen/fluidstack/test/api_kubernetes_test.go similarity index 97% rename from internal/fluidstack/gen/fluidstack/test/api_kubernetes_test.go rename to v1/fluidstack/gen/fluidstack/test/api_kubernetes_test.go index 51be8baf..b075ee02 100644 --- a/internal/fluidstack/gen/fluidstack/test/api_kubernetes_test.go +++ b/v1/fluidstack/gen/fluidstack/test/api_kubernetes_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/internal/fluidstack/gen/fluidstack" + openapiclient "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/internal/fluidstack/gen/fluidstack/test/api_projects_test.go b/v1/fluidstack/gen/fluidstack/test/api_projects_test.go similarity index 95% rename from internal/fluidstack/gen/fluidstack/test/api_projects_test.go rename to v1/fluidstack/gen/fluidstack/test/api_projects_test.go index 020ed0ca..9da73ead 100644 --- a/internal/fluidstack/gen/fluidstack/test/api_projects_test.go +++ b/v1/fluidstack/gen/fluidstack/test/api_projects_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/internal/fluidstack/gen/fluidstack" + openapiclient "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/internal/fluidstack/gen/fluidstack/test/api_slurm_test.go b/v1/fluidstack/gen/fluidstack/test/api_slurm_test.go similarity index 97% rename from internal/fluidstack/gen/fluidstack/test/api_slurm_test.go rename to v1/fluidstack/gen/fluidstack/test/api_slurm_test.go index 71b5a020..88988f0a 100644 --- a/internal/fluidstack/gen/fluidstack/test/api_slurm_test.go +++ b/v1/fluidstack/gen/fluidstack/test/api_slurm_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/internal/fluidstack/gen/fluidstack" + openapiclient "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/internal/fluidstack/gen/fluidstack/utils.go b/v1/fluidstack/gen/fluidstack/utils.go similarity index 100% rename from internal/fluidstack/gen/fluidstack/utils.go rename to v1/fluidstack/gen/fluidstack/utils.go diff --git a/internal/fluidstack/v1/instance.go b/v1/fluidstack/instance.go similarity index 97% rename from internal/fluidstack/v1/instance.go rename to v1/fluidstack/instance.go index cc3c69d7..2b99e5fc 100644 --- a/internal/fluidstack/v1/instance.go +++ b/v1/fluidstack/instance.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - openapi "github.com/brevdev/cloud/internal/fluidstack/gen/fluidstack" - "github.com/brevdev/cloud/pkg/v1" + "github.com/brevdev/cloud/v1" + openapi "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" ) func (c *FluidStackClient) CreateInstance(ctx context.Context, attrs v1.CreateInstanceAttrs) (*v1.Instance, error) { diff --git a/internal/fluidstack/v1/instancetype.go b/v1/fluidstack/instancetype.go similarity index 96% rename from internal/fluidstack/v1/instancetype.go rename to v1/fluidstack/instancetype.go index eb2a90f6..65182cf8 100644 --- a/internal/fluidstack/v1/instancetype.go +++ b/v1/fluidstack/instancetype.go @@ -9,8 +9,8 @@ import ( "github.com/alecthomas/units" "github.com/bojanz/currency" - openapi "github.com/brevdev/cloud/internal/fluidstack/gen/fluidstack" - "github.com/brevdev/cloud/pkg/v1" + "github.com/brevdev/cloud/v1" + openapi "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" ) func (c *FluidStackClient) GetInstanceTypes(ctx context.Context, _ v1.GetInstanceTypeArgs) ([]v1.InstanceType, error) { diff --git a/pkg/v1/image.go b/v1/image.go similarity index 99% rename from pkg/v1/image.go rename to v1/image.go index 4298ac71..d781e852 100644 --- a/pkg/v1/image.go +++ b/v1/image.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "github.com/brevdev/cloud/pkg/ssh" + "github.com/brevdev/cloud/internal/ssh" ) type CloudMachineImage interface { diff --git a/pkg/v1/instance.go b/v1/instance.go similarity index 99% rename from pkg/v1/instance.go rename to v1/instance.go index becf1961..bf769cfa 100644 --- a/pkg/v1/instance.go +++ b/v1/instance.go @@ -8,7 +8,7 @@ import ( "github.com/alecthomas/units" "github.com/brevdev/cloud/internal/collections" - "github.com/brevdev/cloud/pkg/ssh" + "github.com/brevdev/cloud/internal/ssh" "github.com/google/uuid" ) diff --git a/pkg/v1/instancetype.go b/v1/instancetype.go similarity index 100% rename from pkg/v1/instancetype.go rename to v1/instancetype.go diff --git a/internal/lambdalabs/CONTRIBUTE.md b/v1/lambdalabs/CONTRIBUTE.md similarity index 100% rename from internal/lambdalabs/CONTRIBUTE.md rename to v1/lambdalabs/CONTRIBUTE.md diff --git a/internal/lambdalabs/Makefile b/v1/lambdalabs/Makefile similarity index 100% rename from internal/lambdalabs/Makefile rename to v1/lambdalabs/Makefile diff --git a/internal/lambdalabs/v1/README.md b/v1/lambdalabs/README.md similarity index 100% rename from internal/lambdalabs/v1/README.md rename to v1/lambdalabs/README.md diff --git a/internal/lambdalabs/SECURITY.md b/v1/lambdalabs/SECURITY.md similarity index 100% rename from internal/lambdalabs/SECURITY.md rename to v1/lambdalabs/SECURITY.md diff --git a/internal/lambdalabs/v1/capabilities.go b/v1/lambdalabs/capabilities.go similarity index 97% rename from internal/lambdalabs/v1/capabilities.go rename to v1/lambdalabs/capabilities.go index 99e1105c..253fe13e 100644 --- a/internal/lambdalabs/v1/capabilities.go +++ b/v1/lambdalabs/capabilities.go @@ -3,7 +3,7 @@ package v1 import ( "context" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) // getLambdaLabsCapabilities returns the unified capabilities for Lambda Labs diff --git a/internal/lambdalabs/v1/capabilities_test.go b/v1/lambdalabs/capabilities_test.go similarity index 96% rename from internal/lambdalabs/v1/capabilities_test.go rename to v1/lambdalabs/capabilities_test.go index d76181f5..bbbdf2e7 100644 --- a/internal/lambdalabs/v1/capabilities_test.go +++ b/v1/lambdalabs/capabilities_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) func TestLambdaLabsClient_GetCapabilities(t *testing.T) { diff --git a/internal/lambdalabs/v1/client.go b/v1/lambdalabs/client.go similarity index 97% rename from internal/lambdalabs/v1/client.go rename to v1/lambdalabs/client.go index 7eab9999..e11c62e9 100644 --- a/internal/lambdalabs/v1/client.go +++ b/v1/lambdalabs/client.go @@ -6,8 +6,8 @@ import ( "net/http" "time" - openapi "github.com/brevdev/cloud/internal/lambdalabs/gen/lambdalabs" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" + openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" "github.com/cenkalti/backoff/v4" ) diff --git a/internal/lambdalabs/v1/client_test.go b/v1/lambdalabs/client_test.go similarity index 96% rename from internal/lambdalabs/v1/client_test.go rename to v1/lambdalabs/client_test.go index 0c026bcf..57262fdc 100644 --- a/internal/lambdalabs/v1/client_test.go +++ b/v1/lambdalabs/client_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - openapi "github.com/brevdev/cloud/internal/lambdalabs/gen/lambdalabs" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" + openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" ) func TestLambdaLabsClient_GetAPIType(t *testing.T) { diff --git a/internal/lambdalabs/v1/common_test.go b/v1/lambdalabs/common_test.go similarity index 95% rename from internal/lambdalabs/v1/common_test.go rename to v1/lambdalabs/common_test.go index df34d3fa..ddccb042 100644 --- a/internal/lambdalabs/v1/common_test.go +++ b/v1/lambdalabs/common_test.go @@ -1,7 +1,7 @@ package v1 import ( - openapi "github.com/brevdev/cloud/internal/lambdalabs/gen/lambdalabs" + openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" "github.com/cenkalti/backoff/v4" "github.com/jarcoal/httpmock" ) diff --git a/internal/lambdalabs/v1/credential.go b/v1/lambdalabs/credential.go similarity index 97% rename from internal/lambdalabs/v1/credential.go rename to v1/lambdalabs/credential.go index e0de8bac..87985a54 100644 --- a/internal/lambdalabs/v1/credential.go +++ b/v1/lambdalabs/credential.go @@ -5,7 +5,7 @@ import ( "crypto/sha256" "fmt" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) const CloudProviderID = "lambda-labs" diff --git a/internal/lambdalabs/v1/credential_test.go b/v1/lambdalabs/credential_test.go similarity index 97% rename from internal/lambdalabs/v1/credential_test.go rename to v1/lambdalabs/credential_test.go index 700358de..ab278001 100644 --- a/internal/lambdalabs/v1/credential_test.go +++ b/v1/lambdalabs/credential_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) func TestLambdaLabsCredential_GetReferenceID(t *testing.T) { diff --git a/internal/lambdalabs/v1/errors.go b/v1/lambdalabs/errors.go similarity index 92% rename from internal/lambdalabs/v1/errors.go rename to v1/lambdalabs/errors.go index 10a47a63..6c6356ee 100644 --- a/internal/lambdalabs/v1/errors.go +++ b/v1/lambdalabs/errors.go @@ -7,8 +7,8 @@ import ( "net/http" "strings" - openapi "github.com/brevdev/cloud/internal/lambdalabs/gen/lambdalabs" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" + openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" "github.com/cenkalti/backoff/v4" ) diff --git a/internal/lambdalabs/v1/errors_test.go b/v1/lambdalabs/errors_test.go similarity index 98% rename from internal/lambdalabs/v1/errors_test.go rename to v1/lambdalabs/errors_test.go index d6a1cc72..c2381cec 100644 --- a/internal/lambdalabs/v1/errors_test.go +++ b/v1/lambdalabs/errors_test.go @@ -13,8 +13,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - openapi "github.com/brevdev/cloud/internal/lambdalabs/gen/lambdalabs" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" + openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" ) func TestHandleAPIError_InstanceNotFound(t *testing.T) { diff --git a/internal/lambdalabs/gen/lambdalabs/.gitignore b/v1/lambdalabs/gen/lambdalabs/.gitignore similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/.gitignore rename to v1/lambdalabs/gen/lambdalabs/.gitignore diff --git a/internal/lambdalabs/gen/lambdalabs/.openapi-generator-ignore b/v1/lambdalabs/gen/lambdalabs/.openapi-generator-ignore similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/.openapi-generator-ignore rename to v1/lambdalabs/gen/lambdalabs/.openapi-generator-ignore diff --git a/internal/lambdalabs/gen/lambdalabs/.openapi-generator/FILES b/v1/lambdalabs/gen/lambdalabs/.openapi-generator/FILES similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/.openapi-generator/FILES rename to v1/lambdalabs/gen/lambdalabs/.openapi-generator/FILES diff --git a/internal/lambdalabs/gen/lambdalabs/.openapi-generator/VERSION b/v1/lambdalabs/gen/lambdalabs/.openapi-generator/VERSION similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/.openapi-generator/VERSION rename to v1/lambdalabs/gen/lambdalabs/.openapi-generator/VERSION diff --git a/internal/lambdalabs/gen/lambdalabs/.travis.yml b/v1/lambdalabs/gen/lambdalabs/.travis.yml similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/.travis.yml rename to v1/lambdalabs/gen/lambdalabs/.travis.yml diff --git a/internal/lambdalabs/gen/lambdalabs/README.md b/v1/lambdalabs/gen/lambdalabs/README.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/README.md rename to v1/lambdalabs/gen/lambdalabs/README.md diff --git a/internal/lambdalabs/gen/lambdalabs/api/openapi.yaml b/v1/lambdalabs/gen/lambdalabs/api/openapi.yaml similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/api/openapi.yaml rename to v1/lambdalabs/gen/lambdalabs/api/openapi.yaml diff --git a/internal/lambdalabs/gen/lambdalabs/api_default.go b/v1/lambdalabs/gen/lambdalabs/api_default.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/api_default.go rename to v1/lambdalabs/gen/lambdalabs/api_default.go diff --git a/internal/lambdalabs/gen/lambdalabs/client.go b/v1/lambdalabs/gen/lambdalabs/client.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/client.go rename to v1/lambdalabs/gen/lambdalabs/client.go diff --git a/internal/lambdalabs/gen/lambdalabs/configuration.go b/v1/lambdalabs/gen/lambdalabs/configuration.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/configuration.go rename to v1/lambdalabs/gen/lambdalabs/configuration.go diff --git a/internal/lambdalabs/gen/lambdalabs/docs/AddSSHKey200Response.md b/v1/lambdalabs/gen/lambdalabs/docs/AddSSHKey200Response.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/AddSSHKey200Response.md rename to v1/lambdalabs/gen/lambdalabs/docs/AddSSHKey200Response.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/AddSSHKeyRequest.md b/v1/lambdalabs/gen/lambdalabs/docs/AddSSHKeyRequest.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/AddSSHKeyRequest.md rename to v1/lambdalabs/gen/lambdalabs/docs/AddSSHKeyRequest.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/DefaultAPI.md b/v1/lambdalabs/gen/lambdalabs/docs/DefaultAPI.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/DefaultAPI.md rename to v1/lambdalabs/gen/lambdalabs/docs/DefaultAPI.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/ErrorCode.md b/v1/lambdalabs/gen/lambdalabs/docs/ErrorCode.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/ErrorCode.md rename to v1/lambdalabs/gen/lambdalabs/docs/ErrorCode.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/ErrorResponseBody.md b/v1/lambdalabs/gen/lambdalabs/docs/ErrorResponseBody.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/ErrorResponseBody.md rename to v1/lambdalabs/gen/lambdalabs/docs/ErrorResponseBody.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/FileSystem.md b/v1/lambdalabs/gen/lambdalabs/docs/FileSystem.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/FileSystem.md rename to v1/lambdalabs/gen/lambdalabs/docs/FileSystem.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/GetInstance200Response.md b/v1/lambdalabs/gen/lambdalabs/docs/GetInstance200Response.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/GetInstance200Response.md rename to v1/lambdalabs/gen/lambdalabs/docs/GetInstance200Response.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/Instance.md b/v1/lambdalabs/gen/lambdalabs/docs/Instance.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/Instance.md rename to v1/lambdalabs/gen/lambdalabs/docs/Instance.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/InstanceType.md b/v1/lambdalabs/gen/lambdalabs/docs/InstanceType.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/InstanceType.md rename to v1/lambdalabs/gen/lambdalabs/docs/InstanceType.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/InstanceTypeSpecs.md b/v1/lambdalabs/gen/lambdalabs/docs/InstanceTypeSpecs.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/InstanceTypeSpecs.md rename to v1/lambdalabs/gen/lambdalabs/docs/InstanceTypeSpecs.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/InstanceTypes200Response.md b/v1/lambdalabs/gen/lambdalabs/docs/InstanceTypes200Response.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/InstanceTypes200Response.md rename to v1/lambdalabs/gen/lambdalabs/docs/InstanceTypes200Response.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/InstanceTypes200ResponseDataValue.md b/v1/lambdalabs/gen/lambdalabs/docs/InstanceTypes200ResponseDataValue.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/InstanceTypes200ResponseDataValue.md rename to v1/lambdalabs/gen/lambdalabs/docs/InstanceTypes200ResponseDataValue.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/LaunchInstance200Response.md b/v1/lambdalabs/gen/lambdalabs/docs/LaunchInstance200Response.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/LaunchInstance200Response.md rename to v1/lambdalabs/gen/lambdalabs/docs/LaunchInstance200Response.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/LaunchInstance200ResponseData.md b/v1/lambdalabs/gen/lambdalabs/docs/LaunchInstance200ResponseData.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/LaunchInstance200ResponseData.md rename to v1/lambdalabs/gen/lambdalabs/docs/LaunchInstance200ResponseData.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/LaunchInstanceRequest.md b/v1/lambdalabs/gen/lambdalabs/docs/LaunchInstanceRequest.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/LaunchInstanceRequest.md rename to v1/lambdalabs/gen/lambdalabs/docs/LaunchInstanceRequest.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/ListFileSystems200Response.md b/v1/lambdalabs/gen/lambdalabs/docs/ListFileSystems200Response.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/ListFileSystems200Response.md rename to v1/lambdalabs/gen/lambdalabs/docs/ListFileSystems200Response.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/ListInstances200Response.md b/v1/lambdalabs/gen/lambdalabs/docs/ListInstances200Response.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/ListInstances200Response.md rename to v1/lambdalabs/gen/lambdalabs/docs/ListInstances200Response.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/ListSSHKeys200Response.md b/v1/lambdalabs/gen/lambdalabs/docs/ListSSHKeys200Response.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/ListSSHKeys200Response.md rename to v1/lambdalabs/gen/lambdalabs/docs/ListSSHKeys200Response.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/ModelError.md b/v1/lambdalabs/gen/lambdalabs/docs/ModelError.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/ModelError.md rename to v1/lambdalabs/gen/lambdalabs/docs/ModelError.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/Region.md b/v1/lambdalabs/gen/lambdalabs/docs/Region.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/Region.md rename to v1/lambdalabs/gen/lambdalabs/docs/Region.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/RestartInstance200Response.md b/v1/lambdalabs/gen/lambdalabs/docs/RestartInstance200Response.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/RestartInstance200Response.md rename to v1/lambdalabs/gen/lambdalabs/docs/RestartInstance200Response.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/RestartInstance200ResponseData.md b/v1/lambdalabs/gen/lambdalabs/docs/RestartInstance200ResponseData.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/RestartInstance200ResponseData.md rename to v1/lambdalabs/gen/lambdalabs/docs/RestartInstance200ResponseData.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/RestartInstanceRequest.md b/v1/lambdalabs/gen/lambdalabs/docs/RestartInstanceRequest.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/RestartInstanceRequest.md rename to v1/lambdalabs/gen/lambdalabs/docs/RestartInstanceRequest.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/SshKey.md b/v1/lambdalabs/gen/lambdalabs/docs/SshKey.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/SshKey.md rename to v1/lambdalabs/gen/lambdalabs/docs/SshKey.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/TerminateInstance200Response.md b/v1/lambdalabs/gen/lambdalabs/docs/TerminateInstance200Response.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/TerminateInstance200Response.md rename to v1/lambdalabs/gen/lambdalabs/docs/TerminateInstance200Response.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/TerminateInstance200ResponseData.md b/v1/lambdalabs/gen/lambdalabs/docs/TerminateInstance200ResponseData.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/TerminateInstance200ResponseData.md rename to v1/lambdalabs/gen/lambdalabs/docs/TerminateInstance200ResponseData.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/TerminateInstanceRequest.md b/v1/lambdalabs/gen/lambdalabs/docs/TerminateInstanceRequest.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/TerminateInstanceRequest.md rename to v1/lambdalabs/gen/lambdalabs/docs/TerminateInstanceRequest.md diff --git a/internal/lambdalabs/gen/lambdalabs/docs/User.md b/v1/lambdalabs/gen/lambdalabs/docs/User.md similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/docs/User.md rename to v1/lambdalabs/gen/lambdalabs/docs/User.md diff --git a/internal/lambdalabs/gen/lambdalabs/git_push.sh b/v1/lambdalabs/gen/lambdalabs/git_push.sh similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/git_push.sh rename to v1/lambdalabs/gen/lambdalabs/git_push.sh diff --git a/internal/lambdalabs/gen/lambdalabs/model_add_ssh_key_200_response.go b/v1/lambdalabs/gen/lambdalabs/model_add_ssh_key_200_response.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_add_ssh_key_200_response.go rename to v1/lambdalabs/gen/lambdalabs/model_add_ssh_key_200_response.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_add_ssh_key_request.go b/v1/lambdalabs/gen/lambdalabs/model_add_ssh_key_request.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_add_ssh_key_request.go rename to v1/lambdalabs/gen/lambdalabs/model_add_ssh_key_request.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_error.go b/v1/lambdalabs/gen/lambdalabs/model_error.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_error.go rename to v1/lambdalabs/gen/lambdalabs/model_error.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_error_code.go b/v1/lambdalabs/gen/lambdalabs/model_error_code.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_error_code.go rename to v1/lambdalabs/gen/lambdalabs/model_error_code.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_error_response_body.go b/v1/lambdalabs/gen/lambdalabs/model_error_response_body.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_error_response_body.go rename to v1/lambdalabs/gen/lambdalabs/model_error_response_body.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_file_system.go b/v1/lambdalabs/gen/lambdalabs/model_file_system.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_file_system.go rename to v1/lambdalabs/gen/lambdalabs/model_file_system.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_get_instance_200_response.go b/v1/lambdalabs/gen/lambdalabs/model_get_instance_200_response.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_get_instance_200_response.go rename to v1/lambdalabs/gen/lambdalabs/model_get_instance_200_response.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_instance.go b/v1/lambdalabs/gen/lambdalabs/model_instance.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_instance.go rename to v1/lambdalabs/gen/lambdalabs/model_instance.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_instance_type.go b/v1/lambdalabs/gen/lambdalabs/model_instance_type.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_instance_type.go rename to v1/lambdalabs/gen/lambdalabs/model_instance_type.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_instance_type_specs.go b/v1/lambdalabs/gen/lambdalabs/model_instance_type_specs.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_instance_type_specs.go rename to v1/lambdalabs/gen/lambdalabs/model_instance_type_specs.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_instance_types_200_response.go b/v1/lambdalabs/gen/lambdalabs/model_instance_types_200_response.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_instance_types_200_response.go rename to v1/lambdalabs/gen/lambdalabs/model_instance_types_200_response.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_instance_types_200_response_data_value.go b/v1/lambdalabs/gen/lambdalabs/model_instance_types_200_response_data_value.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_instance_types_200_response_data_value.go rename to v1/lambdalabs/gen/lambdalabs/model_instance_types_200_response_data_value.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_launch_instance_200_response.go b/v1/lambdalabs/gen/lambdalabs/model_launch_instance_200_response.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_launch_instance_200_response.go rename to v1/lambdalabs/gen/lambdalabs/model_launch_instance_200_response.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_launch_instance_200_response_data.go b/v1/lambdalabs/gen/lambdalabs/model_launch_instance_200_response_data.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_launch_instance_200_response_data.go rename to v1/lambdalabs/gen/lambdalabs/model_launch_instance_200_response_data.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_launch_instance_request.go b/v1/lambdalabs/gen/lambdalabs/model_launch_instance_request.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_launch_instance_request.go rename to v1/lambdalabs/gen/lambdalabs/model_launch_instance_request.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_list_file_systems_200_response.go b/v1/lambdalabs/gen/lambdalabs/model_list_file_systems_200_response.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_list_file_systems_200_response.go rename to v1/lambdalabs/gen/lambdalabs/model_list_file_systems_200_response.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_list_instances_200_response.go b/v1/lambdalabs/gen/lambdalabs/model_list_instances_200_response.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_list_instances_200_response.go rename to v1/lambdalabs/gen/lambdalabs/model_list_instances_200_response.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_list_ssh_keys_200_response.go b/v1/lambdalabs/gen/lambdalabs/model_list_ssh_keys_200_response.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_list_ssh_keys_200_response.go rename to v1/lambdalabs/gen/lambdalabs/model_list_ssh_keys_200_response.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_region.go b/v1/lambdalabs/gen/lambdalabs/model_region.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_region.go rename to v1/lambdalabs/gen/lambdalabs/model_region.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_restart_instance_200_response.go b/v1/lambdalabs/gen/lambdalabs/model_restart_instance_200_response.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_restart_instance_200_response.go rename to v1/lambdalabs/gen/lambdalabs/model_restart_instance_200_response.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_restart_instance_200_response_data.go b/v1/lambdalabs/gen/lambdalabs/model_restart_instance_200_response_data.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_restart_instance_200_response_data.go rename to v1/lambdalabs/gen/lambdalabs/model_restart_instance_200_response_data.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_restart_instance_request.go b/v1/lambdalabs/gen/lambdalabs/model_restart_instance_request.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_restart_instance_request.go rename to v1/lambdalabs/gen/lambdalabs/model_restart_instance_request.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_ssh_key.go b/v1/lambdalabs/gen/lambdalabs/model_ssh_key.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_ssh_key.go rename to v1/lambdalabs/gen/lambdalabs/model_ssh_key.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response.go b/v1/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response.go rename to v1/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response_data.go b/v1/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response_data.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response_data.go rename to v1/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response_data.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_terminate_instance_request.go b/v1/lambdalabs/gen/lambdalabs/model_terminate_instance_request.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_terminate_instance_request.go rename to v1/lambdalabs/gen/lambdalabs/model_terminate_instance_request.go diff --git a/internal/lambdalabs/gen/lambdalabs/model_user.go b/v1/lambdalabs/gen/lambdalabs/model_user.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/model_user.go rename to v1/lambdalabs/gen/lambdalabs/model_user.go diff --git a/internal/lambdalabs/gen/lambdalabs/response.go b/v1/lambdalabs/gen/lambdalabs/response.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/response.go rename to v1/lambdalabs/gen/lambdalabs/response.go diff --git a/internal/lambdalabs/gen/lambdalabs/test/api_default_test.go b/v1/lambdalabs/gen/lambdalabs/test/api_default_test.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/test/api_default_test.go rename to v1/lambdalabs/gen/lambdalabs/test/api_default_test.go diff --git a/internal/lambdalabs/gen/lambdalabs/utils.go b/v1/lambdalabs/gen/lambdalabs/utils.go similarity index 100% rename from internal/lambdalabs/gen/lambdalabs/utils.go rename to v1/lambdalabs/gen/lambdalabs/utils.go diff --git a/internal/lambdalabs/v1/helpers_test.go b/v1/lambdalabs/helpers_test.go similarity index 98% rename from internal/lambdalabs/v1/helpers_test.go rename to v1/lambdalabs/helpers_test.go index cb7f01fb..9ec4861a 100644 --- a/internal/lambdalabs/v1/helpers_test.go +++ b/v1/lambdalabs/helpers_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) func TestConvertLambdaLabsInstanceToV1Instance(t *testing.T) { diff --git a/internal/lambdalabs/v1/instance.go b/v1/lambdalabs/instance.go similarity index 98% rename from internal/lambdalabs/v1/instance.go rename to v1/lambdalabs/instance.go index 412841b9..87452b37 100644 --- a/internal/lambdalabs/v1/instance.go +++ b/v1/lambdalabs/instance.go @@ -9,8 +9,8 @@ import ( "github.com/alecthomas/units" "github.com/brevdev/cloud/internal/collections" - openapi "github.com/brevdev/cloud/internal/lambdalabs/gen/lambdalabs" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" + openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" ) const lambdaLabsTimeNameFormat = "2006-01-02-15-04-05Z07-00" diff --git a/internal/lambdalabs/v1/instance_test.go b/v1/lambdalabs/instance_test.go similarity index 98% rename from internal/lambdalabs/v1/instance_test.go rename to v1/lambdalabs/instance_test.go index 87d388ba..faac43e1 100644 --- a/internal/lambdalabs/v1/instance_test.go +++ b/v1/lambdalabs/instance_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/require" "github.com/brevdev/cloud/internal/collections" - openapi "github.com/brevdev/cloud/internal/lambdalabs/gen/lambdalabs" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" + openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" ) func TestLambdaLabsClient_CreateInstance_Success(t *testing.T) { diff --git a/internal/lambdalabs/v1/instancetype.go b/v1/lambdalabs/instancetype.go similarity index 98% rename from internal/lambdalabs/v1/instancetype.go rename to v1/lambdalabs/instancetype.go index 219f5b19..b801d324 100644 --- a/internal/lambdalabs/v1/instancetype.go +++ b/v1/lambdalabs/instancetype.go @@ -11,8 +11,8 @@ import ( "github.com/alecthomas/units" "github.com/bojanz/currency" "github.com/brevdev/cloud/internal/collections" - openapi "github.com/brevdev/cloud/internal/lambdalabs/gen/lambdalabs" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" + openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" ) // GetInstanceTypePollTime returns the polling interval for instance types diff --git a/internal/lambdalabs/v1/instancetype_test.go b/v1/lambdalabs/instancetype_test.go similarity index 98% rename from internal/lambdalabs/v1/instancetype_test.go rename to v1/lambdalabs/instancetype_test.go index 483eb07a..2de486d3 100644 --- a/internal/lambdalabs/v1/instancetype_test.go +++ b/v1/lambdalabs/instancetype_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - openapi "github.com/brevdev/cloud/internal/lambdalabs/gen/lambdalabs" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" + openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" ) func TestLambdaLabsClient_GetInstanceTypes_Success(t *testing.T) { diff --git a/internal/lambdalabs/v1/location.go b/v1/lambdalabs/location.go similarity index 98% rename from internal/lambdalabs/v1/location.go rename to v1/lambdalabs/location.go index 22834074..411f1147 100644 --- a/internal/lambdalabs/v1/location.go +++ b/v1/lambdalabs/location.go @@ -5,7 +5,7 @@ import ( "encoding/json" "fmt" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) const lambdaLocationsData = `[ diff --git a/internal/lambdalabs/v1/location_test.go b/v1/lambdalabs/location_test.go similarity index 100% rename from internal/lambdalabs/v1/location_test.go rename to v1/lambdalabs/location_test.go diff --git a/internal/lambdalabs/v1/validation_test.go b/v1/lambdalabs/validation_test.go similarity index 96% rename from internal/lambdalabs/v1/validation_test.go rename to v1/lambdalabs/validation_test.go index 54b8b5ba..8778becf 100644 --- a/internal/lambdalabs/v1/validation_test.go +++ b/v1/lambdalabs/validation_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/brevdev/cloud/internal/validation" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) func TestValidationFunctions(t *testing.T) { diff --git a/pkg/v1/location.go b/v1/location.go similarity index 100% rename from pkg/v1/location.go rename to v1/location.go diff --git a/internal/nebius/CONTRIBUTE.md b/v1/nebius/CONTRIBUTE.md similarity index 100% rename from internal/nebius/CONTRIBUTE.md rename to v1/nebius/CONTRIBUTE.md diff --git a/internal/nebius/v1/README.md b/v1/nebius/README.md similarity index 100% rename from internal/nebius/v1/README.md rename to v1/nebius/README.md diff --git a/internal/nebius/SECURITY.md b/v1/nebius/SECURITY.md similarity index 100% rename from internal/nebius/SECURITY.md rename to v1/nebius/SECURITY.md diff --git a/internal/nebius/v1/capabilities.go b/v1/nebius/capabilities.go similarity index 97% rename from internal/nebius/v1/capabilities.go rename to v1/nebius/capabilities.go index da76b410..39cee6c1 100644 --- a/internal/nebius/v1/capabilities.go +++ b/v1/nebius/capabilities.go @@ -3,7 +3,7 @@ package v1 import ( "context" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) func getNebiusCapabilities() v1.Capabilities { diff --git a/internal/nebius/v1/client.go b/v1/nebius/client.go similarity index 98% rename from internal/nebius/v1/client.go rename to v1/nebius/client.go index 25d6d203..5301f2af 100644 --- a/internal/nebius/v1/client.go +++ b/v1/nebius/client.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" "github.com/nebius/gosdk" ) diff --git a/internal/nebius/v1/image.go b/v1/nebius/image.go similarity index 81% rename from internal/nebius/v1/image.go rename to v1/nebius/image.go index f3540bf0..cee5f488 100644 --- a/internal/nebius/v1/image.go +++ b/v1/nebius/image.go @@ -3,7 +3,7 @@ package v1 import ( "context" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) func (c *NebiusClient) GetImages(_ context.Context, _ v1.GetImageArgs) ([]v1.Image, error) { diff --git a/internal/nebius/v1/instance.go b/v1/nebius/instance.go similarity index 97% rename from internal/nebius/v1/instance.go rename to v1/nebius/instance.go index 7fc2824a..f86c68ae 100644 --- a/internal/nebius/v1/instance.go +++ b/v1/nebius/instance.go @@ -3,7 +3,7 @@ package v1 import ( "context" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) func (c *NebiusClient) CreateInstance(_ context.Context, _ v1.CreateInstanceAttrs) (*v1.Instance, error) { diff --git a/internal/nebius/v1/instancetype.go b/v1/nebius/instancetype.go similarity index 92% rename from internal/nebius/v1/instancetype.go rename to v1/nebius/instancetype.go index 80b6e83b..20b76ec0 100644 --- a/internal/nebius/v1/instancetype.go +++ b/v1/nebius/instancetype.go @@ -4,7 +4,7 @@ import ( "context" "time" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) func (c *NebiusClient) GetInstanceTypes(_ context.Context, _ v1.GetInstanceTypeArgs) ([]v1.InstanceType, error) { diff --git a/internal/nebius/v1/location.go b/v1/nebius/location.go similarity index 82% rename from internal/nebius/v1/location.go rename to v1/nebius/location.go index 3491e0bb..ddab8df1 100644 --- a/internal/nebius/v1/location.go +++ b/v1/nebius/location.go @@ -3,7 +3,7 @@ package v1 import ( "context" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) func (c *NebiusClient) GetLocations(_ context.Context, _ v1.GetLocationsArgs) ([]v1.Location, error) { diff --git a/internal/nebius/v1/networking.go b/v1/nebius/networking.go similarity index 89% rename from internal/nebius/v1/networking.go rename to v1/nebius/networking.go index d31c39f6..88fe67c9 100644 --- a/internal/nebius/v1/networking.go +++ b/v1/nebius/networking.go @@ -3,7 +3,7 @@ package v1 import ( "context" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) func (c *NebiusClient) AddFirewallRulesToInstance(_ context.Context, _ v1.AddFirewallRulesToInstanceArgs) error { diff --git a/internal/nebius/v1/quota.go b/v1/nebius/quota.go similarity index 83% rename from internal/nebius/v1/quota.go rename to v1/nebius/quota.go index 40601edb..dd3dc81b 100644 --- a/internal/nebius/v1/quota.go +++ b/v1/nebius/quota.go @@ -3,7 +3,7 @@ package v1 import ( "context" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) func (c *NebiusClient) GetInstanceTypeQuotas(_ context.Context, _ v1.GetInstanceTypeQuotasArgs) (v1.Quota, error) { diff --git a/internal/nebius/v1/storage.go b/v1/nebius/storage.go similarity index 81% rename from internal/nebius/v1/storage.go rename to v1/nebius/storage.go index b642e184..61e7374f 100644 --- a/internal/nebius/v1/storage.go +++ b/v1/nebius/storage.go @@ -3,7 +3,7 @@ package v1 import ( "context" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) func (c *NebiusClient) ResizeInstanceVolume(_ context.Context, _ v1.ResizeInstanceVolumeArgs) error { diff --git a/internal/nebius/v1/tags.go b/v1/nebius/tags.go similarity index 81% rename from internal/nebius/v1/tags.go rename to v1/nebius/tags.go index d79bae1d..3fe8a552 100644 --- a/internal/nebius/v1/tags.go +++ b/v1/nebius/tags.go @@ -3,7 +3,7 @@ package v1 import ( "context" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) func (c *NebiusClient) UpdateInstanceTags(_ context.Context, _ v1.UpdateInstanceTagsArgs) error { diff --git a/pkg/v1/networking.go b/v1/networking.go similarity index 100% rename from pkg/v1/networking.go rename to v1/networking.go diff --git a/pkg/v1/notimplemented.go b/v1/notimplemented.go similarity index 100% rename from pkg/v1/notimplemented.go rename to v1/notimplemented.go diff --git a/pkg/v1/quota.go b/v1/quota.go similarity index 100% rename from pkg/v1/quota.go rename to v1/quota.go diff --git a/internal/shadeform/Makefile b/v1/shadeform/Makefile similarity index 100% rename from internal/shadeform/Makefile rename to v1/shadeform/Makefile diff --git a/internal/shadeform/v1/capabilities.go b/v1/shadeform/capabilities.go similarity index 89% rename from internal/shadeform/v1/capabilities.go rename to v1/shadeform/capabilities.go index 1971f363..5d98d2ff 100644 --- a/internal/shadeform/v1/capabilities.go +++ b/v1/shadeform/capabilities.go @@ -3,7 +3,7 @@ package v1 import ( "context" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) func (c *ShadeformClient) GetCapabilities(_ context.Context) (v1.Capabilities, error) { diff --git a/internal/shadeform/v1/client.go b/v1/shadeform/client.go similarity index 96% rename from internal/shadeform/v1/client.go rename to v1/shadeform/client.go index 14ed1b72..56052d1b 100644 --- a/internal/shadeform/v1/client.go +++ b/v1/shadeform/client.go @@ -6,8 +6,8 @@ import ( "fmt" "net/http" - openapi "github.com/brevdev/cloud/internal/shadeform/gen/shadeform" - "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" + openapi "github.com/brevdev/cloud/v1/shadeform/gen/shadeform" ) const CloudProviderID = "shadeform" diff --git a/internal/shadeform/v1/configuration.go b/v1/shadeform/configuration.go similarity index 84% rename from internal/shadeform/v1/configuration.go rename to v1/shadeform/configuration.go index 604a93ca..49cbf370 100644 --- a/internal/shadeform/v1/configuration.go +++ b/v1/shadeform/configuration.go @@ -1,7 +1,7 @@ package v1 import ( - openapi "github.com/brevdev/cloud/internal/shadeform/gen/shadeform" + openapi "github.com/brevdev/cloud/v1/shadeform/gen/shadeform" ) type Configuration struct { diff --git a/internal/shadeform/gen/shadeform/.gitignore b/v1/shadeform/gen/shadeform/.gitignore similarity index 100% rename from internal/shadeform/gen/shadeform/.gitignore rename to v1/shadeform/gen/shadeform/.gitignore diff --git a/internal/shadeform/gen/shadeform/.openapi-generator-ignore b/v1/shadeform/gen/shadeform/.openapi-generator-ignore similarity index 100% rename from internal/shadeform/gen/shadeform/.openapi-generator-ignore rename to v1/shadeform/gen/shadeform/.openapi-generator-ignore diff --git a/internal/shadeform/gen/shadeform/.openapi-generator/FILES b/v1/shadeform/gen/shadeform/.openapi-generator/FILES similarity index 100% rename from internal/shadeform/gen/shadeform/.openapi-generator/FILES rename to v1/shadeform/gen/shadeform/.openapi-generator/FILES diff --git a/internal/shadeform/gen/shadeform/.openapi-generator/VERSION b/v1/shadeform/gen/shadeform/.openapi-generator/VERSION similarity index 100% rename from internal/shadeform/gen/shadeform/.openapi-generator/VERSION rename to v1/shadeform/gen/shadeform/.openapi-generator/VERSION diff --git a/internal/shadeform/gen/shadeform/.travis.yml b/v1/shadeform/gen/shadeform/.travis.yml similarity index 100% rename from internal/shadeform/gen/shadeform/.travis.yml rename to v1/shadeform/gen/shadeform/.travis.yml diff --git a/internal/shadeform/gen/shadeform/README.md b/v1/shadeform/gen/shadeform/README.md similarity index 100% rename from internal/shadeform/gen/shadeform/README.md rename to v1/shadeform/gen/shadeform/README.md diff --git a/internal/shadeform/gen/shadeform/api/openapi.yaml b/v1/shadeform/gen/shadeform/api/openapi.yaml similarity index 100% rename from internal/shadeform/gen/shadeform/api/openapi.yaml rename to v1/shadeform/gen/shadeform/api/openapi.yaml diff --git a/internal/shadeform/gen/shadeform/api_default.go b/v1/shadeform/gen/shadeform/api_default.go similarity index 100% rename from internal/shadeform/gen/shadeform/api_default.go rename to v1/shadeform/gen/shadeform/api_default.go diff --git a/internal/shadeform/gen/shadeform/client.go b/v1/shadeform/gen/shadeform/client.go similarity index 100% rename from internal/shadeform/gen/shadeform/client.go rename to v1/shadeform/gen/shadeform/client.go diff --git a/internal/shadeform/gen/shadeform/configuration.go b/v1/shadeform/gen/shadeform/configuration.go similarity index 100% rename from internal/shadeform/gen/shadeform/configuration.go rename to v1/shadeform/gen/shadeform/configuration.go diff --git a/internal/shadeform/gen/shadeform/docs/AddSshKeyRequest.md b/v1/shadeform/gen/shadeform/docs/AddSshKeyRequest.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/AddSshKeyRequest.md rename to v1/shadeform/gen/shadeform/docs/AddSshKeyRequest.md diff --git a/internal/shadeform/gen/shadeform/docs/AddSshKeyResponse.md b/v1/shadeform/gen/shadeform/docs/AddSshKeyResponse.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/AddSshKeyResponse.md rename to v1/shadeform/gen/shadeform/docs/AddSshKeyResponse.md diff --git a/internal/shadeform/gen/shadeform/docs/Alert.md b/v1/shadeform/gen/shadeform/docs/Alert.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/Alert.md rename to v1/shadeform/gen/shadeform/docs/Alert.md diff --git a/internal/shadeform/gen/shadeform/docs/AutoDelete.md b/v1/shadeform/gen/shadeform/docs/AutoDelete.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/AutoDelete.md rename to v1/shadeform/gen/shadeform/docs/AutoDelete.md diff --git a/internal/shadeform/gen/shadeform/docs/Availability.md b/v1/shadeform/gen/shadeform/docs/Availability.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/Availability.md rename to v1/shadeform/gen/shadeform/docs/Availability.md diff --git a/internal/shadeform/gen/shadeform/docs/BootTime.md b/v1/shadeform/gen/shadeform/docs/BootTime.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/BootTime.md rename to v1/shadeform/gen/shadeform/docs/BootTime.md diff --git a/internal/shadeform/gen/shadeform/docs/Cloud.md b/v1/shadeform/gen/shadeform/docs/Cloud.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/Cloud.md rename to v1/shadeform/gen/shadeform/docs/Cloud.md diff --git a/internal/shadeform/gen/shadeform/docs/CreateRequest.md b/v1/shadeform/gen/shadeform/docs/CreateRequest.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/CreateRequest.md rename to v1/shadeform/gen/shadeform/docs/CreateRequest.md diff --git a/internal/shadeform/gen/shadeform/docs/CreateResponse.md b/v1/shadeform/gen/shadeform/docs/CreateResponse.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/CreateResponse.md rename to v1/shadeform/gen/shadeform/docs/CreateResponse.md diff --git a/internal/shadeform/gen/shadeform/docs/CreateVolumeRequest.md b/v1/shadeform/gen/shadeform/docs/CreateVolumeRequest.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/CreateVolumeRequest.md rename to v1/shadeform/gen/shadeform/docs/CreateVolumeRequest.md diff --git a/internal/shadeform/gen/shadeform/docs/CreateVolumeResponse.md b/v1/shadeform/gen/shadeform/docs/CreateVolumeResponse.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/CreateVolumeResponse.md rename to v1/shadeform/gen/shadeform/docs/CreateVolumeResponse.md diff --git a/internal/shadeform/gen/shadeform/docs/DefaultAPI.md b/v1/shadeform/gen/shadeform/docs/DefaultAPI.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/DefaultAPI.md rename to v1/shadeform/gen/shadeform/docs/DefaultAPI.md diff --git a/internal/shadeform/gen/shadeform/docs/DockerConfiguration.md b/v1/shadeform/gen/shadeform/docs/DockerConfiguration.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/DockerConfiguration.md rename to v1/shadeform/gen/shadeform/docs/DockerConfiguration.md diff --git a/internal/shadeform/gen/shadeform/docs/Env.md b/v1/shadeform/gen/shadeform/docs/Env.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/Env.md rename to v1/shadeform/gen/shadeform/docs/Env.md diff --git a/internal/shadeform/gen/shadeform/docs/FeaturedTemplate.md b/v1/shadeform/gen/shadeform/docs/FeaturedTemplate.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/FeaturedTemplate.md rename to v1/shadeform/gen/shadeform/docs/FeaturedTemplate.md diff --git a/internal/shadeform/gen/shadeform/docs/FeaturedTemplatesResponse.md b/v1/shadeform/gen/shadeform/docs/FeaturedTemplatesResponse.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/FeaturedTemplatesResponse.md rename to v1/shadeform/gen/shadeform/docs/FeaturedTemplatesResponse.md diff --git a/internal/shadeform/gen/shadeform/docs/Instance.md b/v1/shadeform/gen/shadeform/docs/Instance.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/Instance.md rename to v1/shadeform/gen/shadeform/docs/Instance.md diff --git a/internal/shadeform/gen/shadeform/docs/InstanceConfiguration.md b/v1/shadeform/gen/shadeform/docs/InstanceConfiguration.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/InstanceConfiguration.md rename to v1/shadeform/gen/shadeform/docs/InstanceConfiguration.md diff --git a/internal/shadeform/gen/shadeform/docs/InstanceInfoResponse.md b/v1/shadeform/gen/shadeform/docs/InstanceInfoResponse.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/InstanceInfoResponse.md rename to v1/shadeform/gen/shadeform/docs/InstanceInfoResponse.md diff --git a/internal/shadeform/gen/shadeform/docs/InstancePortMappings.md b/v1/shadeform/gen/shadeform/docs/InstancePortMappings.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/InstancePortMappings.md rename to v1/shadeform/gen/shadeform/docs/InstancePortMappings.md diff --git a/internal/shadeform/gen/shadeform/docs/InstanceType.md b/v1/shadeform/gen/shadeform/docs/InstanceType.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/InstanceType.md rename to v1/shadeform/gen/shadeform/docs/InstanceType.md diff --git a/internal/shadeform/gen/shadeform/docs/InstanceTypeConfiguration.md b/v1/shadeform/gen/shadeform/docs/InstanceTypeConfiguration.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/InstanceTypeConfiguration.md rename to v1/shadeform/gen/shadeform/docs/InstanceTypeConfiguration.md diff --git a/internal/shadeform/gen/shadeform/docs/InstanceTypesResponse.md b/v1/shadeform/gen/shadeform/docs/InstanceTypesResponse.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/InstanceTypesResponse.md rename to v1/shadeform/gen/shadeform/docs/InstanceTypesResponse.md diff --git a/internal/shadeform/gen/shadeform/docs/InstancesResponse.md b/v1/shadeform/gen/shadeform/docs/InstancesResponse.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/InstancesResponse.md rename to v1/shadeform/gen/shadeform/docs/InstancesResponse.md diff --git a/internal/shadeform/gen/shadeform/docs/LaunchConfiguration.md b/v1/shadeform/gen/shadeform/docs/LaunchConfiguration.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/LaunchConfiguration.md rename to v1/shadeform/gen/shadeform/docs/LaunchConfiguration.md diff --git a/internal/shadeform/gen/shadeform/docs/Networking.md b/v1/shadeform/gen/shadeform/docs/Networking.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/Networking.md rename to v1/shadeform/gen/shadeform/docs/Networking.md diff --git a/internal/shadeform/gen/shadeform/docs/PortMappings.md b/v1/shadeform/gen/shadeform/docs/PortMappings.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/PortMappings.md rename to v1/shadeform/gen/shadeform/docs/PortMappings.md diff --git a/internal/shadeform/gen/shadeform/docs/RegistryCredentials.md b/v1/shadeform/gen/shadeform/docs/RegistryCredentials.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/RegistryCredentials.md rename to v1/shadeform/gen/shadeform/docs/RegistryCredentials.md diff --git a/internal/shadeform/gen/shadeform/docs/ScriptConfiguration.md b/v1/shadeform/gen/shadeform/docs/ScriptConfiguration.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/ScriptConfiguration.md rename to v1/shadeform/gen/shadeform/docs/ScriptConfiguration.md diff --git a/internal/shadeform/gen/shadeform/docs/SshKey.md b/v1/shadeform/gen/shadeform/docs/SshKey.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/SshKey.md rename to v1/shadeform/gen/shadeform/docs/SshKey.md diff --git a/internal/shadeform/gen/shadeform/docs/SshKeysResponse.md b/v1/shadeform/gen/shadeform/docs/SshKeysResponse.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/SshKeysResponse.md rename to v1/shadeform/gen/shadeform/docs/SshKeysResponse.md diff --git a/internal/shadeform/gen/shadeform/docs/Status.md b/v1/shadeform/gen/shadeform/docs/Status.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/Status.md rename to v1/shadeform/gen/shadeform/docs/Status.md diff --git a/internal/shadeform/gen/shadeform/docs/Template.md b/v1/shadeform/gen/shadeform/docs/Template.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/Template.md rename to v1/shadeform/gen/shadeform/docs/Template.md diff --git a/internal/shadeform/gen/shadeform/docs/TemplateCreateResponse.md b/v1/shadeform/gen/shadeform/docs/TemplateCreateResponse.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/TemplateCreateResponse.md rename to v1/shadeform/gen/shadeform/docs/TemplateCreateResponse.md diff --git a/internal/shadeform/gen/shadeform/docs/TemplateSaveRequest.md b/v1/shadeform/gen/shadeform/docs/TemplateSaveRequest.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/TemplateSaveRequest.md rename to v1/shadeform/gen/shadeform/docs/TemplateSaveRequest.md diff --git a/internal/shadeform/gen/shadeform/docs/TemplatesResponse.md b/v1/shadeform/gen/shadeform/docs/TemplatesResponse.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/TemplatesResponse.md rename to v1/shadeform/gen/shadeform/docs/TemplatesResponse.md diff --git a/internal/shadeform/gen/shadeform/docs/UfwRule.md b/v1/shadeform/gen/shadeform/docs/UfwRule.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/UfwRule.md rename to v1/shadeform/gen/shadeform/docs/UfwRule.md diff --git a/internal/shadeform/gen/shadeform/docs/UpdateRequest.md b/v1/shadeform/gen/shadeform/docs/UpdateRequest.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/UpdateRequest.md rename to v1/shadeform/gen/shadeform/docs/UpdateRequest.md diff --git a/internal/shadeform/gen/shadeform/docs/Volume.md b/v1/shadeform/gen/shadeform/docs/Volume.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/Volume.md rename to v1/shadeform/gen/shadeform/docs/Volume.md diff --git a/internal/shadeform/gen/shadeform/docs/VolumeMount.md b/v1/shadeform/gen/shadeform/docs/VolumeMount.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/VolumeMount.md rename to v1/shadeform/gen/shadeform/docs/VolumeMount.md diff --git a/internal/shadeform/gen/shadeform/docs/VolumeMounts.md b/v1/shadeform/gen/shadeform/docs/VolumeMounts.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/VolumeMounts.md rename to v1/shadeform/gen/shadeform/docs/VolumeMounts.md diff --git a/internal/shadeform/gen/shadeform/docs/VolumeTypesInner.md b/v1/shadeform/gen/shadeform/docs/VolumeTypesInner.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/VolumeTypesInner.md rename to v1/shadeform/gen/shadeform/docs/VolumeTypesInner.md diff --git a/internal/shadeform/gen/shadeform/docs/VolumesResponse.md b/v1/shadeform/gen/shadeform/docs/VolumesResponse.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/VolumesResponse.md rename to v1/shadeform/gen/shadeform/docs/VolumesResponse.md diff --git a/internal/shadeform/gen/shadeform/docs/VolumesTypesResponse.md b/v1/shadeform/gen/shadeform/docs/VolumesTypesResponse.md similarity index 100% rename from internal/shadeform/gen/shadeform/docs/VolumesTypesResponse.md rename to v1/shadeform/gen/shadeform/docs/VolumesTypesResponse.md diff --git a/internal/shadeform/gen/shadeform/git_push.sh b/v1/shadeform/gen/shadeform/git_push.sh similarity index 100% rename from internal/shadeform/gen/shadeform/git_push.sh rename to v1/shadeform/gen/shadeform/git_push.sh diff --git a/internal/shadeform/gen/shadeform/model_add_ssh_key_request.go b/v1/shadeform/gen/shadeform/model_add_ssh_key_request.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_add_ssh_key_request.go rename to v1/shadeform/gen/shadeform/model_add_ssh_key_request.go diff --git a/internal/shadeform/gen/shadeform/model_add_ssh_key_response.go b/v1/shadeform/gen/shadeform/model_add_ssh_key_response.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_add_ssh_key_response.go rename to v1/shadeform/gen/shadeform/model_add_ssh_key_response.go diff --git a/internal/shadeform/gen/shadeform/model_alert.go b/v1/shadeform/gen/shadeform/model_alert.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_alert.go rename to v1/shadeform/gen/shadeform/model_alert.go diff --git a/internal/shadeform/gen/shadeform/model_auto_delete.go b/v1/shadeform/gen/shadeform/model_auto_delete.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_auto_delete.go rename to v1/shadeform/gen/shadeform/model_auto_delete.go diff --git a/internal/shadeform/gen/shadeform/model_availability.go b/v1/shadeform/gen/shadeform/model_availability.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_availability.go rename to v1/shadeform/gen/shadeform/model_availability.go diff --git a/internal/shadeform/gen/shadeform/model_boot_time.go b/v1/shadeform/gen/shadeform/model_boot_time.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_boot_time.go rename to v1/shadeform/gen/shadeform/model_boot_time.go diff --git a/internal/shadeform/gen/shadeform/model_cloud.go b/v1/shadeform/gen/shadeform/model_cloud.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_cloud.go rename to v1/shadeform/gen/shadeform/model_cloud.go diff --git a/internal/shadeform/gen/shadeform/model_create_request.go b/v1/shadeform/gen/shadeform/model_create_request.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_create_request.go rename to v1/shadeform/gen/shadeform/model_create_request.go diff --git a/internal/shadeform/gen/shadeform/model_create_response.go b/v1/shadeform/gen/shadeform/model_create_response.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_create_response.go rename to v1/shadeform/gen/shadeform/model_create_response.go diff --git a/internal/shadeform/gen/shadeform/model_create_volume_request.go b/v1/shadeform/gen/shadeform/model_create_volume_request.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_create_volume_request.go rename to v1/shadeform/gen/shadeform/model_create_volume_request.go diff --git a/internal/shadeform/gen/shadeform/model_create_volume_response.go b/v1/shadeform/gen/shadeform/model_create_volume_response.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_create_volume_response.go rename to v1/shadeform/gen/shadeform/model_create_volume_response.go diff --git a/internal/shadeform/gen/shadeform/model_docker_configuration.go b/v1/shadeform/gen/shadeform/model_docker_configuration.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_docker_configuration.go rename to v1/shadeform/gen/shadeform/model_docker_configuration.go diff --git a/internal/shadeform/gen/shadeform/model_env.go b/v1/shadeform/gen/shadeform/model_env.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_env.go rename to v1/shadeform/gen/shadeform/model_env.go diff --git a/internal/shadeform/gen/shadeform/model_featured_template.go b/v1/shadeform/gen/shadeform/model_featured_template.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_featured_template.go rename to v1/shadeform/gen/shadeform/model_featured_template.go diff --git a/internal/shadeform/gen/shadeform/model_featured_templates_response.go b/v1/shadeform/gen/shadeform/model_featured_templates_response.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_featured_templates_response.go rename to v1/shadeform/gen/shadeform/model_featured_templates_response.go diff --git a/internal/shadeform/gen/shadeform/model_instance.go b/v1/shadeform/gen/shadeform/model_instance.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_instance.go rename to v1/shadeform/gen/shadeform/model_instance.go diff --git a/internal/shadeform/gen/shadeform/model_instance_configuration.go b/v1/shadeform/gen/shadeform/model_instance_configuration.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_instance_configuration.go rename to v1/shadeform/gen/shadeform/model_instance_configuration.go diff --git a/internal/shadeform/gen/shadeform/model_instance_info_response.go b/v1/shadeform/gen/shadeform/model_instance_info_response.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_instance_info_response.go rename to v1/shadeform/gen/shadeform/model_instance_info_response.go diff --git a/internal/shadeform/gen/shadeform/model_instance_port_mappings.go b/v1/shadeform/gen/shadeform/model_instance_port_mappings.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_instance_port_mappings.go rename to v1/shadeform/gen/shadeform/model_instance_port_mappings.go diff --git a/internal/shadeform/gen/shadeform/model_instance_type.go b/v1/shadeform/gen/shadeform/model_instance_type.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_instance_type.go rename to v1/shadeform/gen/shadeform/model_instance_type.go diff --git a/internal/shadeform/gen/shadeform/model_instance_type_configuration.go b/v1/shadeform/gen/shadeform/model_instance_type_configuration.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_instance_type_configuration.go rename to v1/shadeform/gen/shadeform/model_instance_type_configuration.go diff --git a/internal/shadeform/gen/shadeform/model_instance_types_response.go b/v1/shadeform/gen/shadeform/model_instance_types_response.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_instance_types_response.go rename to v1/shadeform/gen/shadeform/model_instance_types_response.go diff --git a/internal/shadeform/gen/shadeform/model_instances_response.go b/v1/shadeform/gen/shadeform/model_instances_response.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_instances_response.go rename to v1/shadeform/gen/shadeform/model_instances_response.go diff --git a/internal/shadeform/gen/shadeform/model_launch_configuration.go b/v1/shadeform/gen/shadeform/model_launch_configuration.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_launch_configuration.go rename to v1/shadeform/gen/shadeform/model_launch_configuration.go diff --git a/internal/shadeform/gen/shadeform/model_networking.go b/v1/shadeform/gen/shadeform/model_networking.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_networking.go rename to v1/shadeform/gen/shadeform/model_networking.go diff --git a/internal/shadeform/gen/shadeform/model_port_mappings.go b/v1/shadeform/gen/shadeform/model_port_mappings.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_port_mappings.go rename to v1/shadeform/gen/shadeform/model_port_mappings.go diff --git a/internal/shadeform/gen/shadeform/model_registry_credentials.go b/v1/shadeform/gen/shadeform/model_registry_credentials.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_registry_credentials.go rename to v1/shadeform/gen/shadeform/model_registry_credentials.go diff --git a/internal/shadeform/gen/shadeform/model_script_configuration.go b/v1/shadeform/gen/shadeform/model_script_configuration.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_script_configuration.go rename to v1/shadeform/gen/shadeform/model_script_configuration.go diff --git a/internal/shadeform/gen/shadeform/model_ssh_key.go b/v1/shadeform/gen/shadeform/model_ssh_key.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_ssh_key.go rename to v1/shadeform/gen/shadeform/model_ssh_key.go diff --git a/internal/shadeform/gen/shadeform/model_ssh_keys_response.go b/v1/shadeform/gen/shadeform/model_ssh_keys_response.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_ssh_keys_response.go rename to v1/shadeform/gen/shadeform/model_ssh_keys_response.go diff --git a/internal/shadeform/gen/shadeform/model_status.go b/v1/shadeform/gen/shadeform/model_status.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_status.go rename to v1/shadeform/gen/shadeform/model_status.go diff --git a/internal/shadeform/gen/shadeform/model_template.go b/v1/shadeform/gen/shadeform/model_template.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_template.go rename to v1/shadeform/gen/shadeform/model_template.go diff --git a/internal/shadeform/gen/shadeform/model_template_create_response.go b/v1/shadeform/gen/shadeform/model_template_create_response.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_template_create_response.go rename to v1/shadeform/gen/shadeform/model_template_create_response.go diff --git a/internal/shadeform/gen/shadeform/model_template_save_request.go b/v1/shadeform/gen/shadeform/model_template_save_request.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_template_save_request.go rename to v1/shadeform/gen/shadeform/model_template_save_request.go diff --git a/internal/shadeform/gen/shadeform/model_templates_response.go b/v1/shadeform/gen/shadeform/model_templates_response.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_templates_response.go rename to v1/shadeform/gen/shadeform/model_templates_response.go diff --git a/internal/shadeform/gen/shadeform/model_ufw_rule.go b/v1/shadeform/gen/shadeform/model_ufw_rule.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_ufw_rule.go rename to v1/shadeform/gen/shadeform/model_ufw_rule.go diff --git a/internal/shadeform/gen/shadeform/model_update_request.go b/v1/shadeform/gen/shadeform/model_update_request.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_update_request.go rename to v1/shadeform/gen/shadeform/model_update_request.go diff --git a/internal/shadeform/gen/shadeform/model_volume.go b/v1/shadeform/gen/shadeform/model_volume.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_volume.go rename to v1/shadeform/gen/shadeform/model_volume.go diff --git a/internal/shadeform/gen/shadeform/model_volume_mount.go b/v1/shadeform/gen/shadeform/model_volume_mount.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_volume_mount.go rename to v1/shadeform/gen/shadeform/model_volume_mount.go diff --git a/internal/shadeform/gen/shadeform/model_volume_mounts.go b/v1/shadeform/gen/shadeform/model_volume_mounts.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_volume_mounts.go rename to v1/shadeform/gen/shadeform/model_volume_mounts.go diff --git a/internal/shadeform/gen/shadeform/model_volume_types_inner.go b/v1/shadeform/gen/shadeform/model_volume_types_inner.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_volume_types_inner.go rename to v1/shadeform/gen/shadeform/model_volume_types_inner.go diff --git a/internal/shadeform/gen/shadeform/model_volumes_response.go b/v1/shadeform/gen/shadeform/model_volumes_response.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_volumes_response.go rename to v1/shadeform/gen/shadeform/model_volumes_response.go diff --git a/internal/shadeform/gen/shadeform/model_volumes_types_response.go b/v1/shadeform/gen/shadeform/model_volumes_types_response.go similarity index 100% rename from internal/shadeform/gen/shadeform/model_volumes_types_response.go rename to v1/shadeform/gen/shadeform/model_volumes_types_response.go diff --git a/internal/shadeform/gen/shadeform/response.go b/v1/shadeform/gen/shadeform/response.go similarity index 100% rename from internal/shadeform/gen/shadeform/response.go rename to v1/shadeform/gen/shadeform/response.go diff --git a/internal/shadeform/gen/shadeform/test/api_default_test.go b/v1/shadeform/gen/shadeform/test/api_default_test.go similarity index 98% rename from internal/shadeform/gen/shadeform/test/api_default_test.go rename to v1/shadeform/gen/shadeform/test/api_default_test.go index ed794883..d3a7983d 100644 --- a/internal/shadeform/gen/shadeform/test/api_default_test.go +++ b/v1/shadeform/gen/shadeform/test/api_default_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/internal/shadeform/gen/shadeform" + openapiclient "github.com/brevdev/cloud/v1/shadeform/gen/shadeform" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/internal/shadeform/gen/shadeform/utils.go b/v1/shadeform/gen/shadeform/utils.go similarity index 100% rename from internal/shadeform/gen/shadeform/utils.go rename to v1/shadeform/gen/shadeform/utils.go diff --git a/internal/shadeform/v1/instance.go b/v1/shadeform/instance.go similarity index 99% rename from internal/shadeform/v1/instance.go rename to v1/shadeform/instance.go index f98d5639..4bb1ad2d 100644 --- a/internal/shadeform/v1/instance.go +++ b/v1/shadeform/instance.go @@ -7,8 +7,8 @@ import ( "strings" "github.com/alecthomas/units" - openapi "github.com/brevdev/cloud/internal/shadeform/gen/shadeform" - "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" + openapi "github.com/brevdev/cloud/v1/shadeform/gen/shadeform" "github.com/google/uuid" ) diff --git a/internal/shadeform/v1/instancetype.go b/v1/shadeform/instancetype.go similarity index 98% rename from internal/shadeform/v1/instancetype.go rename to v1/shadeform/instancetype.go index 10f6dc31..59ffe281 100644 --- a/internal/shadeform/v1/instancetype.go +++ b/v1/shadeform/instancetype.go @@ -10,9 +10,8 @@ import ( "github.com/alecthomas/units" "github.com/bojanz/currency" - openapi "github.com/brevdev/cloud/internal/shadeform/gen/shadeform" - - "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" + openapi "github.com/brevdev/cloud/v1/shadeform/gen/shadeform" ) const ( diff --git a/internal/shadeform/v1/ufw.go b/v1/shadeform/ufw.go similarity index 98% rename from internal/shadeform/v1/ufw.go rename to v1/shadeform/ufw.go index 16e33334..ae666ecc 100644 --- a/internal/shadeform/v1/ufw.go +++ b/v1/shadeform/ufw.go @@ -4,7 +4,7 @@ import ( "encoding/base64" "fmt" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" ) const ( diff --git a/internal/shadeform/v1/validation_test.go b/v1/shadeform/validation_test.go similarity index 96% rename from internal/shadeform/v1/validation_test.go rename to v1/shadeform/validation_test.go index 71204fd9..80ff1581 100644 --- a/internal/shadeform/v1/validation_test.go +++ b/v1/shadeform/validation_test.go @@ -6,10 +6,10 @@ import ( "testing" "time" - openapi "github.com/brevdev/cloud/internal/shadeform/gen/shadeform" + "github.com/brevdev/cloud/internal/ssh" "github.com/brevdev/cloud/internal/validation" - "github.com/brevdev/cloud/pkg/ssh" - v1 "github.com/brevdev/cloud/pkg/v1" + v1 "github.com/brevdev/cloud/v1" + openapi "github.com/brevdev/cloud/v1/shadeform/gen/shadeform" "github.com/google/uuid" "github.com/stretchr/testify/require" ) diff --git a/pkg/v1/storage.go b/v1/storage.go similarity index 100% rename from pkg/v1/storage.go rename to v1/storage.go diff --git a/pkg/v1/utils.go b/v1/utils.go similarity index 100% rename from pkg/v1/utils.go rename to v1/utils.go diff --git a/pkg/v1/waiters.go b/v1/waiters.go similarity index 100% rename from pkg/v1/waiters.go rename to v1/waiters.go diff --git a/pkg/v1/waiters_test.go b/v1/waiters_test.go similarity index 100% rename from pkg/v1/waiters_test.go rename to v1/waiters_test.go From 1ca16215b55ca30b6c1efab68f08332a306ba779 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Fri, 29 Aug 2025 11:23:42 -0700 Subject: [PATCH 02/18] fix bad import --- v1/lambdalabs/gen/lambdalabs/test/api_default_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/lambdalabs/gen/lambdalabs/test/api_default_test.go b/v1/lambdalabs/gen/lambdalabs/test/api_default_test.go index d5ee0014..b4a9a9cc 100644 --- a/v1/lambdalabs/gen/lambdalabs/test/api_default_test.go +++ b/v1/lambdalabs/gen/lambdalabs/test/api_default_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/internal/lambdalabs/gen/lambdalabs" + openapiclient "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) From 0dcdea4650e68a482f9eed31843e020fc2aa9388 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Fri, 29 Aug 2025 11:28:28 -0700 Subject: [PATCH 03/18] consolidate providers --- v1/{ => providers}/fluidstack/Makefile | 0 v1/{ => providers}/fluidstack/README.md | 0 v1/{ => providers}/fluidstack/SECURITY.md | 0 v1/{ => providers}/fluidstack/capabilities.go | 0 v1/{ => providers}/fluidstack/client.go | 2 +- v1/{ => providers}/fluidstack/gen/fluidstack/.gitignore | 0 .../fluidstack/gen/fluidstack/.openapi-generator-ignore | 0 .../fluidstack/gen/fluidstack/.openapi-generator/FILES | 0 .../fluidstack/gen/fluidstack/.openapi-generator/VERSION | 0 v1/{ => providers}/fluidstack/gen/fluidstack/.travis.yml | 0 v1/{ => providers}/fluidstack/gen/fluidstack/README.md | 0 v1/{ => providers}/fluidstack/gen/fluidstack/api/openapi.yaml | 0 .../fluidstack/gen/fluidstack/api_capabilities.go | 0 v1/{ => providers}/fluidstack/gen/fluidstack/api_capacity.go | 0 v1/{ => providers}/fluidstack/gen/fluidstack/api_filesystems.go | 0 .../fluidstack/gen/fluidstack/api_instance_types.go | 0 v1/{ => providers}/fluidstack/gen/fluidstack/api_instances.go | 0 v1/{ => providers}/fluidstack/gen/fluidstack/api_kubernetes.go | 0 v1/{ => providers}/fluidstack/gen/fluidstack/api_projects.go | 0 v1/{ => providers}/fluidstack/gen/fluidstack/api_slurm.go | 0 v1/{ => providers}/fluidstack/gen/fluidstack/client.go | 0 v1/{ => providers}/fluidstack/gen/fluidstack/configuration.go | 0 .../fluidstack/gen/fluidstack/docs/Accelerator.md | 0 .../fluidstack/gen/fluidstack/docs/CapabilitiesAPI.md | 0 v1/{ => providers}/fluidstack/gen/fluidstack/docs/Capability.md | 0 .../fluidstack/gen/fluidstack/docs/CapacityAPI.md | 0 v1/{ => providers}/fluidstack/gen/fluidstack/docs/Error.md | 0 v1/{ => providers}/fluidstack/gen/fluidstack/docs/Filesystem.md | 0 .../fluidstack/gen/fluidstack/docs/FilesystemsAPI.md | 0 .../fluidstack/gen/fluidstack/docs/FilesystemsPostRequest.md | 0 v1/{ => providers}/fluidstack/gen/fluidstack/docs/Instance.md | 0 .../fluidstack/gen/fluidstack/docs/InstanceState.md | 0 .../fluidstack/gen/fluidstack/docs/InstanceType.md | 0 .../fluidstack/gen/fluidstack/docs/InstanceTypesAPI.md | 0 .../fluidstack/gen/fluidstack/docs/InstancesAPI.md | 0 .../fluidstack/gen/fluidstack/docs/InstancesPostRequest.md | 0 .../fluidstack/gen/fluidstack/docs/KubernetesAPI.md | 0 .../fluidstack/gen/fluidstack/docs/KubernetesCluster.md | 0 .../gen/fluidstack/docs/KubernetesClustersPostRequest.md | 0 .../fluidstack/gen/fluidstack/docs/KubernetesNode.md | 0 .../gen/fluidstack/docs/KubernetesNodeConditionsInner.md | 0 .../fluidstack/gen/fluidstack/docs/KubernetesNodePool.md | 0 .../gen/fluidstack/docs/KubernetesNodePoolPostRequest.md | 0 .../fluidstack/gen/fluidstack/docs/KubernetesNodeTaintsInner.md | 0 .../gen/fluidstack/docs/ListCapacity200ResponseInner.md | 0 v1/{ => providers}/fluidstack/gen/fluidstack/docs/Project.md | 0 .../fluidstack/gen/fluidstack/docs/ProjectState.md | 0 .../fluidstack/gen/fluidstack/docs/ProjectsAPI.md | 0 .../fluidstack/gen/fluidstack/docs/ProjectsPostRequest.md | 0 v1/{ => providers}/fluidstack/gen/fluidstack/docs/SlurmAPI.md | 0 .../fluidstack/gen/fluidstack/docs/SlurmCluster.md | 0 .../fluidstack/gen/fluidstack/docs/SlurmClustersPostRequest.md | 0 .../fluidstack/gen/fluidstack/docs/SlurmLoginNode.md | 0 v1/{ => providers}/fluidstack/gen/fluidstack/docs/SlurmNode.md | 0 .../fluidstack/gen/fluidstack/docs/SlurmNodePool.md | 0 .../fluidstack/gen/fluidstack/docs/SlurmNodePoolPostRequest.md | 0 v1/{ => providers}/fluidstack/gen/fluidstack/git_push.sh | 0 .../fluidstack/gen/fluidstack/model_accelerator.go | 0 .../fluidstack/gen/fluidstack/model_capability.go | 0 v1/{ => providers}/fluidstack/gen/fluidstack/model_error.go | 0 .../fluidstack/gen/fluidstack/model_filesystem.go | 0 .../fluidstack/gen/fluidstack/model_filesystems_post_request.go | 0 v1/{ => providers}/fluidstack/gen/fluidstack/model_instance.go | 0 .../fluidstack/gen/fluidstack/model_instance_state.go | 0 .../fluidstack/gen/fluidstack/model_instance_type.go | 0 .../fluidstack/gen/fluidstack/model_instances_post_request.go | 0 .../fluidstack/gen/fluidstack/model_kubernetes_cluster.go | 0 .../gen/fluidstack/model_kubernetes_clusters_post_request.go | 0 .../fluidstack/gen/fluidstack/model_kubernetes_node.go | 0 .../gen/fluidstack/model_kubernetes_node_conditions_inner.go | 0 .../fluidstack/gen/fluidstack/model_kubernetes_node_pool.go | 0 .../gen/fluidstack/model_kubernetes_node_pool_post_request.go | 0 .../gen/fluidstack/model_kubernetes_node_taints_inner.go | 0 .../gen/fluidstack/model_list_capacity_200_response_inner.go | 0 v1/{ => providers}/fluidstack/gen/fluidstack/model_project.go | 0 .../fluidstack/gen/fluidstack/model_project_state.go | 0 .../fluidstack/gen/fluidstack/model_projects_post_request.go | 0 .../fluidstack/gen/fluidstack/model_slurm_cluster.go | 0 .../gen/fluidstack/model_slurm_clusters_post_request.go | 0 .../fluidstack/gen/fluidstack/model_slurm_login_node.go | 0 .../fluidstack/gen/fluidstack/model_slurm_node.go | 0 .../fluidstack/gen/fluidstack/model_slurm_node_pool.go | 0 .../gen/fluidstack/model_slurm_node_pool_post_request.go | 0 v1/{ => providers}/fluidstack/gen/fluidstack/response.go | 0 .../fluidstack/gen/fluidstack/test/api_capabilities_test.go | 2 +- .../fluidstack/gen/fluidstack/test/api_capacity_test.go | 2 +- .../fluidstack/gen/fluidstack/test/api_filesystems_test.go | 2 +- .../fluidstack/gen/fluidstack/test/api_instance_types_test.go | 2 +- .../fluidstack/gen/fluidstack/test/api_instances_test.go | 2 +- .../fluidstack/gen/fluidstack/test/api_kubernetes_test.go | 2 +- .../fluidstack/gen/fluidstack/test/api_projects_test.go | 2 +- .../fluidstack/gen/fluidstack/test/api_slurm_test.go | 2 +- v1/{ => providers}/fluidstack/gen/fluidstack/utils.go | 0 v1/{ => providers}/fluidstack/instance.go | 2 +- v1/{ => providers}/fluidstack/instancetype.go | 2 +- v1/{ => providers}/lambdalabs/CONTRIBUTE.md | 0 v1/{ => providers}/lambdalabs/Makefile | 0 v1/{ => providers}/lambdalabs/README.md | 0 v1/{ => providers}/lambdalabs/SECURITY.md | 0 v1/{ => providers}/lambdalabs/capabilities.go | 0 v1/{ => providers}/lambdalabs/capabilities_test.go | 0 v1/{ => providers}/lambdalabs/client.go | 2 +- v1/{ => providers}/lambdalabs/client_test.go | 2 +- v1/{ => providers}/lambdalabs/common_test.go | 2 +- v1/{ => providers}/lambdalabs/credential.go | 0 v1/{ => providers}/lambdalabs/credential_test.go | 0 v1/{ => providers}/lambdalabs/errors.go | 2 +- v1/{ => providers}/lambdalabs/errors_test.go | 2 +- v1/{ => providers}/lambdalabs/gen/lambdalabs/.gitignore | 0 .../lambdalabs/gen/lambdalabs/.openapi-generator-ignore | 0 .../lambdalabs/gen/lambdalabs/.openapi-generator/FILES | 0 .../lambdalabs/gen/lambdalabs/.openapi-generator/VERSION | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/.travis.yml | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/README.md | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/api/openapi.yaml | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/api_default.go | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/client.go | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/configuration.go | 0 .../lambdalabs/gen/lambdalabs/docs/AddSSHKey200Response.md | 0 .../lambdalabs/gen/lambdalabs/docs/AddSSHKeyRequest.md | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/DefaultAPI.md | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/ErrorCode.md | 0 .../lambdalabs/gen/lambdalabs/docs/ErrorResponseBody.md | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/FileSystem.md | 0 .../lambdalabs/gen/lambdalabs/docs/GetInstance200Response.md | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/Instance.md | 0 .../lambdalabs/gen/lambdalabs/docs/InstanceType.md | 0 .../lambdalabs/gen/lambdalabs/docs/InstanceTypeSpecs.md | 0 .../lambdalabs/gen/lambdalabs/docs/InstanceTypes200Response.md | 0 .../gen/lambdalabs/docs/InstanceTypes200ResponseDataValue.md | 0 .../lambdalabs/gen/lambdalabs/docs/LaunchInstance200Response.md | 0 .../gen/lambdalabs/docs/LaunchInstance200ResponseData.md | 0 .../lambdalabs/gen/lambdalabs/docs/LaunchInstanceRequest.md | 0 .../gen/lambdalabs/docs/ListFileSystems200Response.md | 0 .../lambdalabs/gen/lambdalabs/docs/ListInstances200Response.md | 0 .../lambdalabs/gen/lambdalabs/docs/ListSSHKeys200Response.md | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/ModelError.md | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/Region.md | 0 .../gen/lambdalabs/docs/RestartInstance200Response.md | 0 .../gen/lambdalabs/docs/RestartInstance200ResponseData.md | 0 .../lambdalabs/gen/lambdalabs/docs/RestartInstanceRequest.md | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/SshKey.md | 0 .../gen/lambdalabs/docs/TerminateInstance200Response.md | 0 .../gen/lambdalabs/docs/TerminateInstance200ResponseData.md | 0 .../lambdalabs/gen/lambdalabs/docs/TerminateInstanceRequest.md | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/User.md | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/git_push.sh | 0 .../lambdalabs/gen/lambdalabs/model_add_ssh_key_200_response.go | 0 .../lambdalabs/gen/lambdalabs/model_add_ssh_key_request.go | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/model_error.go | 0 .../lambdalabs/gen/lambdalabs/model_error_code.go | 0 .../lambdalabs/gen/lambdalabs/model_error_response_body.go | 0 .../lambdalabs/gen/lambdalabs/model_file_system.go | 0 .../gen/lambdalabs/model_get_instance_200_response.go | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/model_instance.go | 0 .../lambdalabs/gen/lambdalabs/model_instance_type.go | 0 .../lambdalabs/gen/lambdalabs/model_instance_type_specs.go | 0 .../gen/lambdalabs/model_instance_types_200_response.go | 0 .../lambdalabs/model_instance_types_200_response_data_value.go | 0 .../gen/lambdalabs/model_launch_instance_200_response.go | 0 .../gen/lambdalabs/model_launch_instance_200_response_data.go | 0 .../lambdalabs/gen/lambdalabs/model_launch_instance_request.go | 0 .../gen/lambdalabs/model_list_file_systems_200_response.go | 0 .../gen/lambdalabs/model_list_instances_200_response.go | 0 .../gen/lambdalabs/model_list_ssh_keys_200_response.go | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/model_region.go | 0 .../gen/lambdalabs/model_restart_instance_200_response.go | 0 .../gen/lambdalabs/model_restart_instance_200_response_data.go | 0 .../lambdalabs/gen/lambdalabs/model_restart_instance_request.go | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/model_ssh_key.go | 0 .../gen/lambdalabs/model_terminate_instance_200_response.go | 0 .../lambdalabs/model_terminate_instance_200_response_data.go | 0 .../gen/lambdalabs/model_terminate_instance_request.go | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/model_user.go | 0 v1/{ => providers}/lambdalabs/gen/lambdalabs/response.go | 0 .../lambdalabs/gen/lambdalabs/test/api_default_test.go | 2 +- v1/{ => providers}/lambdalabs/gen/lambdalabs/utils.go | 0 v1/{ => providers}/lambdalabs/helpers_test.go | 0 v1/{ => providers}/lambdalabs/instance.go | 2 +- v1/{ => providers}/lambdalabs/instance_test.go | 2 +- v1/{ => providers}/lambdalabs/instancetype.go | 2 +- v1/{ => providers}/lambdalabs/instancetype_test.go | 2 +- v1/{ => providers}/lambdalabs/location.go | 0 v1/{ => providers}/lambdalabs/location_test.go | 0 v1/{ => providers}/lambdalabs/validation_test.go | 0 v1/{ => providers}/nebius/CONTRIBUTE.md | 0 v1/{ => providers}/nebius/README.md | 0 v1/{ => providers}/nebius/SECURITY.md | 0 v1/{ => providers}/nebius/capabilities.go | 0 v1/{ => providers}/nebius/client.go | 0 v1/{ => providers}/nebius/image.go | 0 v1/{ => providers}/nebius/instance.go | 0 v1/{ => providers}/nebius/instancetype.go | 0 v1/{ => providers}/nebius/location.go | 0 v1/{ => providers}/nebius/networking.go | 0 v1/{ => providers}/nebius/quota.go | 0 v1/{ => providers}/nebius/storage.go | 0 v1/{ => providers}/nebius/tags.go | 0 v1/{ => providers}/shadeform/Makefile | 0 v1/{ => providers}/shadeform/capabilities.go | 0 v1/{ => providers}/shadeform/client.go | 2 +- v1/{ => providers}/shadeform/configuration.go | 2 +- v1/{ => providers}/shadeform/gen/shadeform/.gitignore | 0 .../shadeform/gen/shadeform/.openapi-generator-ignore | 0 .../shadeform/gen/shadeform/.openapi-generator/FILES | 0 .../shadeform/gen/shadeform/.openapi-generator/VERSION | 0 v1/{ => providers}/shadeform/gen/shadeform/.travis.yml | 0 v1/{ => providers}/shadeform/gen/shadeform/README.md | 0 v1/{ => providers}/shadeform/gen/shadeform/api/openapi.yaml | 0 v1/{ => providers}/shadeform/gen/shadeform/api_default.go | 0 v1/{ => providers}/shadeform/gen/shadeform/client.go | 0 v1/{ => providers}/shadeform/gen/shadeform/configuration.go | 0 .../shadeform/gen/shadeform/docs/AddSshKeyRequest.md | 0 .../shadeform/gen/shadeform/docs/AddSshKeyResponse.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/Alert.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/AutoDelete.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/Availability.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/BootTime.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/Cloud.md | 0 .../shadeform/gen/shadeform/docs/CreateRequest.md | 0 .../shadeform/gen/shadeform/docs/CreateResponse.md | 0 .../shadeform/gen/shadeform/docs/CreateVolumeRequest.md | 0 .../shadeform/gen/shadeform/docs/CreateVolumeResponse.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/DefaultAPI.md | 0 .../shadeform/gen/shadeform/docs/DockerConfiguration.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/Env.md | 0 .../shadeform/gen/shadeform/docs/FeaturedTemplate.md | 0 .../shadeform/gen/shadeform/docs/FeaturedTemplatesResponse.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/Instance.md | 0 .../shadeform/gen/shadeform/docs/InstanceConfiguration.md | 0 .../shadeform/gen/shadeform/docs/InstanceInfoResponse.md | 0 .../shadeform/gen/shadeform/docs/InstancePortMappings.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/InstanceType.md | 0 .../shadeform/gen/shadeform/docs/InstanceTypeConfiguration.md | 0 .../shadeform/gen/shadeform/docs/InstanceTypesResponse.md | 0 .../shadeform/gen/shadeform/docs/InstancesResponse.md | 0 .../shadeform/gen/shadeform/docs/LaunchConfiguration.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/Networking.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/PortMappings.md | 0 .../shadeform/gen/shadeform/docs/RegistryCredentials.md | 0 .../shadeform/gen/shadeform/docs/ScriptConfiguration.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/SshKey.md | 0 .../shadeform/gen/shadeform/docs/SshKeysResponse.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/Status.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/Template.md | 0 .../shadeform/gen/shadeform/docs/TemplateCreateResponse.md | 0 .../shadeform/gen/shadeform/docs/TemplateSaveRequest.md | 0 .../shadeform/gen/shadeform/docs/TemplatesResponse.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/UfwRule.md | 0 .../shadeform/gen/shadeform/docs/UpdateRequest.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/Volume.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/VolumeMount.md | 0 v1/{ => providers}/shadeform/gen/shadeform/docs/VolumeMounts.md | 0 .../shadeform/gen/shadeform/docs/VolumeTypesInner.md | 0 .../shadeform/gen/shadeform/docs/VolumesResponse.md | 0 .../shadeform/gen/shadeform/docs/VolumesTypesResponse.md | 0 v1/{ => providers}/shadeform/gen/shadeform/git_push.sh | 0 .../shadeform/gen/shadeform/model_add_ssh_key_request.go | 0 .../shadeform/gen/shadeform/model_add_ssh_key_response.go | 0 v1/{ => providers}/shadeform/gen/shadeform/model_alert.go | 0 v1/{ => providers}/shadeform/gen/shadeform/model_auto_delete.go | 0 .../shadeform/gen/shadeform/model_availability.go | 0 v1/{ => providers}/shadeform/gen/shadeform/model_boot_time.go | 0 v1/{ => providers}/shadeform/gen/shadeform/model_cloud.go | 0 .../shadeform/gen/shadeform/model_create_request.go | 0 .../shadeform/gen/shadeform/model_create_response.go | 0 .../shadeform/gen/shadeform/model_create_volume_request.go | 0 .../shadeform/gen/shadeform/model_create_volume_response.go | 0 .../shadeform/gen/shadeform/model_docker_configuration.go | 0 v1/{ => providers}/shadeform/gen/shadeform/model_env.go | 0 .../shadeform/gen/shadeform/model_featured_template.go | 0 .../gen/shadeform/model_featured_templates_response.go | 0 v1/{ => providers}/shadeform/gen/shadeform/model_instance.go | 0 .../shadeform/gen/shadeform/model_instance_configuration.go | 0 .../shadeform/gen/shadeform/model_instance_info_response.go | 0 .../shadeform/gen/shadeform/model_instance_port_mappings.go | 0 .../shadeform/gen/shadeform/model_instance_type.go | 0 .../gen/shadeform/model_instance_type_configuration.go | 0 .../shadeform/gen/shadeform/model_instance_types_response.go | 0 .../shadeform/gen/shadeform/model_instances_response.go | 0 .../shadeform/gen/shadeform/model_launch_configuration.go | 0 v1/{ => providers}/shadeform/gen/shadeform/model_networking.go | 0 .../shadeform/gen/shadeform/model_port_mappings.go | 0 .../shadeform/gen/shadeform/model_registry_credentials.go | 0 .../shadeform/gen/shadeform/model_script_configuration.go | 0 v1/{ => providers}/shadeform/gen/shadeform/model_ssh_key.go | 0 .../shadeform/gen/shadeform/model_ssh_keys_response.go | 0 v1/{ => providers}/shadeform/gen/shadeform/model_status.go | 0 v1/{ => providers}/shadeform/gen/shadeform/model_template.go | 0 .../shadeform/gen/shadeform/model_template_create_response.go | 0 .../shadeform/gen/shadeform/model_template_save_request.go | 0 .../shadeform/gen/shadeform/model_templates_response.go | 0 v1/{ => providers}/shadeform/gen/shadeform/model_ufw_rule.go | 0 .../shadeform/gen/shadeform/model_update_request.go | 0 v1/{ => providers}/shadeform/gen/shadeform/model_volume.go | 0 .../shadeform/gen/shadeform/model_volume_mount.go | 0 .../shadeform/gen/shadeform/model_volume_mounts.go | 0 .../shadeform/gen/shadeform/model_volume_types_inner.go | 0 .../shadeform/gen/shadeform/model_volumes_response.go | 0 .../shadeform/gen/shadeform/model_volumes_types_response.go | 0 v1/{ => providers}/shadeform/gen/shadeform/response.go | 0 .../shadeform/gen/shadeform/test/api_default_test.go | 2 +- v1/{ => providers}/shadeform/gen/shadeform/utils.go | 0 v1/{ => providers}/shadeform/instance.go | 2 +- v1/{ => providers}/shadeform/instancetype.go | 2 +- v1/{ => providers}/shadeform/ufw.go | 0 v1/{ => providers}/shadeform/validation_test.go | 2 +- 307 files changed, 27 insertions(+), 27 deletions(-) rename v1/{ => providers}/fluidstack/Makefile (100%) rename v1/{ => providers}/fluidstack/README.md (100%) rename v1/{ => providers}/fluidstack/SECURITY.md (100%) rename v1/{ => providers}/fluidstack/capabilities.go (100%) rename v1/{ => providers}/fluidstack/client.go (97%) rename v1/{ => providers}/fluidstack/gen/fluidstack/.gitignore (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/.openapi-generator-ignore (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/.openapi-generator/FILES (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/.openapi-generator/VERSION (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/.travis.yml (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/README.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/api/openapi.yaml (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/api_capabilities.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/api_capacity.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/api_filesystems.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/api_instance_types.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/api_instances.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/api_kubernetes.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/api_projects.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/api_slurm.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/client.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/configuration.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/Accelerator.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/CapabilitiesAPI.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/Capability.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/CapacityAPI.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/Error.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/Filesystem.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/FilesystemsAPI.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/FilesystemsPostRequest.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/Instance.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/InstanceState.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/InstanceType.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/InstanceTypesAPI.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/InstancesAPI.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/InstancesPostRequest.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/KubernetesAPI.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/KubernetesCluster.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/KubernetesClustersPostRequest.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/KubernetesNode.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/KubernetesNodeConditionsInner.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/KubernetesNodePool.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/KubernetesNodePoolPostRequest.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/KubernetesNodeTaintsInner.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/ListCapacity200ResponseInner.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/Project.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/ProjectState.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/ProjectsAPI.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/ProjectsPostRequest.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/SlurmAPI.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/SlurmCluster.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/SlurmClustersPostRequest.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/SlurmLoginNode.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/SlurmNode.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/SlurmNodePool.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/docs/SlurmNodePoolPostRequest.md (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/git_push.sh (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_accelerator.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_capability.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_error.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_filesystem.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_filesystems_post_request.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_instance.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_instance_state.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_instance_type.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_instances_post_request.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_kubernetes_cluster.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_kubernetes_clusters_post_request.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_kubernetes_node.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_kubernetes_node_conditions_inner.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_kubernetes_node_pool.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_kubernetes_node_pool_post_request.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_kubernetes_node_taints_inner.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_list_capacity_200_response_inner.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_project.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_project_state.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_projects_post_request.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_slurm_cluster.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_slurm_clusters_post_request.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_slurm_login_node.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_slurm_node.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_slurm_node_pool.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/model_slurm_node_pool_post_request.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/response.go (100%) rename v1/{ => providers}/fluidstack/gen/fluidstack/test/api_capabilities_test.go (90%) rename v1/{ => providers}/fluidstack/gen/fluidstack/test/api_capacity_test.go (89%) rename v1/{ => providers}/fluidstack/gen/fluidstack/test/api_filesystems_test.go (95%) rename v1/{ => providers}/fluidstack/gen/fluidstack/test/api_instance_types_test.go (90%) rename v1/{ => providers}/fluidstack/gen/fluidstack/test/api_instances_test.go (96%) rename v1/{ => providers}/fluidstack/gen/fluidstack/test/api_kubernetes_test.go (97%) rename v1/{ => providers}/fluidstack/gen/fluidstack/test/api_projects_test.go (95%) rename v1/{ => providers}/fluidstack/gen/fluidstack/test/api_slurm_test.go (97%) rename v1/{ => providers}/fluidstack/gen/fluidstack/utils.go (100%) rename v1/{ => providers}/fluidstack/instance.go (98%) rename v1/{ => providers}/fluidstack/instancetype.go (97%) rename v1/{ => providers}/lambdalabs/CONTRIBUTE.md (100%) rename v1/{ => providers}/lambdalabs/Makefile (100%) rename v1/{ => providers}/lambdalabs/README.md (100%) rename v1/{ => providers}/lambdalabs/SECURITY.md (100%) rename v1/{ => providers}/lambdalabs/capabilities.go (100%) rename v1/{ => providers}/lambdalabs/capabilities_test.go (100%) rename v1/{ => providers}/lambdalabs/client.go (98%) rename v1/{ => providers}/lambdalabs/client_test.go (97%) rename v1/{ => providers}/lambdalabs/common_test.go (94%) rename v1/{ => providers}/lambdalabs/credential.go (100%) rename v1/{ => providers}/lambdalabs/credential_test.go (100%) rename v1/{ => providers}/lambdalabs/errors.go (95%) rename v1/{ => providers}/lambdalabs/errors_test.go (99%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/.gitignore (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/.openapi-generator-ignore (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/.openapi-generator/FILES (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/.openapi-generator/VERSION (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/.travis.yml (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/README.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/api/openapi.yaml (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/api_default.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/client.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/configuration.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/AddSSHKey200Response.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/AddSSHKeyRequest.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/DefaultAPI.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/ErrorCode.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/ErrorResponseBody.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/FileSystem.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/GetInstance200Response.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/Instance.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/InstanceType.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/InstanceTypeSpecs.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/InstanceTypes200Response.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/InstanceTypes200ResponseDataValue.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/LaunchInstance200Response.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/LaunchInstance200ResponseData.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/LaunchInstanceRequest.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/ListFileSystems200Response.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/ListInstances200Response.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/ListSSHKeys200Response.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/ModelError.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/Region.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/RestartInstance200Response.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/RestartInstance200ResponseData.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/RestartInstanceRequest.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/SshKey.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/TerminateInstance200Response.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/TerminateInstance200ResponseData.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/TerminateInstanceRequest.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/docs/User.md (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/git_push.sh (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_add_ssh_key_200_response.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_add_ssh_key_request.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_error.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_error_code.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_error_response_body.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_file_system.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_get_instance_200_response.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_instance.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_instance_type.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_instance_type_specs.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_instance_types_200_response.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_instance_types_200_response_data_value.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_launch_instance_200_response.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_launch_instance_200_response_data.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_launch_instance_request.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_list_file_systems_200_response.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_list_instances_200_response.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_list_ssh_keys_200_response.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_region.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_restart_instance_200_response.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_restart_instance_200_response_data.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_restart_instance_request.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_ssh_key.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response_data.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_terminate_instance_request.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/model_user.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/response.go (100%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/test/api_default_test.go (97%) rename v1/{ => providers}/lambdalabs/gen/lambdalabs/utils.go (100%) rename v1/{ => providers}/lambdalabs/helpers_test.go (100%) rename v1/{ => providers}/lambdalabs/instance.go (99%) rename v1/{ => providers}/lambdalabs/instance_test.go (99%) rename v1/{ => providers}/lambdalabs/instancetype.go (98%) rename v1/{ => providers}/lambdalabs/instancetype_test.go (99%) rename v1/{ => providers}/lambdalabs/location.go (100%) rename v1/{ => providers}/lambdalabs/location_test.go (100%) rename v1/{ => providers}/lambdalabs/validation_test.go (100%) rename v1/{ => providers}/nebius/CONTRIBUTE.md (100%) rename v1/{ => providers}/nebius/README.md (100%) rename v1/{ => providers}/nebius/SECURITY.md (100%) rename v1/{ => providers}/nebius/capabilities.go (100%) rename v1/{ => providers}/nebius/client.go (100%) rename v1/{ => providers}/nebius/image.go (100%) rename v1/{ => providers}/nebius/instance.go (100%) rename v1/{ => providers}/nebius/instancetype.go (100%) rename v1/{ => providers}/nebius/location.go (100%) rename v1/{ => providers}/nebius/networking.go (100%) rename v1/{ => providers}/nebius/quota.go (100%) rename v1/{ => providers}/nebius/storage.go (100%) rename v1/{ => providers}/nebius/tags.go (100%) rename v1/{ => providers}/shadeform/Makefile (100%) rename v1/{ => providers}/shadeform/capabilities.go (100%) rename v1/{ => providers}/shadeform/client.go (97%) rename v1/{ => providers}/shadeform/configuration.go (83%) rename v1/{ => providers}/shadeform/gen/shadeform/.gitignore (100%) rename v1/{ => providers}/shadeform/gen/shadeform/.openapi-generator-ignore (100%) rename v1/{ => providers}/shadeform/gen/shadeform/.openapi-generator/FILES (100%) rename v1/{ => providers}/shadeform/gen/shadeform/.openapi-generator/VERSION (100%) rename v1/{ => providers}/shadeform/gen/shadeform/.travis.yml (100%) rename v1/{ => providers}/shadeform/gen/shadeform/README.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/api/openapi.yaml (100%) rename v1/{ => providers}/shadeform/gen/shadeform/api_default.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/client.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/configuration.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/AddSshKeyRequest.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/AddSshKeyResponse.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/Alert.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/AutoDelete.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/Availability.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/BootTime.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/Cloud.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/CreateRequest.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/CreateResponse.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/CreateVolumeRequest.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/CreateVolumeResponse.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/DefaultAPI.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/DockerConfiguration.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/Env.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/FeaturedTemplate.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/FeaturedTemplatesResponse.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/Instance.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/InstanceConfiguration.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/InstanceInfoResponse.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/InstancePortMappings.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/InstanceType.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/InstanceTypeConfiguration.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/InstanceTypesResponse.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/InstancesResponse.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/LaunchConfiguration.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/Networking.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/PortMappings.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/RegistryCredentials.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/ScriptConfiguration.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/SshKey.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/SshKeysResponse.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/Status.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/Template.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/TemplateCreateResponse.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/TemplateSaveRequest.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/TemplatesResponse.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/UfwRule.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/UpdateRequest.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/Volume.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/VolumeMount.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/VolumeMounts.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/VolumeTypesInner.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/VolumesResponse.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/docs/VolumesTypesResponse.md (100%) rename v1/{ => providers}/shadeform/gen/shadeform/git_push.sh (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_add_ssh_key_request.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_add_ssh_key_response.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_alert.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_auto_delete.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_availability.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_boot_time.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_cloud.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_create_request.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_create_response.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_create_volume_request.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_create_volume_response.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_docker_configuration.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_env.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_featured_template.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_featured_templates_response.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_instance.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_instance_configuration.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_instance_info_response.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_instance_port_mappings.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_instance_type.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_instance_type_configuration.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_instance_types_response.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_instances_response.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_launch_configuration.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_networking.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_port_mappings.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_registry_credentials.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_script_configuration.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_ssh_key.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_ssh_keys_response.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_status.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_template.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_template_create_response.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_template_save_request.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_templates_response.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_ufw_rule.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_update_request.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_volume.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_volume_mount.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_volume_mounts.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_volume_types_inner.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_volumes_response.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/model_volumes_types_response.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/response.go (100%) rename v1/{ => providers}/shadeform/gen/shadeform/test/api_default_test.go (98%) rename v1/{ => providers}/shadeform/gen/shadeform/utils.go (100%) rename v1/{ => providers}/shadeform/instance.go (99%) rename v1/{ => providers}/shadeform/instancetype.go (98%) rename v1/{ => providers}/shadeform/ufw.go (100%) rename v1/{ => providers}/shadeform/validation_test.go (97%) diff --git a/v1/fluidstack/Makefile b/v1/providers/fluidstack/Makefile similarity index 100% rename from v1/fluidstack/Makefile rename to v1/providers/fluidstack/Makefile diff --git a/v1/fluidstack/README.md b/v1/providers/fluidstack/README.md similarity index 100% rename from v1/fluidstack/README.md rename to v1/providers/fluidstack/README.md diff --git a/v1/fluidstack/SECURITY.md b/v1/providers/fluidstack/SECURITY.md similarity index 100% rename from v1/fluidstack/SECURITY.md rename to v1/providers/fluidstack/SECURITY.md diff --git a/v1/fluidstack/capabilities.go b/v1/providers/fluidstack/capabilities.go similarity index 100% rename from v1/fluidstack/capabilities.go rename to v1/providers/fluidstack/capabilities.go diff --git a/v1/fluidstack/client.go b/v1/providers/fluidstack/client.go similarity index 97% rename from v1/fluidstack/client.go rename to v1/providers/fluidstack/client.go index 3f297916..5016d526 100644 --- a/v1/fluidstack/client.go +++ b/v1/providers/fluidstack/client.go @@ -7,7 +7,7 @@ import ( "net/http" "github.com/brevdev/cloud/v1" - openapi "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" + openapi "github.com/brevdev/cloud/v1/providers/fluidstack/gen/fluidstack" ) const CloudProviderID = "fluidstack" diff --git a/v1/fluidstack/gen/fluidstack/.gitignore b/v1/providers/fluidstack/gen/fluidstack/.gitignore similarity index 100% rename from v1/fluidstack/gen/fluidstack/.gitignore rename to v1/providers/fluidstack/gen/fluidstack/.gitignore diff --git a/v1/fluidstack/gen/fluidstack/.openapi-generator-ignore b/v1/providers/fluidstack/gen/fluidstack/.openapi-generator-ignore similarity index 100% rename from v1/fluidstack/gen/fluidstack/.openapi-generator-ignore rename to v1/providers/fluidstack/gen/fluidstack/.openapi-generator-ignore diff --git a/v1/fluidstack/gen/fluidstack/.openapi-generator/FILES b/v1/providers/fluidstack/gen/fluidstack/.openapi-generator/FILES similarity index 100% rename from v1/fluidstack/gen/fluidstack/.openapi-generator/FILES rename to v1/providers/fluidstack/gen/fluidstack/.openapi-generator/FILES diff --git a/v1/fluidstack/gen/fluidstack/.openapi-generator/VERSION b/v1/providers/fluidstack/gen/fluidstack/.openapi-generator/VERSION similarity index 100% rename from v1/fluidstack/gen/fluidstack/.openapi-generator/VERSION rename to v1/providers/fluidstack/gen/fluidstack/.openapi-generator/VERSION diff --git a/v1/fluidstack/gen/fluidstack/.travis.yml b/v1/providers/fluidstack/gen/fluidstack/.travis.yml similarity index 100% rename from v1/fluidstack/gen/fluidstack/.travis.yml rename to v1/providers/fluidstack/gen/fluidstack/.travis.yml diff --git a/v1/fluidstack/gen/fluidstack/README.md b/v1/providers/fluidstack/gen/fluidstack/README.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/README.md rename to v1/providers/fluidstack/gen/fluidstack/README.md diff --git a/v1/fluidstack/gen/fluidstack/api/openapi.yaml b/v1/providers/fluidstack/gen/fluidstack/api/openapi.yaml similarity index 100% rename from v1/fluidstack/gen/fluidstack/api/openapi.yaml rename to v1/providers/fluidstack/gen/fluidstack/api/openapi.yaml diff --git a/v1/fluidstack/gen/fluidstack/api_capabilities.go b/v1/providers/fluidstack/gen/fluidstack/api_capabilities.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/api_capabilities.go rename to v1/providers/fluidstack/gen/fluidstack/api_capabilities.go diff --git a/v1/fluidstack/gen/fluidstack/api_capacity.go b/v1/providers/fluidstack/gen/fluidstack/api_capacity.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/api_capacity.go rename to v1/providers/fluidstack/gen/fluidstack/api_capacity.go diff --git a/v1/fluidstack/gen/fluidstack/api_filesystems.go b/v1/providers/fluidstack/gen/fluidstack/api_filesystems.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/api_filesystems.go rename to v1/providers/fluidstack/gen/fluidstack/api_filesystems.go diff --git a/v1/fluidstack/gen/fluidstack/api_instance_types.go b/v1/providers/fluidstack/gen/fluidstack/api_instance_types.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/api_instance_types.go rename to v1/providers/fluidstack/gen/fluidstack/api_instance_types.go diff --git a/v1/fluidstack/gen/fluidstack/api_instances.go b/v1/providers/fluidstack/gen/fluidstack/api_instances.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/api_instances.go rename to v1/providers/fluidstack/gen/fluidstack/api_instances.go diff --git a/v1/fluidstack/gen/fluidstack/api_kubernetes.go b/v1/providers/fluidstack/gen/fluidstack/api_kubernetes.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/api_kubernetes.go rename to v1/providers/fluidstack/gen/fluidstack/api_kubernetes.go diff --git a/v1/fluidstack/gen/fluidstack/api_projects.go b/v1/providers/fluidstack/gen/fluidstack/api_projects.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/api_projects.go rename to v1/providers/fluidstack/gen/fluidstack/api_projects.go diff --git a/v1/fluidstack/gen/fluidstack/api_slurm.go b/v1/providers/fluidstack/gen/fluidstack/api_slurm.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/api_slurm.go rename to v1/providers/fluidstack/gen/fluidstack/api_slurm.go diff --git a/v1/fluidstack/gen/fluidstack/client.go b/v1/providers/fluidstack/gen/fluidstack/client.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/client.go rename to v1/providers/fluidstack/gen/fluidstack/client.go diff --git a/v1/fluidstack/gen/fluidstack/configuration.go b/v1/providers/fluidstack/gen/fluidstack/configuration.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/configuration.go rename to v1/providers/fluidstack/gen/fluidstack/configuration.go diff --git a/v1/fluidstack/gen/fluidstack/docs/Accelerator.md b/v1/providers/fluidstack/gen/fluidstack/docs/Accelerator.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/Accelerator.md rename to v1/providers/fluidstack/gen/fluidstack/docs/Accelerator.md diff --git a/v1/fluidstack/gen/fluidstack/docs/CapabilitiesAPI.md b/v1/providers/fluidstack/gen/fluidstack/docs/CapabilitiesAPI.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/CapabilitiesAPI.md rename to v1/providers/fluidstack/gen/fluidstack/docs/CapabilitiesAPI.md diff --git a/v1/fluidstack/gen/fluidstack/docs/Capability.md b/v1/providers/fluidstack/gen/fluidstack/docs/Capability.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/Capability.md rename to v1/providers/fluidstack/gen/fluidstack/docs/Capability.md diff --git a/v1/fluidstack/gen/fluidstack/docs/CapacityAPI.md b/v1/providers/fluidstack/gen/fluidstack/docs/CapacityAPI.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/CapacityAPI.md rename to v1/providers/fluidstack/gen/fluidstack/docs/CapacityAPI.md diff --git a/v1/fluidstack/gen/fluidstack/docs/Error.md b/v1/providers/fluidstack/gen/fluidstack/docs/Error.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/Error.md rename to v1/providers/fluidstack/gen/fluidstack/docs/Error.md diff --git a/v1/fluidstack/gen/fluidstack/docs/Filesystem.md b/v1/providers/fluidstack/gen/fluidstack/docs/Filesystem.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/Filesystem.md rename to v1/providers/fluidstack/gen/fluidstack/docs/Filesystem.md diff --git a/v1/fluidstack/gen/fluidstack/docs/FilesystemsAPI.md b/v1/providers/fluidstack/gen/fluidstack/docs/FilesystemsAPI.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/FilesystemsAPI.md rename to v1/providers/fluidstack/gen/fluidstack/docs/FilesystemsAPI.md diff --git a/v1/fluidstack/gen/fluidstack/docs/FilesystemsPostRequest.md b/v1/providers/fluidstack/gen/fluidstack/docs/FilesystemsPostRequest.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/FilesystemsPostRequest.md rename to v1/providers/fluidstack/gen/fluidstack/docs/FilesystemsPostRequest.md diff --git a/v1/fluidstack/gen/fluidstack/docs/Instance.md b/v1/providers/fluidstack/gen/fluidstack/docs/Instance.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/Instance.md rename to v1/providers/fluidstack/gen/fluidstack/docs/Instance.md diff --git a/v1/fluidstack/gen/fluidstack/docs/InstanceState.md b/v1/providers/fluidstack/gen/fluidstack/docs/InstanceState.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/InstanceState.md rename to v1/providers/fluidstack/gen/fluidstack/docs/InstanceState.md diff --git a/v1/fluidstack/gen/fluidstack/docs/InstanceType.md b/v1/providers/fluidstack/gen/fluidstack/docs/InstanceType.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/InstanceType.md rename to v1/providers/fluidstack/gen/fluidstack/docs/InstanceType.md diff --git a/v1/fluidstack/gen/fluidstack/docs/InstanceTypesAPI.md b/v1/providers/fluidstack/gen/fluidstack/docs/InstanceTypesAPI.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/InstanceTypesAPI.md rename to v1/providers/fluidstack/gen/fluidstack/docs/InstanceTypesAPI.md diff --git a/v1/fluidstack/gen/fluidstack/docs/InstancesAPI.md b/v1/providers/fluidstack/gen/fluidstack/docs/InstancesAPI.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/InstancesAPI.md rename to v1/providers/fluidstack/gen/fluidstack/docs/InstancesAPI.md diff --git a/v1/fluidstack/gen/fluidstack/docs/InstancesPostRequest.md b/v1/providers/fluidstack/gen/fluidstack/docs/InstancesPostRequest.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/InstancesPostRequest.md rename to v1/providers/fluidstack/gen/fluidstack/docs/InstancesPostRequest.md diff --git a/v1/fluidstack/gen/fluidstack/docs/KubernetesAPI.md b/v1/providers/fluidstack/gen/fluidstack/docs/KubernetesAPI.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/KubernetesAPI.md rename to v1/providers/fluidstack/gen/fluidstack/docs/KubernetesAPI.md diff --git a/v1/fluidstack/gen/fluidstack/docs/KubernetesCluster.md b/v1/providers/fluidstack/gen/fluidstack/docs/KubernetesCluster.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/KubernetesCluster.md rename to v1/providers/fluidstack/gen/fluidstack/docs/KubernetesCluster.md diff --git a/v1/fluidstack/gen/fluidstack/docs/KubernetesClustersPostRequest.md b/v1/providers/fluidstack/gen/fluidstack/docs/KubernetesClustersPostRequest.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/KubernetesClustersPostRequest.md rename to v1/providers/fluidstack/gen/fluidstack/docs/KubernetesClustersPostRequest.md diff --git a/v1/fluidstack/gen/fluidstack/docs/KubernetesNode.md b/v1/providers/fluidstack/gen/fluidstack/docs/KubernetesNode.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/KubernetesNode.md rename to v1/providers/fluidstack/gen/fluidstack/docs/KubernetesNode.md diff --git a/v1/fluidstack/gen/fluidstack/docs/KubernetesNodeConditionsInner.md b/v1/providers/fluidstack/gen/fluidstack/docs/KubernetesNodeConditionsInner.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/KubernetesNodeConditionsInner.md rename to v1/providers/fluidstack/gen/fluidstack/docs/KubernetesNodeConditionsInner.md diff --git a/v1/fluidstack/gen/fluidstack/docs/KubernetesNodePool.md b/v1/providers/fluidstack/gen/fluidstack/docs/KubernetesNodePool.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/KubernetesNodePool.md rename to v1/providers/fluidstack/gen/fluidstack/docs/KubernetesNodePool.md diff --git a/v1/fluidstack/gen/fluidstack/docs/KubernetesNodePoolPostRequest.md b/v1/providers/fluidstack/gen/fluidstack/docs/KubernetesNodePoolPostRequest.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/KubernetesNodePoolPostRequest.md rename to v1/providers/fluidstack/gen/fluidstack/docs/KubernetesNodePoolPostRequest.md diff --git a/v1/fluidstack/gen/fluidstack/docs/KubernetesNodeTaintsInner.md b/v1/providers/fluidstack/gen/fluidstack/docs/KubernetesNodeTaintsInner.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/KubernetesNodeTaintsInner.md rename to v1/providers/fluidstack/gen/fluidstack/docs/KubernetesNodeTaintsInner.md diff --git a/v1/fluidstack/gen/fluidstack/docs/ListCapacity200ResponseInner.md b/v1/providers/fluidstack/gen/fluidstack/docs/ListCapacity200ResponseInner.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/ListCapacity200ResponseInner.md rename to v1/providers/fluidstack/gen/fluidstack/docs/ListCapacity200ResponseInner.md diff --git a/v1/fluidstack/gen/fluidstack/docs/Project.md b/v1/providers/fluidstack/gen/fluidstack/docs/Project.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/Project.md rename to v1/providers/fluidstack/gen/fluidstack/docs/Project.md diff --git a/v1/fluidstack/gen/fluidstack/docs/ProjectState.md b/v1/providers/fluidstack/gen/fluidstack/docs/ProjectState.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/ProjectState.md rename to v1/providers/fluidstack/gen/fluidstack/docs/ProjectState.md diff --git a/v1/fluidstack/gen/fluidstack/docs/ProjectsAPI.md b/v1/providers/fluidstack/gen/fluidstack/docs/ProjectsAPI.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/ProjectsAPI.md rename to v1/providers/fluidstack/gen/fluidstack/docs/ProjectsAPI.md diff --git a/v1/fluidstack/gen/fluidstack/docs/ProjectsPostRequest.md b/v1/providers/fluidstack/gen/fluidstack/docs/ProjectsPostRequest.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/ProjectsPostRequest.md rename to v1/providers/fluidstack/gen/fluidstack/docs/ProjectsPostRequest.md diff --git a/v1/fluidstack/gen/fluidstack/docs/SlurmAPI.md b/v1/providers/fluidstack/gen/fluidstack/docs/SlurmAPI.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/SlurmAPI.md rename to v1/providers/fluidstack/gen/fluidstack/docs/SlurmAPI.md diff --git a/v1/fluidstack/gen/fluidstack/docs/SlurmCluster.md b/v1/providers/fluidstack/gen/fluidstack/docs/SlurmCluster.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/SlurmCluster.md rename to v1/providers/fluidstack/gen/fluidstack/docs/SlurmCluster.md diff --git a/v1/fluidstack/gen/fluidstack/docs/SlurmClustersPostRequest.md b/v1/providers/fluidstack/gen/fluidstack/docs/SlurmClustersPostRequest.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/SlurmClustersPostRequest.md rename to v1/providers/fluidstack/gen/fluidstack/docs/SlurmClustersPostRequest.md diff --git a/v1/fluidstack/gen/fluidstack/docs/SlurmLoginNode.md b/v1/providers/fluidstack/gen/fluidstack/docs/SlurmLoginNode.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/SlurmLoginNode.md rename to v1/providers/fluidstack/gen/fluidstack/docs/SlurmLoginNode.md diff --git a/v1/fluidstack/gen/fluidstack/docs/SlurmNode.md b/v1/providers/fluidstack/gen/fluidstack/docs/SlurmNode.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/SlurmNode.md rename to v1/providers/fluidstack/gen/fluidstack/docs/SlurmNode.md diff --git a/v1/fluidstack/gen/fluidstack/docs/SlurmNodePool.md b/v1/providers/fluidstack/gen/fluidstack/docs/SlurmNodePool.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/SlurmNodePool.md rename to v1/providers/fluidstack/gen/fluidstack/docs/SlurmNodePool.md diff --git a/v1/fluidstack/gen/fluidstack/docs/SlurmNodePoolPostRequest.md b/v1/providers/fluidstack/gen/fluidstack/docs/SlurmNodePoolPostRequest.md similarity index 100% rename from v1/fluidstack/gen/fluidstack/docs/SlurmNodePoolPostRequest.md rename to v1/providers/fluidstack/gen/fluidstack/docs/SlurmNodePoolPostRequest.md diff --git a/v1/fluidstack/gen/fluidstack/git_push.sh b/v1/providers/fluidstack/gen/fluidstack/git_push.sh similarity index 100% rename from v1/fluidstack/gen/fluidstack/git_push.sh rename to v1/providers/fluidstack/gen/fluidstack/git_push.sh diff --git a/v1/fluidstack/gen/fluidstack/model_accelerator.go b/v1/providers/fluidstack/gen/fluidstack/model_accelerator.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_accelerator.go rename to v1/providers/fluidstack/gen/fluidstack/model_accelerator.go diff --git a/v1/fluidstack/gen/fluidstack/model_capability.go b/v1/providers/fluidstack/gen/fluidstack/model_capability.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_capability.go rename to v1/providers/fluidstack/gen/fluidstack/model_capability.go diff --git a/v1/fluidstack/gen/fluidstack/model_error.go b/v1/providers/fluidstack/gen/fluidstack/model_error.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_error.go rename to v1/providers/fluidstack/gen/fluidstack/model_error.go diff --git a/v1/fluidstack/gen/fluidstack/model_filesystem.go b/v1/providers/fluidstack/gen/fluidstack/model_filesystem.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_filesystem.go rename to v1/providers/fluidstack/gen/fluidstack/model_filesystem.go diff --git a/v1/fluidstack/gen/fluidstack/model_filesystems_post_request.go b/v1/providers/fluidstack/gen/fluidstack/model_filesystems_post_request.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_filesystems_post_request.go rename to v1/providers/fluidstack/gen/fluidstack/model_filesystems_post_request.go diff --git a/v1/fluidstack/gen/fluidstack/model_instance.go b/v1/providers/fluidstack/gen/fluidstack/model_instance.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_instance.go rename to v1/providers/fluidstack/gen/fluidstack/model_instance.go diff --git a/v1/fluidstack/gen/fluidstack/model_instance_state.go b/v1/providers/fluidstack/gen/fluidstack/model_instance_state.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_instance_state.go rename to v1/providers/fluidstack/gen/fluidstack/model_instance_state.go diff --git a/v1/fluidstack/gen/fluidstack/model_instance_type.go b/v1/providers/fluidstack/gen/fluidstack/model_instance_type.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_instance_type.go rename to v1/providers/fluidstack/gen/fluidstack/model_instance_type.go diff --git a/v1/fluidstack/gen/fluidstack/model_instances_post_request.go b/v1/providers/fluidstack/gen/fluidstack/model_instances_post_request.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_instances_post_request.go rename to v1/providers/fluidstack/gen/fluidstack/model_instances_post_request.go diff --git a/v1/fluidstack/gen/fluidstack/model_kubernetes_cluster.go b/v1/providers/fluidstack/gen/fluidstack/model_kubernetes_cluster.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_kubernetes_cluster.go rename to v1/providers/fluidstack/gen/fluidstack/model_kubernetes_cluster.go diff --git a/v1/fluidstack/gen/fluidstack/model_kubernetes_clusters_post_request.go b/v1/providers/fluidstack/gen/fluidstack/model_kubernetes_clusters_post_request.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_kubernetes_clusters_post_request.go rename to v1/providers/fluidstack/gen/fluidstack/model_kubernetes_clusters_post_request.go diff --git a/v1/fluidstack/gen/fluidstack/model_kubernetes_node.go b/v1/providers/fluidstack/gen/fluidstack/model_kubernetes_node.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_kubernetes_node.go rename to v1/providers/fluidstack/gen/fluidstack/model_kubernetes_node.go diff --git a/v1/fluidstack/gen/fluidstack/model_kubernetes_node_conditions_inner.go b/v1/providers/fluidstack/gen/fluidstack/model_kubernetes_node_conditions_inner.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_kubernetes_node_conditions_inner.go rename to v1/providers/fluidstack/gen/fluidstack/model_kubernetes_node_conditions_inner.go diff --git a/v1/fluidstack/gen/fluidstack/model_kubernetes_node_pool.go b/v1/providers/fluidstack/gen/fluidstack/model_kubernetes_node_pool.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_kubernetes_node_pool.go rename to v1/providers/fluidstack/gen/fluidstack/model_kubernetes_node_pool.go diff --git a/v1/fluidstack/gen/fluidstack/model_kubernetes_node_pool_post_request.go b/v1/providers/fluidstack/gen/fluidstack/model_kubernetes_node_pool_post_request.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_kubernetes_node_pool_post_request.go rename to v1/providers/fluidstack/gen/fluidstack/model_kubernetes_node_pool_post_request.go diff --git a/v1/fluidstack/gen/fluidstack/model_kubernetes_node_taints_inner.go b/v1/providers/fluidstack/gen/fluidstack/model_kubernetes_node_taints_inner.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_kubernetes_node_taints_inner.go rename to v1/providers/fluidstack/gen/fluidstack/model_kubernetes_node_taints_inner.go diff --git a/v1/fluidstack/gen/fluidstack/model_list_capacity_200_response_inner.go b/v1/providers/fluidstack/gen/fluidstack/model_list_capacity_200_response_inner.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_list_capacity_200_response_inner.go rename to v1/providers/fluidstack/gen/fluidstack/model_list_capacity_200_response_inner.go diff --git a/v1/fluidstack/gen/fluidstack/model_project.go b/v1/providers/fluidstack/gen/fluidstack/model_project.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_project.go rename to v1/providers/fluidstack/gen/fluidstack/model_project.go diff --git a/v1/fluidstack/gen/fluidstack/model_project_state.go b/v1/providers/fluidstack/gen/fluidstack/model_project_state.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_project_state.go rename to v1/providers/fluidstack/gen/fluidstack/model_project_state.go diff --git a/v1/fluidstack/gen/fluidstack/model_projects_post_request.go b/v1/providers/fluidstack/gen/fluidstack/model_projects_post_request.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_projects_post_request.go rename to v1/providers/fluidstack/gen/fluidstack/model_projects_post_request.go diff --git a/v1/fluidstack/gen/fluidstack/model_slurm_cluster.go b/v1/providers/fluidstack/gen/fluidstack/model_slurm_cluster.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_slurm_cluster.go rename to v1/providers/fluidstack/gen/fluidstack/model_slurm_cluster.go diff --git a/v1/fluidstack/gen/fluidstack/model_slurm_clusters_post_request.go b/v1/providers/fluidstack/gen/fluidstack/model_slurm_clusters_post_request.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_slurm_clusters_post_request.go rename to v1/providers/fluidstack/gen/fluidstack/model_slurm_clusters_post_request.go diff --git a/v1/fluidstack/gen/fluidstack/model_slurm_login_node.go b/v1/providers/fluidstack/gen/fluidstack/model_slurm_login_node.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_slurm_login_node.go rename to v1/providers/fluidstack/gen/fluidstack/model_slurm_login_node.go diff --git a/v1/fluidstack/gen/fluidstack/model_slurm_node.go b/v1/providers/fluidstack/gen/fluidstack/model_slurm_node.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_slurm_node.go rename to v1/providers/fluidstack/gen/fluidstack/model_slurm_node.go diff --git a/v1/fluidstack/gen/fluidstack/model_slurm_node_pool.go b/v1/providers/fluidstack/gen/fluidstack/model_slurm_node_pool.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_slurm_node_pool.go rename to v1/providers/fluidstack/gen/fluidstack/model_slurm_node_pool.go diff --git a/v1/fluidstack/gen/fluidstack/model_slurm_node_pool_post_request.go b/v1/providers/fluidstack/gen/fluidstack/model_slurm_node_pool_post_request.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/model_slurm_node_pool_post_request.go rename to v1/providers/fluidstack/gen/fluidstack/model_slurm_node_pool_post_request.go diff --git a/v1/fluidstack/gen/fluidstack/response.go b/v1/providers/fluidstack/gen/fluidstack/response.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/response.go rename to v1/providers/fluidstack/gen/fluidstack/response.go diff --git a/v1/fluidstack/gen/fluidstack/test/api_capabilities_test.go b/v1/providers/fluidstack/gen/fluidstack/test/api_capabilities_test.go similarity index 90% rename from v1/fluidstack/gen/fluidstack/test/api_capabilities_test.go rename to v1/providers/fluidstack/gen/fluidstack/test/api_capabilities_test.go index e2d849fb..b1db0261 100644 --- a/v1/fluidstack/gen/fluidstack/test/api_capabilities_test.go +++ b/v1/providers/fluidstack/gen/fluidstack/test/api_capabilities_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" + openapiclient "github.com/brevdev/cloud/v1/providers/fluidstack/gen/fluidstack" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/v1/fluidstack/gen/fluidstack/test/api_capacity_test.go b/v1/providers/fluidstack/gen/fluidstack/test/api_capacity_test.go similarity index 89% rename from v1/fluidstack/gen/fluidstack/test/api_capacity_test.go rename to v1/providers/fluidstack/gen/fluidstack/test/api_capacity_test.go index cfaa19e1..684a0fe3 100644 --- a/v1/fluidstack/gen/fluidstack/test/api_capacity_test.go +++ b/v1/providers/fluidstack/gen/fluidstack/test/api_capacity_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" + openapiclient "github.com/brevdev/cloud/v1/providers/fluidstack/gen/fluidstack" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/v1/fluidstack/gen/fluidstack/test/api_filesystems_test.go b/v1/providers/fluidstack/gen/fluidstack/test/api_filesystems_test.go similarity index 95% rename from v1/fluidstack/gen/fluidstack/test/api_filesystems_test.go rename to v1/providers/fluidstack/gen/fluidstack/test/api_filesystems_test.go index 3c8df1ae..6ac9d06d 100644 --- a/v1/fluidstack/gen/fluidstack/test/api_filesystems_test.go +++ b/v1/providers/fluidstack/gen/fluidstack/test/api_filesystems_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" + openapiclient "github.com/brevdev/cloud/v1/providers/fluidstack/gen/fluidstack" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/v1/fluidstack/gen/fluidstack/test/api_instance_types_test.go b/v1/providers/fluidstack/gen/fluidstack/test/api_instance_types_test.go similarity index 90% rename from v1/fluidstack/gen/fluidstack/test/api_instance_types_test.go rename to v1/providers/fluidstack/gen/fluidstack/test/api_instance_types_test.go index 396b0be4..3ee00820 100644 --- a/v1/fluidstack/gen/fluidstack/test/api_instance_types_test.go +++ b/v1/providers/fluidstack/gen/fluidstack/test/api_instance_types_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" + openapiclient "github.com/brevdev/cloud/v1/providers/fluidstack/gen/fluidstack" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/v1/fluidstack/gen/fluidstack/test/api_instances_test.go b/v1/providers/fluidstack/gen/fluidstack/test/api_instances_test.go similarity index 96% rename from v1/fluidstack/gen/fluidstack/test/api_instances_test.go rename to v1/providers/fluidstack/gen/fluidstack/test/api_instances_test.go index f8e30e2e..9dd3836c 100644 --- a/v1/fluidstack/gen/fluidstack/test/api_instances_test.go +++ b/v1/providers/fluidstack/gen/fluidstack/test/api_instances_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" + openapiclient "github.com/brevdev/cloud/v1/providers/fluidstack/gen/fluidstack" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/v1/fluidstack/gen/fluidstack/test/api_kubernetes_test.go b/v1/providers/fluidstack/gen/fluidstack/test/api_kubernetes_test.go similarity index 97% rename from v1/fluidstack/gen/fluidstack/test/api_kubernetes_test.go rename to v1/providers/fluidstack/gen/fluidstack/test/api_kubernetes_test.go index b075ee02..476bc54b 100644 --- a/v1/fluidstack/gen/fluidstack/test/api_kubernetes_test.go +++ b/v1/providers/fluidstack/gen/fluidstack/test/api_kubernetes_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" + openapiclient "github.com/brevdev/cloud/v1/providers/fluidstack/gen/fluidstack" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/v1/fluidstack/gen/fluidstack/test/api_projects_test.go b/v1/providers/fluidstack/gen/fluidstack/test/api_projects_test.go similarity index 95% rename from v1/fluidstack/gen/fluidstack/test/api_projects_test.go rename to v1/providers/fluidstack/gen/fluidstack/test/api_projects_test.go index 9da73ead..a40f4cd1 100644 --- a/v1/fluidstack/gen/fluidstack/test/api_projects_test.go +++ b/v1/providers/fluidstack/gen/fluidstack/test/api_projects_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" + openapiclient "github.com/brevdev/cloud/v1/providers/fluidstack/gen/fluidstack" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/v1/fluidstack/gen/fluidstack/test/api_slurm_test.go b/v1/providers/fluidstack/gen/fluidstack/test/api_slurm_test.go similarity index 97% rename from v1/fluidstack/gen/fluidstack/test/api_slurm_test.go rename to v1/providers/fluidstack/gen/fluidstack/test/api_slurm_test.go index 88988f0a..263fb1e3 100644 --- a/v1/fluidstack/gen/fluidstack/test/api_slurm_test.go +++ b/v1/providers/fluidstack/gen/fluidstack/test/api_slurm_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" + openapiclient "github.com/brevdev/cloud/v1/providers/fluidstack/gen/fluidstack" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/v1/fluidstack/gen/fluidstack/utils.go b/v1/providers/fluidstack/gen/fluidstack/utils.go similarity index 100% rename from v1/fluidstack/gen/fluidstack/utils.go rename to v1/providers/fluidstack/gen/fluidstack/utils.go diff --git a/v1/fluidstack/instance.go b/v1/providers/fluidstack/instance.go similarity index 98% rename from v1/fluidstack/instance.go rename to v1/providers/fluidstack/instance.go index 2b99e5fc..6e5e9c2c 100644 --- a/v1/fluidstack/instance.go +++ b/v1/providers/fluidstack/instance.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/brevdev/cloud/v1" - openapi "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" + openapi "github.com/brevdev/cloud/v1/providers/fluidstack/gen/fluidstack" ) func (c *FluidStackClient) CreateInstance(ctx context.Context, attrs v1.CreateInstanceAttrs) (*v1.Instance, error) { diff --git a/v1/fluidstack/instancetype.go b/v1/providers/fluidstack/instancetype.go similarity index 97% rename from v1/fluidstack/instancetype.go rename to v1/providers/fluidstack/instancetype.go index 65182cf8..3a6540d7 100644 --- a/v1/fluidstack/instancetype.go +++ b/v1/providers/fluidstack/instancetype.go @@ -10,7 +10,7 @@ import ( "github.com/alecthomas/units" "github.com/bojanz/currency" "github.com/brevdev/cloud/v1" - openapi "github.com/brevdev/cloud/v1/fluidstack/gen/fluidstack" + openapi "github.com/brevdev/cloud/v1/providers/fluidstack/gen/fluidstack" ) func (c *FluidStackClient) GetInstanceTypes(ctx context.Context, _ v1.GetInstanceTypeArgs) ([]v1.InstanceType, error) { diff --git a/v1/lambdalabs/CONTRIBUTE.md b/v1/providers/lambdalabs/CONTRIBUTE.md similarity index 100% rename from v1/lambdalabs/CONTRIBUTE.md rename to v1/providers/lambdalabs/CONTRIBUTE.md diff --git a/v1/lambdalabs/Makefile b/v1/providers/lambdalabs/Makefile similarity index 100% rename from v1/lambdalabs/Makefile rename to v1/providers/lambdalabs/Makefile diff --git a/v1/lambdalabs/README.md b/v1/providers/lambdalabs/README.md similarity index 100% rename from v1/lambdalabs/README.md rename to v1/providers/lambdalabs/README.md diff --git a/v1/lambdalabs/SECURITY.md b/v1/providers/lambdalabs/SECURITY.md similarity index 100% rename from v1/lambdalabs/SECURITY.md rename to v1/providers/lambdalabs/SECURITY.md diff --git a/v1/lambdalabs/capabilities.go b/v1/providers/lambdalabs/capabilities.go similarity index 100% rename from v1/lambdalabs/capabilities.go rename to v1/providers/lambdalabs/capabilities.go diff --git a/v1/lambdalabs/capabilities_test.go b/v1/providers/lambdalabs/capabilities_test.go similarity index 100% rename from v1/lambdalabs/capabilities_test.go rename to v1/providers/lambdalabs/capabilities_test.go diff --git a/v1/lambdalabs/client.go b/v1/providers/lambdalabs/client.go similarity index 98% rename from v1/lambdalabs/client.go rename to v1/providers/lambdalabs/client.go index e11c62e9..75db8bc9 100644 --- a/v1/lambdalabs/client.go +++ b/v1/providers/lambdalabs/client.go @@ -7,7 +7,7 @@ import ( "time" v1 "github.com/brevdev/cloud/v1" - openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" + openapi "github.com/brevdev/cloud/v1/providers/lambdalabs/gen/lambdalabs" "github.com/cenkalti/backoff/v4" ) diff --git a/v1/lambdalabs/client_test.go b/v1/providers/lambdalabs/client_test.go similarity index 97% rename from v1/lambdalabs/client_test.go rename to v1/providers/lambdalabs/client_test.go index 57262fdc..6e258a88 100644 --- a/v1/lambdalabs/client_test.go +++ b/v1/providers/lambdalabs/client_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" v1 "github.com/brevdev/cloud/v1" - openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" + openapi "github.com/brevdev/cloud/v1/providers/lambdalabs/gen/lambdalabs" ) func TestLambdaLabsClient_GetAPIType(t *testing.T) { diff --git a/v1/lambdalabs/common_test.go b/v1/providers/lambdalabs/common_test.go similarity index 94% rename from v1/lambdalabs/common_test.go rename to v1/providers/lambdalabs/common_test.go index ddccb042..4c4259a4 100644 --- a/v1/lambdalabs/common_test.go +++ b/v1/providers/lambdalabs/common_test.go @@ -1,7 +1,7 @@ package v1 import ( - openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" + openapi "github.com/brevdev/cloud/v1/providers/lambdalabs/gen/lambdalabs" "github.com/cenkalti/backoff/v4" "github.com/jarcoal/httpmock" ) diff --git a/v1/lambdalabs/credential.go b/v1/providers/lambdalabs/credential.go similarity index 100% rename from v1/lambdalabs/credential.go rename to v1/providers/lambdalabs/credential.go diff --git a/v1/lambdalabs/credential_test.go b/v1/providers/lambdalabs/credential_test.go similarity index 100% rename from v1/lambdalabs/credential_test.go rename to v1/providers/lambdalabs/credential_test.go diff --git a/v1/lambdalabs/errors.go b/v1/providers/lambdalabs/errors.go similarity index 95% rename from v1/lambdalabs/errors.go rename to v1/providers/lambdalabs/errors.go index 6c6356ee..b809c3d7 100644 --- a/v1/lambdalabs/errors.go +++ b/v1/providers/lambdalabs/errors.go @@ -8,7 +8,7 @@ import ( "strings" v1 "github.com/brevdev/cloud/v1" - openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" + openapi "github.com/brevdev/cloud/v1/providers/lambdalabs/gen/lambdalabs" "github.com/cenkalti/backoff/v4" ) diff --git a/v1/lambdalabs/errors_test.go b/v1/providers/lambdalabs/errors_test.go similarity index 99% rename from v1/lambdalabs/errors_test.go rename to v1/providers/lambdalabs/errors_test.go index c2381cec..8e49b77e 100644 --- a/v1/lambdalabs/errors_test.go +++ b/v1/providers/lambdalabs/errors_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/require" v1 "github.com/brevdev/cloud/v1" - openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" + openapi "github.com/brevdev/cloud/v1/providers/lambdalabs/gen/lambdalabs" ) func TestHandleAPIError_InstanceNotFound(t *testing.T) { diff --git a/v1/lambdalabs/gen/lambdalabs/.gitignore b/v1/providers/lambdalabs/gen/lambdalabs/.gitignore similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/.gitignore rename to v1/providers/lambdalabs/gen/lambdalabs/.gitignore diff --git a/v1/lambdalabs/gen/lambdalabs/.openapi-generator-ignore b/v1/providers/lambdalabs/gen/lambdalabs/.openapi-generator-ignore similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/.openapi-generator-ignore rename to v1/providers/lambdalabs/gen/lambdalabs/.openapi-generator-ignore diff --git a/v1/lambdalabs/gen/lambdalabs/.openapi-generator/FILES b/v1/providers/lambdalabs/gen/lambdalabs/.openapi-generator/FILES similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/.openapi-generator/FILES rename to v1/providers/lambdalabs/gen/lambdalabs/.openapi-generator/FILES diff --git a/v1/lambdalabs/gen/lambdalabs/.openapi-generator/VERSION b/v1/providers/lambdalabs/gen/lambdalabs/.openapi-generator/VERSION similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/.openapi-generator/VERSION rename to v1/providers/lambdalabs/gen/lambdalabs/.openapi-generator/VERSION diff --git a/v1/lambdalabs/gen/lambdalabs/.travis.yml b/v1/providers/lambdalabs/gen/lambdalabs/.travis.yml similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/.travis.yml rename to v1/providers/lambdalabs/gen/lambdalabs/.travis.yml diff --git a/v1/lambdalabs/gen/lambdalabs/README.md b/v1/providers/lambdalabs/gen/lambdalabs/README.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/README.md rename to v1/providers/lambdalabs/gen/lambdalabs/README.md diff --git a/v1/lambdalabs/gen/lambdalabs/api/openapi.yaml b/v1/providers/lambdalabs/gen/lambdalabs/api/openapi.yaml similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/api/openapi.yaml rename to v1/providers/lambdalabs/gen/lambdalabs/api/openapi.yaml diff --git a/v1/lambdalabs/gen/lambdalabs/api_default.go b/v1/providers/lambdalabs/gen/lambdalabs/api_default.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/api_default.go rename to v1/providers/lambdalabs/gen/lambdalabs/api_default.go diff --git a/v1/lambdalabs/gen/lambdalabs/client.go b/v1/providers/lambdalabs/gen/lambdalabs/client.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/client.go rename to v1/providers/lambdalabs/gen/lambdalabs/client.go diff --git a/v1/lambdalabs/gen/lambdalabs/configuration.go b/v1/providers/lambdalabs/gen/lambdalabs/configuration.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/configuration.go rename to v1/providers/lambdalabs/gen/lambdalabs/configuration.go diff --git a/v1/lambdalabs/gen/lambdalabs/docs/AddSSHKey200Response.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/AddSSHKey200Response.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/AddSSHKey200Response.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/AddSSHKey200Response.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/AddSSHKeyRequest.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/AddSSHKeyRequest.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/AddSSHKeyRequest.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/AddSSHKeyRequest.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/DefaultAPI.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/DefaultAPI.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/DefaultAPI.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/DefaultAPI.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/ErrorCode.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/ErrorCode.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/ErrorCode.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/ErrorCode.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/ErrorResponseBody.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/ErrorResponseBody.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/ErrorResponseBody.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/ErrorResponseBody.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/FileSystem.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/FileSystem.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/FileSystem.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/FileSystem.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/GetInstance200Response.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/GetInstance200Response.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/GetInstance200Response.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/GetInstance200Response.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/Instance.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/Instance.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/Instance.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/Instance.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/InstanceType.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/InstanceType.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/InstanceType.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/InstanceType.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/InstanceTypeSpecs.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/InstanceTypeSpecs.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/InstanceTypeSpecs.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/InstanceTypeSpecs.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/InstanceTypes200Response.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/InstanceTypes200Response.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/InstanceTypes200Response.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/InstanceTypes200Response.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/InstanceTypes200ResponseDataValue.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/InstanceTypes200ResponseDataValue.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/InstanceTypes200ResponseDataValue.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/InstanceTypes200ResponseDataValue.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/LaunchInstance200Response.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/LaunchInstance200Response.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/LaunchInstance200Response.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/LaunchInstance200Response.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/LaunchInstance200ResponseData.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/LaunchInstance200ResponseData.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/LaunchInstance200ResponseData.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/LaunchInstance200ResponseData.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/LaunchInstanceRequest.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/LaunchInstanceRequest.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/LaunchInstanceRequest.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/LaunchInstanceRequest.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/ListFileSystems200Response.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/ListFileSystems200Response.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/ListFileSystems200Response.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/ListFileSystems200Response.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/ListInstances200Response.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/ListInstances200Response.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/ListInstances200Response.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/ListInstances200Response.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/ListSSHKeys200Response.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/ListSSHKeys200Response.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/ListSSHKeys200Response.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/ListSSHKeys200Response.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/ModelError.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/ModelError.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/ModelError.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/ModelError.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/Region.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/Region.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/Region.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/Region.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/RestartInstance200Response.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/RestartInstance200Response.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/RestartInstance200Response.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/RestartInstance200Response.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/RestartInstance200ResponseData.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/RestartInstance200ResponseData.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/RestartInstance200ResponseData.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/RestartInstance200ResponseData.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/RestartInstanceRequest.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/RestartInstanceRequest.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/RestartInstanceRequest.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/RestartInstanceRequest.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/SshKey.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/SshKey.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/SshKey.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/SshKey.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/TerminateInstance200Response.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/TerminateInstance200Response.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/TerminateInstance200Response.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/TerminateInstance200Response.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/TerminateInstance200ResponseData.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/TerminateInstance200ResponseData.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/TerminateInstance200ResponseData.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/TerminateInstance200ResponseData.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/TerminateInstanceRequest.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/TerminateInstanceRequest.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/TerminateInstanceRequest.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/TerminateInstanceRequest.md diff --git a/v1/lambdalabs/gen/lambdalabs/docs/User.md b/v1/providers/lambdalabs/gen/lambdalabs/docs/User.md similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/docs/User.md rename to v1/providers/lambdalabs/gen/lambdalabs/docs/User.md diff --git a/v1/lambdalabs/gen/lambdalabs/git_push.sh b/v1/providers/lambdalabs/gen/lambdalabs/git_push.sh similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/git_push.sh rename to v1/providers/lambdalabs/gen/lambdalabs/git_push.sh diff --git a/v1/lambdalabs/gen/lambdalabs/model_add_ssh_key_200_response.go b/v1/providers/lambdalabs/gen/lambdalabs/model_add_ssh_key_200_response.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_add_ssh_key_200_response.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_add_ssh_key_200_response.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_add_ssh_key_request.go b/v1/providers/lambdalabs/gen/lambdalabs/model_add_ssh_key_request.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_add_ssh_key_request.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_add_ssh_key_request.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_error.go b/v1/providers/lambdalabs/gen/lambdalabs/model_error.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_error.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_error.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_error_code.go b/v1/providers/lambdalabs/gen/lambdalabs/model_error_code.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_error_code.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_error_code.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_error_response_body.go b/v1/providers/lambdalabs/gen/lambdalabs/model_error_response_body.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_error_response_body.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_error_response_body.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_file_system.go b/v1/providers/lambdalabs/gen/lambdalabs/model_file_system.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_file_system.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_file_system.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_get_instance_200_response.go b/v1/providers/lambdalabs/gen/lambdalabs/model_get_instance_200_response.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_get_instance_200_response.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_get_instance_200_response.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_instance.go b/v1/providers/lambdalabs/gen/lambdalabs/model_instance.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_instance.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_instance.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_instance_type.go b/v1/providers/lambdalabs/gen/lambdalabs/model_instance_type.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_instance_type.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_instance_type.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_instance_type_specs.go b/v1/providers/lambdalabs/gen/lambdalabs/model_instance_type_specs.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_instance_type_specs.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_instance_type_specs.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_instance_types_200_response.go b/v1/providers/lambdalabs/gen/lambdalabs/model_instance_types_200_response.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_instance_types_200_response.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_instance_types_200_response.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_instance_types_200_response_data_value.go b/v1/providers/lambdalabs/gen/lambdalabs/model_instance_types_200_response_data_value.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_instance_types_200_response_data_value.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_instance_types_200_response_data_value.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_launch_instance_200_response.go b/v1/providers/lambdalabs/gen/lambdalabs/model_launch_instance_200_response.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_launch_instance_200_response.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_launch_instance_200_response.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_launch_instance_200_response_data.go b/v1/providers/lambdalabs/gen/lambdalabs/model_launch_instance_200_response_data.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_launch_instance_200_response_data.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_launch_instance_200_response_data.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_launch_instance_request.go b/v1/providers/lambdalabs/gen/lambdalabs/model_launch_instance_request.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_launch_instance_request.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_launch_instance_request.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_list_file_systems_200_response.go b/v1/providers/lambdalabs/gen/lambdalabs/model_list_file_systems_200_response.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_list_file_systems_200_response.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_list_file_systems_200_response.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_list_instances_200_response.go b/v1/providers/lambdalabs/gen/lambdalabs/model_list_instances_200_response.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_list_instances_200_response.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_list_instances_200_response.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_list_ssh_keys_200_response.go b/v1/providers/lambdalabs/gen/lambdalabs/model_list_ssh_keys_200_response.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_list_ssh_keys_200_response.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_list_ssh_keys_200_response.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_region.go b/v1/providers/lambdalabs/gen/lambdalabs/model_region.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_region.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_region.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_restart_instance_200_response.go b/v1/providers/lambdalabs/gen/lambdalabs/model_restart_instance_200_response.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_restart_instance_200_response.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_restart_instance_200_response.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_restart_instance_200_response_data.go b/v1/providers/lambdalabs/gen/lambdalabs/model_restart_instance_200_response_data.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_restart_instance_200_response_data.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_restart_instance_200_response_data.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_restart_instance_request.go b/v1/providers/lambdalabs/gen/lambdalabs/model_restart_instance_request.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_restart_instance_request.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_restart_instance_request.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_ssh_key.go b/v1/providers/lambdalabs/gen/lambdalabs/model_ssh_key.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_ssh_key.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_ssh_key.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response.go b/v1/providers/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response_data.go b/v1/providers/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response_data.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response_data.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_terminate_instance_200_response_data.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_terminate_instance_request.go b/v1/providers/lambdalabs/gen/lambdalabs/model_terminate_instance_request.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_terminate_instance_request.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_terminate_instance_request.go diff --git a/v1/lambdalabs/gen/lambdalabs/model_user.go b/v1/providers/lambdalabs/gen/lambdalabs/model_user.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/model_user.go rename to v1/providers/lambdalabs/gen/lambdalabs/model_user.go diff --git a/v1/lambdalabs/gen/lambdalabs/response.go b/v1/providers/lambdalabs/gen/lambdalabs/response.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/response.go rename to v1/providers/lambdalabs/gen/lambdalabs/response.go diff --git a/v1/lambdalabs/gen/lambdalabs/test/api_default_test.go b/v1/providers/lambdalabs/gen/lambdalabs/test/api_default_test.go similarity index 97% rename from v1/lambdalabs/gen/lambdalabs/test/api_default_test.go rename to v1/providers/lambdalabs/gen/lambdalabs/test/api_default_test.go index b4a9a9cc..7296e42e 100644 --- a/v1/lambdalabs/gen/lambdalabs/test/api_default_test.go +++ b/v1/providers/lambdalabs/gen/lambdalabs/test/api_default_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" + openapiclient "github.com/brevdev/cloud/v1/providers/lambdalabs/gen/lambdalabs" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/v1/lambdalabs/gen/lambdalabs/utils.go b/v1/providers/lambdalabs/gen/lambdalabs/utils.go similarity index 100% rename from v1/lambdalabs/gen/lambdalabs/utils.go rename to v1/providers/lambdalabs/gen/lambdalabs/utils.go diff --git a/v1/lambdalabs/helpers_test.go b/v1/providers/lambdalabs/helpers_test.go similarity index 100% rename from v1/lambdalabs/helpers_test.go rename to v1/providers/lambdalabs/helpers_test.go diff --git a/v1/lambdalabs/instance.go b/v1/providers/lambdalabs/instance.go similarity index 99% rename from v1/lambdalabs/instance.go rename to v1/providers/lambdalabs/instance.go index 87452b37..a0180280 100644 --- a/v1/lambdalabs/instance.go +++ b/v1/providers/lambdalabs/instance.go @@ -10,7 +10,7 @@ import ( "github.com/alecthomas/units" "github.com/brevdev/cloud/internal/collections" v1 "github.com/brevdev/cloud/v1" - openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" + openapi "github.com/brevdev/cloud/v1/providers/lambdalabs/gen/lambdalabs" ) const lambdaLabsTimeNameFormat = "2006-01-02-15-04-05Z07-00" diff --git a/v1/lambdalabs/instance_test.go b/v1/providers/lambdalabs/instance_test.go similarity index 99% rename from v1/lambdalabs/instance_test.go rename to v1/providers/lambdalabs/instance_test.go index faac43e1..6020659d 100644 --- a/v1/lambdalabs/instance_test.go +++ b/v1/providers/lambdalabs/instance_test.go @@ -11,7 +11,7 @@ import ( "github.com/brevdev/cloud/internal/collections" v1 "github.com/brevdev/cloud/v1" - openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" + openapi "github.com/brevdev/cloud/v1/providers/lambdalabs/gen/lambdalabs" ) func TestLambdaLabsClient_CreateInstance_Success(t *testing.T) { diff --git a/v1/lambdalabs/instancetype.go b/v1/providers/lambdalabs/instancetype.go similarity index 98% rename from v1/lambdalabs/instancetype.go rename to v1/providers/lambdalabs/instancetype.go index b801d324..a1091cb7 100644 --- a/v1/lambdalabs/instancetype.go +++ b/v1/providers/lambdalabs/instancetype.go @@ -12,7 +12,7 @@ import ( "github.com/bojanz/currency" "github.com/brevdev/cloud/internal/collections" v1 "github.com/brevdev/cloud/v1" - openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" + openapi "github.com/brevdev/cloud/v1/providers/lambdalabs/gen/lambdalabs" ) // GetInstanceTypePollTime returns the polling interval for instance types diff --git a/v1/lambdalabs/instancetype_test.go b/v1/providers/lambdalabs/instancetype_test.go similarity index 99% rename from v1/lambdalabs/instancetype_test.go rename to v1/providers/lambdalabs/instancetype_test.go index 2de486d3..6d306ab9 100644 --- a/v1/lambdalabs/instancetype_test.go +++ b/v1/providers/lambdalabs/instancetype_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/require" v1 "github.com/brevdev/cloud/v1" - openapi "github.com/brevdev/cloud/v1/lambdalabs/gen/lambdalabs" + openapi "github.com/brevdev/cloud/v1/providers/lambdalabs/gen/lambdalabs" ) func TestLambdaLabsClient_GetInstanceTypes_Success(t *testing.T) { diff --git a/v1/lambdalabs/location.go b/v1/providers/lambdalabs/location.go similarity index 100% rename from v1/lambdalabs/location.go rename to v1/providers/lambdalabs/location.go diff --git a/v1/lambdalabs/location_test.go b/v1/providers/lambdalabs/location_test.go similarity index 100% rename from v1/lambdalabs/location_test.go rename to v1/providers/lambdalabs/location_test.go diff --git a/v1/lambdalabs/validation_test.go b/v1/providers/lambdalabs/validation_test.go similarity index 100% rename from v1/lambdalabs/validation_test.go rename to v1/providers/lambdalabs/validation_test.go diff --git a/v1/nebius/CONTRIBUTE.md b/v1/providers/nebius/CONTRIBUTE.md similarity index 100% rename from v1/nebius/CONTRIBUTE.md rename to v1/providers/nebius/CONTRIBUTE.md diff --git a/v1/nebius/README.md b/v1/providers/nebius/README.md similarity index 100% rename from v1/nebius/README.md rename to v1/providers/nebius/README.md diff --git a/v1/nebius/SECURITY.md b/v1/providers/nebius/SECURITY.md similarity index 100% rename from v1/nebius/SECURITY.md rename to v1/providers/nebius/SECURITY.md diff --git a/v1/nebius/capabilities.go b/v1/providers/nebius/capabilities.go similarity index 100% rename from v1/nebius/capabilities.go rename to v1/providers/nebius/capabilities.go diff --git a/v1/nebius/client.go b/v1/providers/nebius/client.go similarity index 100% rename from v1/nebius/client.go rename to v1/providers/nebius/client.go diff --git a/v1/nebius/image.go b/v1/providers/nebius/image.go similarity index 100% rename from v1/nebius/image.go rename to v1/providers/nebius/image.go diff --git a/v1/nebius/instance.go b/v1/providers/nebius/instance.go similarity index 100% rename from v1/nebius/instance.go rename to v1/providers/nebius/instance.go diff --git a/v1/nebius/instancetype.go b/v1/providers/nebius/instancetype.go similarity index 100% rename from v1/nebius/instancetype.go rename to v1/providers/nebius/instancetype.go diff --git a/v1/nebius/location.go b/v1/providers/nebius/location.go similarity index 100% rename from v1/nebius/location.go rename to v1/providers/nebius/location.go diff --git a/v1/nebius/networking.go b/v1/providers/nebius/networking.go similarity index 100% rename from v1/nebius/networking.go rename to v1/providers/nebius/networking.go diff --git a/v1/nebius/quota.go b/v1/providers/nebius/quota.go similarity index 100% rename from v1/nebius/quota.go rename to v1/providers/nebius/quota.go diff --git a/v1/nebius/storage.go b/v1/providers/nebius/storage.go similarity index 100% rename from v1/nebius/storage.go rename to v1/providers/nebius/storage.go diff --git a/v1/nebius/tags.go b/v1/providers/nebius/tags.go similarity index 100% rename from v1/nebius/tags.go rename to v1/providers/nebius/tags.go diff --git a/v1/shadeform/Makefile b/v1/providers/shadeform/Makefile similarity index 100% rename from v1/shadeform/Makefile rename to v1/providers/shadeform/Makefile diff --git a/v1/shadeform/capabilities.go b/v1/providers/shadeform/capabilities.go similarity index 100% rename from v1/shadeform/capabilities.go rename to v1/providers/shadeform/capabilities.go diff --git a/v1/shadeform/client.go b/v1/providers/shadeform/client.go similarity index 97% rename from v1/shadeform/client.go rename to v1/providers/shadeform/client.go index 56052d1b..8340ec12 100644 --- a/v1/shadeform/client.go +++ b/v1/providers/shadeform/client.go @@ -7,7 +7,7 @@ import ( "net/http" v1 "github.com/brevdev/cloud/v1" - openapi "github.com/brevdev/cloud/v1/shadeform/gen/shadeform" + openapi "github.com/brevdev/cloud/v1/providers/shadeform/gen/shadeform" ) const CloudProviderID = "shadeform" diff --git a/v1/shadeform/configuration.go b/v1/providers/shadeform/configuration.go similarity index 83% rename from v1/shadeform/configuration.go rename to v1/providers/shadeform/configuration.go index 49cbf370..90b29063 100644 --- a/v1/shadeform/configuration.go +++ b/v1/providers/shadeform/configuration.go @@ -1,7 +1,7 @@ package v1 import ( - openapi "github.com/brevdev/cloud/v1/shadeform/gen/shadeform" + openapi "github.com/brevdev/cloud/v1/providers/shadeform/gen/shadeform" ) type Configuration struct { diff --git a/v1/shadeform/gen/shadeform/.gitignore b/v1/providers/shadeform/gen/shadeform/.gitignore similarity index 100% rename from v1/shadeform/gen/shadeform/.gitignore rename to v1/providers/shadeform/gen/shadeform/.gitignore diff --git a/v1/shadeform/gen/shadeform/.openapi-generator-ignore b/v1/providers/shadeform/gen/shadeform/.openapi-generator-ignore similarity index 100% rename from v1/shadeform/gen/shadeform/.openapi-generator-ignore rename to v1/providers/shadeform/gen/shadeform/.openapi-generator-ignore diff --git a/v1/shadeform/gen/shadeform/.openapi-generator/FILES b/v1/providers/shadeform/gen/shadeform/.openapi-generator/FILES similarity index 100% rename from v1/shadeform/gen/shadeform/.openapi-generator/FILES rename to v1/providers/shadeform/gen/shadeform/.openapi-generator/FILES diff --git a/v1/shadeform/gen/shadeform/.openapi-generator/VERSION b/v1/providers/shadeform/gen/shadeform/.openapi-generator/VERSION similarity index 100% rename from v1/shadeform/gen/shadeform/.openapi-generator/VERSION rename to v1/providers/shadeform/gen/shadeform/.openapi-generator/VERSION diff --git a/v1/shadeform/gen/shadeform/.travis.yml b/v1/providers/shadeform/gen/shadeform/.travis.yml similarity index 100% rename from v1/shadeform/gen/shadeform/.travis.yml rename to v1/providers/shadeform/gen/shadeform/.travis.yml diff --git a/v1/shadeform/gen/shadeform/README.md b/v1/providers/shadeform/gen/shadeform/README.md similarity index 100% rename from v1/shadeform/gen/shadeform/README.md rename to v1/providers/shadeform/gen/shadeform/README.md diff --git a/v1/shadeform/gen/shadeform/api/openapi.yaml b/v1/providers/shadeform/gen/shadeform/api/openapi.yaml similarity index 100% rename from v1/shadeform/gen/shadeform/api/openapi.yaml rename to v1/providers/shadeform/gen/shadeform/api/openapi.yaml diff --git a/v1/shadeform/gen/shadeform/api_default.go b/v1/providers/shadeform/gen/shadeform/api_default.go similarity index 100% rename from v1/shadeform/gen/shadeform/api_default.go rename to v1/providers/shadeform/gen/shadeform/api_default.go diff --git a/v1/shadeform/gen/shadeform/client.go b/v1/providers/shadeform/gen/shadeform/client.go similarity index 100% rename from v1/shadeform/gen/shadeform/client.go rename to v1/providers/shadeform/gen/shadeform/client.go diff --git a/v1/shadeform/gen/shadeform/configuration.go b/v1/providers/shadeform/gen/shadeform/configuration.go similarity index 100% rename from v1/shadeform/gen/shadeform/configuration.go rename to v1/providers/shadeform/gen/shadeform/configuration.go diff --git a/v1/shadeform/gen/shadeform/docs/AddSshKeyRequest.md b/v1/providers/shadeform/gen/shadeform/docs/AddSshKeyRequest.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/AddSshKeyRequest.md rename to v1/providers/shadeform/gen/shadeform/docs/AddSshKeyRequest.md diff --git a/v1/shadeform/gen/shadeform/docs/AddSshKeyResponse.md b/v1/providers/shadeform/gen/shadeform/docs/AddSshKeyResponse.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/AddSshKeyResponse.md rename to v1/providers/shadeform/gen/shadeform/docs/AddSshKeyResponse.md diff --git a/v1/shadeform/gen/shadeform/docs/Alert.md b/v1/providers/shadeform/gen/shadeform/docs/Alert.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/Alert.md rename to v1/providers/shadeform/gen/shadeform/docs/Alert.md diff --git a/v1/shadeform/gen/shadeform/docs/AutoDelete.md b/v1/providers/shadeform/gen/shadeform/docs/AutoDelete.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/AutoDelete.md rename to v1/providers/shadeform/gen/shadeform/docs/AutoDelete.md diff --git a/v1/shadeform/gen/shadeform/docs/Availability.md b/v1/providers/shadeform/gen/shadeform/docs/Availability.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/Availability.md rename to v1/providers/shadeform/gen/shadeform/docs/Availability.md diff --git a/v1/shadeform/gen/shadeform/docs/BootTime.md b/v1/providers/shadeform/gen/shadeform/docs/BootTime.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/BootTime.md rename to v1/providers/shadeform/gen/shadeform/docs/BootTime.md diff --git a/v1/shadeform/gen/shadeform/docs/Cloud.md b/v1/providers/shadeform/gen/shadeform/docs/Cloud.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/Cloud.md rename to v1/providers/shadeform/gen/shadeform/docs/Cloud.md diff --git a/v1/shadeform/gen/shadeform/docs/CreateRequest.md b/v1/providers/shadeform/gen/shadeform/docs/CreateRequest.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/CreateRequest.md rename to v1/providers/shadeform/gen/shadeform/docs/CreateRequest.md diff --git a/v1/shadeform/gen/shadeform/docs/CreateResponse.md b/v1/providers/shadeform/gen/shadeform/docs/CreateResponse.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/CreateResponse.md rename to v1/providers/shadeform/gen/shadeform/docs/CreateResponse.md diff --git a/v1/shadeform/gen/shadeform/docs/CreateVolumeRequest.md b/v1/providers/shadeform/gen/shadeform/docs/CreateVolumeRequest.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/CreateVolumeRequest.md rename to v1/providers/shadeform/gen/shadeform/docs/CreateVolumeRequest.md diff --git a/v1/shadeform/gen/shadeform/docs/CreateVolumeResponse.md b/v1/providers/shadeform/gen/shadeform/docs/CreateVolumeResponse.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/CreateVolumeResponse.md rename to v1/providers/shadeform/gen/shadeform/docs/CreateVolumeResponse.md diff --git a/v1/shadeform/gen/shadeform/docs/DefaultAPI.md b/v1/providers/shadeform/gen/shadeform/docs/DefaultAPI.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/DefaultAPI.md rename to v1/providers/shadeform/gen/shadeform/docs/DefaultAPI.md diff --git a/v1/shadeform/gen/shadeform/docs/DockerConfiguration.md b/v1/providers/shadeform/gen/shadeform/docs/DockerConfiguration.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/DockerConfiguration.md rename to v1/providers/shadeform/gen/shadeform/docs/DockerConfiguration.md diff --git a/v1/shadeform/gen/shadeform/docs/Env.md b/v1/providers/shadeform/gen/shadeform/docs/Env.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/Env.md rename to v1/providers/shadeform/gen/shadeform/docs/Env.md diff --git a/v1/shadeform/gen/shadeform/docs/FeaturedTemplate.md b/v1/providers/shadeform/gen/shadeform/docs/FeaturedTemplate.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/FeaturedTemplate.md rename to v1/providers/shadeform/gen/shadeform/docs/FeaturedTemplate.md diff --git a/v1/shadeform/gen/shadeform/docs/FeaturedTemplatesResponse.md b/v1/providers/shadeform/gen/shadeform/docs/FeaturedTemplatesResponse.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/FeaturedTemplatesResponse.md rename to v1/providers/shadeform/gen/shadeform/docs/FeaturedTemplatesResponse.md diff --git a/v1/shadeform/gen/shadeform/docs/Instance.md b/v1/providers/shadeform/gen/shadeform/docs/Instance.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/Instance.md rename to v1/providers/shadeform/gen/shadeform/docs/Instance.md diff --git a/v1/shadeform/gen/shadeform/docs/InstanceConfiguration.md b/v1/providers/shadeform/gen/shadeform/docs/InstanceConfiguration.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/InstanceConfiguration.md rename to v1/providers/shadeform/gen/shadeform/docs/InstanceConfiguration.md diff --git a/v1/shadeform/gen/shadeform/docs/InstanceInfoResponse.md b/v1/providers/shadeform/gen/shadeform/docs/InstanceInfoResponse.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/InstanceInfoResponse.md rename to v1/providers/shadeform/gen/shadeform/docs/InstanceInfoResponse.md diff --git a/v1/shadeform/gen/shadeform/docs/InstancePortMappings.md b/v1/providers/shadeform/gen/shadeform/docs/InstancePortMappings.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/InstancePortMappings.md rename to v1/providers/shadeform/gen/shadeform/docs/InstancePortMappings.md diff --git a/v1/shadeform/gen/shadeform/docs/InstanceType.md b/v1/providers/shadeform/gen/shadeform/docs/InstanceType.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/InstanceType.md rename to v1/providers/shadeform/gen/shadeform/docs/InstanceType.md diff --git a/v1/shadeform/gen/shadeform/docs/InstanceTypeConfiguration.md b/v1/providers/shadeform/gen/shadeform/docs/InstanceTypeConfiguration.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/InstanceTypeConfiguration.md rename to v1/providers/shadeform/gen/shadeform/docs/InstanceTypeConfiguration.md diff --git a/v1/shadeform/gen/shadeform/docs/InstanceTypesResponse.md b/v1/providers/shadeform/gen/shadeform/docs/InstanceTypesResponse.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/InstanceTypesResponse.md rename to v1/providers/shadeform/gen/shadeform/docs/InstanceTypesResponse.md diff --git a/v1/shadeform/gen/shadeform/docs/InstancesResponse.md b/v1/providers/shadeform/gen/shadeform/docs/InstancesResponse.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/InstancesResponse.md rename to v1/providers/shadeform/gen/shadeform/docs/InstancesResponse.md diff --git a/v1/shadeform/gen/shadeform/docs/LaunchConfiguration.md b/v1/providers/shadeform/gen/shadeform/docs/LaunchConfiguration.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/LaunchConfiguration.md rename to v1/providers/shadeform/gen/shadeform/docs/LaunchConfiguration.md diff --git a/v1/shadeform/gen/shadeform/docs/Networking.md b/v1/providers/shadeform/gen/shadeform/docs/Networking.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/Networking.md rename to v1/providers/shadeform/gen/shadeform/docs/Networking.md diff --git a/v1/shadeform/gen/shadeform/docs/PortMappings.md b/v1/providers/shadeform/gen/shadeform/docs/PortMappings.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/PortMappings.md rename to v1/providers/shadeform/gen/shadeform/docs/PortMappings.md diff --git a/v1/shadeform/gen/shadeform/docs/RegistryCredentials.md b/v1/providers/shadeform/gen/shadeform/docs/RegistryCredentials.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/RegistryCredentials.md rename to v1/providers/shadeform/gen/shadeform/docs/RegistryCredentials.md diff --git a/v1/shadeform/gen/shadeform/docs/ScriptConfiguration.md b/v1/providers/shadeform/gen/shadeform/docs/ScriptConfiguration.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/ScriptConfiguration.md rename to v1/providers/shadeform/gen/shadeform/docs/ScriptConfiguration.md diff --git a/v1/shadeform/gen/shadeform/docs/SshKey.md b/v1/providers/shadeform/gen/shadeform/docs/SshKey.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/SshKey.md rename to v1/providers/shadeform/gen/shadeform/docs/SshKey.md diff --git a/v1/shadeform/gen/shadeform/docs/SshKeysResponse.md b/v1/providers/shadeform/gen/shadeform/docs/SshKeysResponse.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/SshKeysResponse.md rename to v1/providers/shadeform/gen/shadeform/docs/SshKeysResponse.md diff --git a/v1/shadeform/gen/shadeform/docs/Status.md b/v1/providers/shadeform/gen/shadeform/docs/Status.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/Status.md rename to v1/providers/shadeform/gen/shadeform/docs/Status.md diff --git a/v1/shadeform/gen/shadeform/docs/Template.md b/v1/providers/shadeform/gen/shadeform/docs/Template.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/Template.md rename to v1/providers/shadeform/gen/shadeform/docs/Template.md diff --git a/v1/shadeform/gen/shadeform/docs/TemplateCreateResponse.md b/v1/providers/shadeform/gen/shadeform/docs/TemplateCreateResponse.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/TemplateCreateResponse.md rename to v1/providers/shadeform/gen/shadeform/docs/TemplateCreateResponse.md diff --git a/v1/shadeform/gen/shadeform/docs/TemplateSaveRequest.md b/v1/providers/shadeform/gen/shadeform/docs/TemplateSaveRequest.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/TemplateSaveRequest.md rename to v1/providers/shadeform/gen/shadeform/docs/TemplateSaveRequest.md diff --git a/v1/shadeform/gen/shadeform/docs/TemplatesResponse.md b/v1/providers/shadeform/gen/shadeform/docs/TemplatesResponse.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/TemplatesResponse.md rename to v1/providers/shadeform/gen/shadeform/docs/TemplatesResponse.md diff --git a/v1/shadeform/gen/shadeform/docs/UfwRule.md b/v1/providers/shadeform/gen/shadeform/docs/UfwRule.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/UfwRule.md rename to v1/providers/shadeform/gen/shadeform/docs/UfwRule.md diff --git a/v1/shadeform/gen/shadeform/docs/UpdateRequest.md b/v1/providers/shadeform/gen/shadeform/docs/UpdateRequest.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/UpdateRequest.md rename to v1/providers/shadeform/gen/shadeform/docs/UpdateRequest.md diff --git a/v1/shadeform/gen/shadeform/docs/Volume.md b/v1/providers/shadeform/gen/shadeform/docs/Volume.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/Volume.md rename to v1/providers/shadeform/gen/shadeform/docs/Volume.md diff --git a/v1/shadeform/gen/shadeform/docs/VolumeMount.md b/v1/providers/shadeform/gen/shadeform/docs/VolumeMount.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/VolumeMount.md rename to v1/providers/shadeform/gen/shadeform/docs/VolumeMount.md diff --git a/v1/shadeform/gen/shadeform/docs/VolumeMounts.md b/v1/providers/shadeform/gen/shadeform/docs/VolumeMounts.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/VolumeMounts.md rename to v1/providers/shadeform/gen/shadeform/docs/VolumeMounts.md diff --git a/v1/shadeform/gen/shadeform/docs/VolumeTypesInner.md b/v1/providers/shadeform/gen/shadeform/docs/VolumeTypesInner.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/VolumeTypesInner.md rename to v1/providers/shadeform/gen/shadeform/docs/VolumeTypesInner.md diff --git a/v1/shadeform/gen/shadeform/docs/VolumesResponse.md b/v1/providers/shadeform/gen/shadeform/docs/VolumesResponse.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/VolumesResponse.md rename to v1/providers/shadeform/gen/shadeform/docs/VolumesResponse.md diff --git a/v1/shadeform/gen/shadeform/docs/VolumesTypesResponse.md b/v1/providers/shadeform/gen/shadeform/docs/VolumesTypesResponse.md similarity index 100% rename from v1/shadeform/gen/shadeform/docs/VolumesTypesResponse.md rename to v1/providers/shadeform/gen/shadeform/docs/VolumesTypesResponse.md diff --git a/v1/shadeform/gen/shadeform/git_push.sh b/v1/providers/shadeform/gen/shadeform/git_push.sh similarity index 100% rename from v1/shadeform/gen/shadeform/git_push.sh rename to v1/providers/shadeform/gen/shadeform/git_push.sh diff --git a/v1/shadeform/gen/shadeform/model_add_ssh_key_request.go b/v1/providers/shadeform/gen/shadeform/model_add_ssh_key_request.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_add_ssh_key_request.go rename to v1/providers/shadeform/gen/shadeform/model_add_ssh_key_request.go diff --git a/v1/shadeform/gen/shadeform/model_add_ssh_key_response.go b/v1/providers/shadeform/gen/shadeform/model_add_ssh_key_response.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_add_ssh_key_response.go rename to v1/providers/shadeform/gen/shadeform/model_add_ssh_key_response.go diff --git a/v1/shadeform/gen/shadeform/model_alert.go b/v1/providers/shadeform/gen/shadeform/model_alert.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_alert.go rename to v1/providers/shadeform/gen/shadeform/model_alert.go diff --git a/v1/shadeform/gen/shadeform/model_auto_delete.go b/v1/providers/shadeform/gen/shadeform/model_auto_delete.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_auto_delete.go rename to v1/providers/shadeform/gen/shadeform/model_auto_delete.go diff --git a/v1/shadeform/gen/shadeform/model_availability.go b/v1/providers/shadeform/gen/shadeform/model_availability.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_availability.go rename to v1/providers/shadeform/gen/shadeform/model_availability.go diff --git a/v1/shadeform/gen/shadeform/model_boot_time.go b/v1/providers/shadeform/gen/shadeform/model_boot_time.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_boot_time.go rename to v1/providers/shadeform/gen/shadeform/model_boot_time.go diff --git a/v1/shadeform/gen/shadeform/model_cloud.go b/v1/providers/shadeform/gen/shadeform/model_cloud.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_cloud.go rename to v1/providers/shadeform/gen/shadeform/model_cloud.go diff --git a/v1/shadeform/gen/shadeform/model_create_request.go b/v1/providers/shadeform/gen/shadeform/model_create_request.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_create_request.go rename to v1/providers/shadeform/gen/shadeform/model_create_request.go diff --git a/v1/shadeform/gen/shadeform/model_create_response.go b/v1/providers/shadeform/gen/shadeform/model_create_response.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_create_response.go rename to v1/providers/shadeform/gen/shadeform/model_create_response.go diff --git a/v1/shadeform/gen/shadeform/model_create_volume_request.go b/v1/providers/shadeform/gen/shadeform/model_create_volume_request.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_create_volume_request.go rename to v1/providers/shadeform/gen/shadeform/model_create_volume_request.go diff --git a/v1/shadeform/gen/shadeform/model_create_volume_response.go b/v1/providers/shadeform/gen/shadeform/model_create_volume_response.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_create_volume_response.go rename to v1/providers/shadeform/gen/shadeform/model_create_volume_response.go diff --git a/v1/shadeform/gen/shadeform/model_docker_configuration.go b/v1/providers/shadeform/gen/shadeform/model_docker_configuration.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_docker_configuration.go rename to v1/providers/shadeform/gen/shadeform/model_docker_configuration.go diff --git a/v1/shadeform/gen/shadeform/model_env.go b/v1/providers/shadeform/gen/shadeform/model_env.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_env.go rename to v1/providers/shadeform/gen/shadeform/model_env.go diff --git a/v1/shadeform/gen/shadeform/model_featured_template.go b/v1/providers/shadeform/gen/shadeform/model_featured_template.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_featured_template.go rename to v1/providers/shadeform/gen/shadeform/model_featured_template.go diff --git a/v1/shadeform/gen/shadeform/model_featured_templates_response.go b/v1/providers/shadeform/gen/shadeform/model_featured_templates_response.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_featured_templates_response.go rename to v1/providers/shadeform/gen/shadeform/model_featured_templates_response.go diff --git a/v1/shadeform/gen/shadeform/model_instance.go b/v1/providers/shadeform/gen/shadeform/model_instance.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_instance.go rename to v1/providers/shadeform/gen/shadeform/model_instance.go diff --git a/v1/shadeform/gen/shadeform/model_instance_configuration.go b/v1/providers/shadeform/gen/shadeform/model_instance_configuration.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_instance_configuration.go rename to v1/providers/shadeform/gen/shadeform/model_instance_configuration.go diff --git a/v1/shadeform/gen/shadeform/model_instance_info_response.go b/v1/providers/shadeform/gen/shadeform/model_instance_info_response.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_instance_info_response.go rename to v1/providers/shadeform/gen/shadeform/model_instance_info_response.go diff --git a/v1/shadeform/gen/shadeform/model_instance_port_mappings.go b/v1/providers/shadeform/gen/shadeform/model_instance_port_mappings.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_instance_port_mappings.go rename to v1/providers/shadeform/gen/shadeform/model_instance_port_mappings.go diff --git a/v1/shadeform/gen/shadeform/model_instance_type.go b/v1/providers/shadeform/gen/shadeform/model_instance_type.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_instance_type.go rename to v1/providers/shadeform/gen/shadeform/model_instance_type.go diff --git a/v1/shadeform/gen/shadeform/model_instance_type_configuration.go b/v1/providers/shadeform/gen/shadeform/model_instance_type_configuration.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_instance_type_configuration.go rename to v1/providers/shadeform/gen/shadeform/model_instance_type_configuration.go diff --git a/v1/shadeform/gen/shadeform/model_instance_types_response.go b/v1/providers/shadeform/gen/shadeform/model_instance_types_response.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_instance_types_response.go rename to v1/providers/shadeform/gen/shadeform/model_instance_types_response.go diff --git a/v1/shadeform/gen/shadeform/model_instances_response.go b/v1/providers/shadeform/gen/shadeform/model_instances_response.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_instances_response.go rename to v1/providers/shadeform/gen/shadeform/model_instances_response.go diff --git a/v1/shadeform/gen/shadeform/model_launch_configuration.go b/v1/providers/shadeform/gen/shadeform/model_launch_configuration.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_launch_configuration.go rename to v1/providers/shadeform/gen/shadeform/model_launch_configuration.go diff --git a/v1/shadeform/gen/shadeform/model_networking.go b/v1/providers/shadeform/gen/shadeform/model_networking.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_networking.go rename to v1/providers/shadeform/gen/shadeform/model_networking.go diff --git a/v1/shadeform/gen/shadeform/model_port_mappings.go b/v1/providers/shadeform/gen/shadeform/model_port_mappings.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_port_mappings.go rename to v1/providers/shadeform/gen/shadeform/model_port_mappings.go diff --git a/v1/shadeform/gen/shadeform/model_registry_credentials.go b/v1/providers/shadeform/gen/shadeform/model_registry_credentials.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_registry_credentials.go rename to v1/providers/shadeform/gen/shadeform/model_registry_credentials.go diff --git a/v1/shadeform/gen/shadeform/model_script_configuration.go b/v1/providers/shadeform/gen/shadeform/model_script_configuration.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_script_configuration.go rename to v1/providers/shadeform/gen/shadeform/model_script_configuration.go diff --git a/v1/shadeform/gen/shadeform/model_ssh_key.go b/v1/providers/shadeform/gen/shadeform/model_ssh_key.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_ssh_key.go rename to v1/providers/shadeform/gen/shadeform/model_ssh_key.go diff --git a/v1/shadeform/gen/shadeform/model_ssh_keys_response.go b/v1/providers/shadeform/gen/shadeform/model_ssh_keys_response.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_ssh_keys_response.go rename to v1/providers/shadeform/gen/shadeform/model_ssh_keys_response.go diff --git a/v1/shadeform/gen/shadeform/model_status.go b/v1/providers/shadeform/gen/shadeform/model_status.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_status.go rename to v1/providers/shadeform/gen/shadeform/model_status.go diff --git a/v1/shadeform/gen/shadeform/model_template.go b/v1/providers/shadeform/gen/shadeform/model_template.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_template.go rename to v1/providers/shadeform/gen/shadeform/model_template.go diff --git a/v1/shadeform/gen/shadeform/model_template_create_response.go b/v1/providers/shadeform/gen/shadeform/model_template_create_response.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_template_create_response.go rename to v1/providers/shadeform/gen/shadeform/model_template_create_response.go diff --git a/v1/shadeform/gen/shadeform/model_template_save_request.go b/v1/providers/shadeform/gen/shadeform/model_template_save_request.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_template_save_request.go rename to v1/providers/shadeform/gen/shadeform/model_template_save_request.go diff --git a/v1/shadeform/gen/shadeform/model_templates_response.go b/v1/providers/shadeform/gen/shadeform/model_templates_response.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_templates_response.go rename to v1/providers/shadeform/gen/shadeform/model_templates_response.go diff --git a/v1/shadeform/gen/shadeform/model_ufw_rule.go b/v1/providers/shadeform/gen/shadeform/model_ufw_rule.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_ufw_rule.go rename to v1/providers/shadeform/gen/shadeform/model_ufw_rule.go diff --git a/v1/shadeform/gen/shadeform/model_update_request.go b/v1/providers/shadeform/gen/shadeform/model_update_request.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_update_request.go rename to v1/providers/shadeform/gen/shadeform/model_update_request.go diff --git a/v1/shadeform/gen/shadeform/model_volume.go b/v1/providers/shadeform/gen/shadeform/model_volume.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_volume.go rename to v1/providers/shadeform/gen/shadeform/model_volume.go diff --git a/v1/shadeform/gen/shadeform/model_volume_mount.go b/v1/providers/shadeform/gen/shadeform/model_volume_mount.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_volume_mount.go rename to v1/providers/shadeform/gen/shadeform/model_volume_mount.go diff --git a/v1/shadeform/gen/shadeform/model_volume_mounts.go b/v1/providers/shadeform/gen/shadeform/model_volume_mounts.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_volume_mounts.go rename to v1/providers/shadeform/gen/shadeform/model_volume_mounts.go diff --git a/v1/shadeform/gen/shadeform/model_volume_types_inner.go b/v1/providers/shadeform/gen/shadeform/model_volume_types_inner.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_volume_types_inner.go rename to v1/providers/shadeform/gen/shadeform/model_volume_types_inner.go diff --git a/v1/shadeform/gen/shadeform/model_volumes_response.go b/v1/providers/shadeform/gen/shadeform/model_volumes_response.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_volumes_response.go rename to v1/providers/shadeform/gen/shadeform/model_volumes_response.go diff --git a/v1/shadeform/gen/shadeform/model_volumes_types_response.go b/v1/providers/shadeform/gen/shadeform/model_volumes_types_response.go similarity index 100% rename from v1/shadeform/gen/shadeform/model_volumes_types_response.go rename to v1/providers/shadeform/gen/shadeform/model_volumes_types_response.go diff --git a/v1/shadeform/gen/shadeform/response.go b/v1/providers/shadeform/gen/shadeform/response.go similarity index 100% rename from v1/shadeform/gen/shadeform/response.go rename to v1/providers/shadeform/gen/shadeform/response.go diff --git a/v1/shadeform/gen/shadeform/test/api_default_test.go b/v1/providers/shadeform/gen/shadeform/test/api_default_test.go similarity index 98% rename from v1/shadeform/gen/shadeform/test/api_default_test.go rename to v1/providers/shadeform/gen/shadeform/test/api_default_test.go index d3a7983d..08d02f30 100644 --- a/v1/shadeform/gen/shadeform/test/api_default_test.go +++ b/v1/providers/shadeform/gen/shadeform/test/api_default_test.go @@ -13,7 +13,7 @@ import ( "context" "testing" - openapiclient "github.com/brevdev/cloud/v1/shadeform/gen/shadeform" + openapiclient "github.com/brevdev/cloud/v1/providers/shadeform/gen/shadeform" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/v1/shadeform/gen/shadeform/utils.go b/v1/providers/shadeform/gen/shadeform/utils.go similarity index 100% rename from v1/shadeform/gen/shadeform/utils.go rename to v1/providers/shadeform/gen/shadeform/utils.go diff --git a/v1/shadeform/instance.go b/v1/providers/shadeform/instance.go similarity index 99% rename from v1/shadeform/instance.go rename to v1/providers/shadeform/instance.go index 4bb1ad2d..23423221 100644 --- a/v1/shadeform/instance.go +++ b/v1/providers/shadeform/instance.go @@ -8,7 +8,7 @@ import ( "github.com/alecthomas/units" v1 "github.com/brevdev/cloud/v1" - openapi "github.com/brevdev/cloud/v1/shadeform/gen/shadeform" + openapi "github.com/brevdev/cloud/v1/providers/shadeform/gen/shadeform" "github.com/google/uuid" ) diff --git a/v1/shadeform/instancetype.go b/v1/providers/shadeform/instancetype.go similarity index 98% rename from v1/shadeform/instancetype.go rename to v1/providers/shadeform/instancetype.go index 59ffe281..f9d4e3fc 100644 --- a/v1/shadeform/instancetype.go +++ b/v1/providers/shadeform/instancetype.go @@ -11,7 +11,7 @@ import ( "github.com/bojanz/currency" v1 "github.com/brevdev/cloud/v1" - openapi "github.com/brevdev/cloud/v1/shadeform/gen/shadeform" + openapi "github.com/brevdev/cloud/v1/providers/shadeform/gen/shadeform" ) const ( diff --git a/v1/shadeform/ufw.go b/v1/providers/shadeform/ufw.go similarity index 100% rename from v1/shadeform/ufw.go rename to v1/providers/shadeform/ufw.go diff --git a/v1/shadeform/validation_test.go b/v1/providers/shadeform/validation_test.go similarity index 97% rename from v1/shadeform/validation_test.go rename to v1/providers/shadeform/validation_test.go index 80ff1581..f59a4cfb 100644 --- a/v1/shadeform/validation_test.go +++ b/v1/providers/shadeform/validation_test.go @@ -9,7 +9,7 @@ import ( "github.com/brevdev/cloud/internal/ssh" "github.com/brevdev/cloud/internal/validation" v1 "github.com/brevdev/cloud/v1" - openapi "github.com/brevdev/cloud/v1/shadeform/gen/shadeform" + openapi "github.com/brevdev/cloud/v1/providers/shadeform/gen/shadeform" "github.com/google/uuid" "github.com/stretchr/testify/require" ) From 7aa2df010e6d4b4c1c938c2ad70331e682522817 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Fri, 29 Aug 2025 11:33:57 -0700 Subject: [PATCH 04/18] fix github actions --- .github/workflows/validation-lambdalabs.yml | 8 ++++---- .github/workflows/validation-shadeform.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/validation-lambdalabs.yml b/.github/workflows/validation-lambdalabs.yml index ea8246de..de63dc37 100644 --- a/.github/workflows/validation-lambdalabs.yml +++ b/.github/workflows/validation-lambdalabs.yml @@ -8,9 +8,9 @@ on: # Allow manual triggering pull_request: paths: - - 'internal/lambdalabs/**' + - 'v1/providers/lambdalabs/**' - 'internal/validation/**' - - 'pkg/v1/**' + - 'v1/**' branches: [ main ] jobs: @@ -47,7 +47,7 @@ jobs: TEST_PUBLIC_KEY_BASE64: ${{ secrets.TEST_PUBLIC_KEY_BASE64 }} VALIDATION_TEST: true run: | - cd internal/lambdalabs + cd v1/providers/lambdalabs go test -v -short=false -timeout=30m ./... - name: Upload test results @@ -56,4 +56,4 @@ jobs: with: name: lambdalabs-validation-results path: | - internal/lambdalabs/coverage.out + v1/providers/lambdalabs/coverage.out diff --git a/.github/workflows/validation-shadeform.yml b/.github/workflows/validation-shadeform.yml index 3cd067f2..1ef17f8a 100644 --- a/.github/workflows/validation-shadeform.yml +++ b/.github/workflows/validation-shadeform.yml @@ -8,9 +8,9 @@ on: # Allow manual triggering pull_request: paths: - - 'internal/shadeform/**' + - 'v1/providers/shadeform/**' - 'internal/validation/**' - - 'pkg/v1/**' + - 'v1/**' branches: [ main ] jobs: @@ -47,7 +47,7 @@ jobs: TEST_PUBLIC_KEY_BASE64: ${{ secrets.TEST_PUBLIC_KEY_BASE64 }} VALIDATION_TEST: true run: | - cd internal/shadeform + cd v1/providers/shadeform go test -v -short=false -timeout=30m ./... - name: Upload test results @@ -56,4 +56,4 @@ jobs: with: name: shadeform-validation-results path: | - internal/shadeform/coverage.out + v1/providers/shadeform/coverage.out From 2f7b40209db6b12b4e30aa8b5208807fece2c10e Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Fri, 29 Aug 2025 15:16:35 -0700 Subject: [PATCH 05/18] go 1.24 --- go.mod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index c80bea05..b75d0772 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/brevdev/cloud -go 1.25.0 +go 1.24.0 + +toolchain go1.24.6 require ( github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52b From b6615701d848d12eec566fc03f34f7032a09c8b6 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Fri, 29 Aug 2025 16:02:35 -0700 Subject: [PATCH 06/18] add json flag to shadeform credential --- v1/providers/shadeform/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/providers/shadeform/client.go b/v1/providers/shadeform/client.go index 8340ec12..460cff41 100644 --- a/v1/providers/shadeform/client.go +++ b/v1/providers/shadeform/client.go @@ -15,7 +15,7 @@ const CloudProviderID = "shadeform" // ShadeformCredential implements the CloudCredential interface for Shadeform type ShadeformCredential struct { RefID string - APIKey string + APIKey string `json:"api_key"` } var _ v1.CloudCredential = &ShadeformCredential{} From 60ab30411c5612c621d63d5a28ef87da9a2b5d44 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Fri, 29 Aug 2025 17:06:40 -0700 Subject: [PATCH 07/18] hardcode nvidia manufacturer --- v1/providers/shadeform/instancetype.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/providers/shadeform/instancetype.go b/v1/providers/shadeform/instancetype.go index f9d4e3fc..cff033d6 100644 --- a/v1/providers/shadeform/instancetype.go +++ b/v1/providers/shadeform/instancetype.go @@ -164,7 +164,7 @@ func (c *ShadeformClient) convertShadeformInstanceTypeToV1InstanceType(shadeform Memory: units.Base2Bytes(shadeformInstanceType.Configuration.VramPerGpuInGb) * units.GiB, MemoryDetails: "", NetworkDetails: "", - Manufacturer: "", + Manufacturer: "NVIDIA", // TODO: add manufacturer Name: shadeformInstanceType.Configuration.GpuType, Type: shadeformInstanceType.Configuration.GpuType, }, From 7877be6b0378ff78aab61bbe28becf1ffc9eac41 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Fri, 29 Aug 2025 21:21:25 -0700 Subject: [PATCH 08/18] hardcode supported storage --- v1/providers/shadeform/instancetype.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/v1/providers/shadeform/instancetype.go b/v1/providers/shadeform/instancetype.go index cff033d6..b9642805 100644 --- a/v1/providers/shadeform/instancetype.go +++ b/v1/providers/shadeform/instancetype.go @@ -169,6 +169,13 @@ func (c *ShadeformClient) convertShadeformInstanceTypeToV1InstanceType(shadeform Type: shadeformInstanceType.Configuration.GpuType, }, }, + SupportedStorage: []v1.Storage{ // TODO: add storage + { + Type: "ssd", + Count: 1, + Size: units.GiB * units.Base2Bytes(shadeformInstanceType.Configuration.StorageInGb), + }, + }, BasePrice: basePrice, IsAvailable: region.Available, Location: region.Region, From e457281a25f0f8264f5c5f919f273d95ac950542 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Sat, 30 Aug 2025 16:31:09 -0700 Subject: [PATCH 09/18] omit instance type id --- v1/providers/shadeform/instancetype.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/providers/shadeform/instancetype.go b/v1/providers/shadeform/instancetype.go index b9642805..4298e55e 100644 --- a/v1/providers/shadeform/instancetype.go +++ b/v1/providers/shadeform/instancetype.go @@ -154,7 +154,7 @@ func (c *ShadeformClient) convertShadeformInstanceTypeToV1InstanceType(shadeform for _, region := range shadeformInstanceType.Availability { instanceTypes = append(instanceTypes, v1.InstanceType{ - ID: v1.InstanceTypeID(c.getInstanceTypeID(instanceType, region.Region)), + // ID: v1.InstanceTypeID(c.getInstanceTypeID(instanceType, region.Region)), // TODO: ID format is very particular within devplane, and will be generated automatically if omitted here Type: instanceType, VCPU: shadeformInstanceType.Configuration.Vcpus, Memory: units.Base2Bytes(shadeformInstanceType.Configuration.MemoryInGb) * units.GiB, From b7a134badd713a006f408073b40cfead55abc7ce Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Sat, 30 Aug 2025 17:12:10 -0700 Subject: [PATCH 10/18] convert pem keys automatically --- v1/providers/shadeform/instance.go | 39 +++++++++++++++++++++++++- v1/providers/shadeform/instancetype.go | 4 +-- 2 files changed, 40 insertions(+), 3 deletions(-) diff --git a/v1/providers/shadeform/instance.go b/v1/providers/shadeform/instance.go index 23423221..c0ed96e6 100644 --- a/v1/providers/shadeform/instance.go +++ b/v1/providers/shadeform/instance.go @@ -2,10 +2,15 @@ package v1 import ( "context" + "crypto/rsa" + "crypto/x509" + "encoding/pem" "errors" "fmt" "strings" + "golang.org/x/crypto/ssh" + "github.com/alecthomas/units" v1 "github.com/brevdev/cloud/v1" openapi "github.com/brevdev/cloud/v1/providers/shadeform/gen/shadeform" @@ -124,9 +129,14 @@ func (c *ShadeformClient) CreateInstance(ctx context.Context, attrs v1.CreateIns func (c *ShadeformClient) addSSHKey(ctx context.Context, keyPairName string, publicKey string) (string, error) { authCtx := c.makeAuthContext(ctx) + key, err := convertPEMKeyToOpenSSH(publicKey) + if err != nil { + return "", fmt.Errorf("failed to convert PEM key to RSA key: %w", err) + } + request := openapi.AddSshKeyRequest{ Name: keyPairName, - PublicKey: publicKey, + PublicKey: key, } resp, httpResp, err := c.client.DefaultAPI.SshKeysAdd(authCtx).AddSshKeyRequest(request).Execute() @@ -144,6 +154,33 @@ func (c *ShadeformClient) addSSHKey(ctx context.Context, keyPairName string, pub return resp.Id, nil } +func convertPEMKeyToOpenSSH(pemKey string) (string, error) { + // Decode PEM + block, _ := pem.Decode([]byte(pemKey)) + if block == nil { + return "", fmt.Errorf("failed to decode PEM key") + } + + // Parse into rsa.PublicKey + pubAny, err := x509.ParsePKIXPublicKey(block.Bytes) + if err != nil { + return "", fmt.Errorf("parse error: %w", err) + } + + pub, ok := pubAny.(*rsa.PublicKey) + if !ok { + return "", fmt.Errorf("not an RSA public key") + } + + // Convert to OpenSSH format + sshPub, err := ssh.NewPublicKey(pub) + if err != nil { + return "", fmt.Errorf("ssh key error: %w", err) + } + + return string(ssh.MarshalAuthorizedKey(sshPub)), nil +} + func (c *ShadeformClient) GetInstance(ctx context.Context, instanceID v1.CloudProviderInstanceID) (*v1.Instance, error) { authCtx := c.makeAuthContext(ctx) diff --git a/v1/providers/shadeform/instancetype.go b/v1/providers/shadeform/instancetype.go index 4298e55e..e29e6b51 100644 --- a/v1/providers/shadeform/instancetype.go +++ b/v1/providers/shadeform/instancetype.go @@ -154,7 +154,7 @@ func (c *ShadeformClient) convertShadeformInstanceTypeToV1InstanceType(shadeform for _, region := range shadeformInstanceType.Availability { instanceTypes = append(instanceTypes, v1.InstanceType{ - // ID: v1.InstanceTypeID(c.getInstanceTypeID(instanceType, region.Region)), // TODO: ID format is very particular within devplane, and will be generated automatically if omitted here + ID: v1.InstanceTypeID(c.getInstanceTypeID(instanceType, region.Region)), Type: instanceType, VCPU: shadeformInstanceType.Configuration.Vcpus, Memory: units.Base2Bytes(shadeformInstanceType.Configuration.MemoryInGb) * units.GiB, @@ -171,7 +171,7 @@ func (c *ShadeformClient) convertShadeformInstanceTypeToV1InstanceType(shadeform }, SupportedStorage: []v1.Storage{ // TODO: add storage { - Type: "ssd", + Type: "ssd", Count: 1, Size: units.GiB * units.Base2Bytes(shadeformInstanceType.Configuration.StorageInGb), }, From ce0d4bc08a2e9d74e23b6852efd31799b0ac8ae6 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Sat, 30 Aug 2025 17:44:07 -0700 Subject: [PATCH 11/18] add http error to create instance failure --- v1/providers/shadeform/instance.go | 43 +++--------------------------- 1 file changed, 4 insertions(+), 39 deletions(-) diff --git a/v1/providers/shadeform/instance.go b/v1/providers/shadeform/instance.go index c0ed96e6..af9274a8 100644 --- a/v1/providers/shadeform/instance.go +++ b/v1/providers/shadeform/instance.go @@ -2,15 +2,11 @@ package v1 import ( "context" - "crypto/rsa" - "crypto/x509" - "encoding/pem" "errors" "fmt" + "io" "strings" - "golang.org/x/crypto/ssh" - "github.com/alecthomas/units" v1 "github.com/brevdev/cloud/v1" openapi "github.com/brevdev/cloud/v1/providers/shadeform/gen/shadeform" @@ -109,7 +105,8 @@ func (c *ShadeformClient) CreateInstance(ctx context.Context, attrs v1.CreateIns defer func() { _ = httpResp.Body.Close() }() } if err != nil { - return nil, fmt.Errorf("failed to create instance: %w", err) + httpMessage, _ := io.ReadAll(httpResp.Body) + return nil, fmt.Errorf("failed to create instance: %w, %s", err, string(httpMessage)) } if resp == nil { @@ -129,14 +126,9 @@ func (c *ShadeformClient) CreateInstance(ctx context.Context, attrs v1.CreateIns func (c *ShadeformClient) addSSHKey(ctx context.Context, keyPairName string, publicKey string) (string, error) { authCtx := c.makeAuthContext(ctx) - key, err := convertPEMKeyToOpenSSH(publicKey) - if err != nil { - return "", fmt.Errorf("failed to convert PEM key to RSA key: %w", err) - } - request := openapi.AddSshKeyRequest{ Name: keyPairName, - PublicKey: key, + PublicKey: publicKey, } resp, httpResp, err := c.client.DefaultAPI.SshKeysAdd(authCtx).AddSshKeyRequest(request).Execute() @@ -154,33 +146,6 @@ func (c *ShadeformClient) addSSHKey(ctx context.Context, keyPairName string, pub return resp.Id, nil } -func convertPEMKeyToOpenSSH(pemKey string) (string, error) { - // Decode PEM - block, _ := pem.Decode([]byte(pemKey)) - if block == nil { - return "", fmt.Errorf("failed to decode PEM key") - } - - // Parse into rsa.PublicKey - pubAny, err := x509.ParsePKIXPublicKey(block.Bytes) - if err != nil { - return "", fmt.Errorf("parse error: %w", err) - } - - pub, ok := pubAny.(*rsa.PublicKey) - if !ok { - return "", fmt.Errorf("not an RSA public key") - } - - // Convert to OpenSSH format - sshPub, err := ssh.NewPublicKey(pub) - if err != nil { - return "", fmt.Errorf("ssh key error: %w", err) - } - - return string(ssh.MarshalAuthorizedKey(sshPub)), nil -} - func (c *ShadeformClient) GetInstance(ctx context.Context, instanceID v1.CloudProviderInstanceID) (*v1.Instance, error) { authCtx := c.makeAuthContext(ctx) From 475fe3d4d0f1e84d811d2f7d525c70d536ed9fd4 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Sat, 30 Aug 2025 17:52:56 -0700 Subject: [PATCH 12/18] add http error to ssh key failure --- v1/providers/shadeform/instance.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v1/providers/shadeform/instance.go b/v1/providers/shadeform/instance.go index af9274a8..1ed5eb48 100644 --- a/v1/providers/shadeform/instance.go +++ b/v1/providers/shadeform/instance.go @@ -136,7 +136,8 @@ func (c *ShadeformClient) addSSHKey(ctx context.Context, keyPairName string, pub defer func() { _ = httpResp.Body.Close() }() } if err != nil { - return "", fmt.Errorf("failed to add SSH Key: %w", err) + httpMessage, _ := io.ReadAll(httpResp.Body) + return "", fmt.Errorf("failed to add SSH Key: %w, %s", err, string(httpMessage)) } if resp == nil { From 03b484d3027b722d7bf0b7833e884e3c44ef2144 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Sun, 31 Aug 2025 14:59:16 -0700 Subject: [PATCH 13/18] include instancetypeid when returning created instance --- v1/providers/shadeform/instance.go | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/v1/providers/shadeform/instance.go b/v1/providers/shadeform/instance.go index 1ed5eb48..38830214 100644 --- a/v1/providers/shadeform/instance.go +++ b/v1/providers/shadeform/instance.go @@ -261,16 +261,17 @@ func (c *ShadeformClient) convertInstanceInfoResponseToV1Instance(instanceInfo o delete(tags, cloudCredRefIDTagName) instance := &v1.Instance{ - Name: instanceInfo.Name, - CreatedAt: instanceInfo.CreatedAt, - CloudID: v1.CloudProviderInstanceID(instanceInfo.Id), - PublicIP: instanceInfo.Ip, - Hostname: hostname, - ImageID: instanceInfo.Configuration.Os, - InstanceType: instanceType, - DiskSize: units.Base2Bytes(instanceInfo.Configuration.StorageInGb) * units.GiB, - SSHUser: instanceInfo.SshUser, - SSHPort: int(instanceInfo.SshPort), + Name: instanceInfo.Name, + CreatedAt: instanceInfo.CreatedAt, + CloudID: v1.CloudProviderInstanceID(instanceInfo.Id), + PublicIP: instanceInfo.Ip, + Hostname: hostname, + ImageID: instanceInfo.Configuration.Os, + InstanceType: instanceType, + InstanceTypeID: v1.InstanceTypeID(c.getInstanceTypeID(instanceType, instanceInfo.Region)), + DiskSize: units.Base2Bytes(instanceInfo.Configuration.StorageInGb) * units.GiB, + SSHUser: instanceInfo.SshUser, + SSHPort: int(instanceInfo.SshPort), Status: v1.Status{ LifecycleStatus: lifeCycleStatus, }, From 86f21f89414f89736726e7046440a1c93bafa394 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Sun, 31 Aug 2025 16:48:30 -0700 Subject: [PATCH 14/18] honor new instance and instance type on update, not the old --- v1/providers/shadeform/instance.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/v1/providers/shadeform/instance.go b/v1/providers/shadeform/instance.go index 38830214..28bdbd4e 100644 --- a/v1/providers/shadeform/instance.go +++ b/v1/providers/shadeform/instance.go @@ -211,12 +211,12 @@ func (c *ShadeformClient) RebootInstance(_ context.Context, _ v1.CloudProviderIn return v1.ErrNotImplemented } -func (c *ShadeformClient) MergeInstanceForUpdate(currInst v1.Instance, _ v1.Instance) v1.Instance { - return currInst +func (c *ShadeformClient) MergeInstanceForUpdate(_ v1.Instance, newInstance v1.Instance) v1.Instance { + return newInstance } -func (c *ShadeformClient) MergeInstanceTypeForUpdate(currIt v1.InstanceType, _ v1.InstanceType) v1.InstanceType { - return currIt +func (c *ShadeformClient) MergeInstanceTypeForUpdate(_ v1.InstanceType, newInstanceType v1.InstanceType) v1.InstanceType { + return newInstanceType } func (c *ShadeformClient) getLifecycleStatus(status string) v1.LifecycleStatus { From fb883606673313e934719d3a3bfdc5125109bd87 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Sun, 31 Aug 2025 17:17:27 -0700 Subject: [PATCH 15/18] use public IP as public DNS --- v1/providers/shadeform/instance.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v1/providers/shadeform/instance.go b/v1/providers/shadeform/instance.go index 28bdbd4e..8b0828b3 100644 --- a/v1/providers/shadeform/instance.go +++ b/v1/providers/shadeform/instance.go @@ -265,6 +265,7 @@ func (c *ShadeformClient) convertInstanceInfoResponseToV1Instance(instanceInfo o CreatedAt: instanceInfo.CreatedAt, CloudID: v1.CloudProviderInstanceID(instanceInfo.Id), PublicIP: instanceInfo.Ip, + PublicDNS: instanceInfo.Ip, Hostname: hostname, ImageID: instanceInfo.Configuration.Os, InstanceType: instanceType, @@ -314,6 +315,7 @@ func (c *ShadeformClient) convertShadeformInstanceToV1Instance(shadeformInstance CreatedAt: shadeformInstance.CreatedAt, CloudID: v1.CloudProviderInstanceID(shadeformInstance.Id), PublicIP: shadeformInstance.Ip, + PublicDNS: shadeformInstance.Ip, Hostname: hostname, ImageID: shadeformInstance.Configuration.Os, InstanceType: instanceType, From 3f2c3ed985f688227d50354e95e44dff512a35b3 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Mon, 1 Sep 2025 14:04:47 -0700 Subject: [PATCH 16/18] comment --- v1/providers/lambdalabs/instance.go | 1 + 1 file changed, 1 insertion(+) diff --git a/v1/providers/lambdalabs/instance.go b/v1/providers/lambdalabs/instance.go index a0180280..6b153ebf 100644 --- a/v1/providers/lambdalabs/instance.go +++ b/v1/providers/lambdalabs/instance.go @@ -90,6 +90,7 @@ func (c *LambdaLabsClient) TerminateInstance(ctx context.Context, instanceID v1. InstanceIds: []string{string(instanceID)}, } + // TODO: since "createInstance" also creates an SSH key, we should consider cleaning up the key pair here _, err := c.terminateInstance(ctx, request) if err != nil { return fmt.Errorf("failed to terminate instance: %w", err) From 5f1532916f97ffcd29087ef1ef47d4f0b18593e4 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Wed, 3 Sep 2025 16:20:51 -0700 Subject: [PATCH 17/18] openapi upgrade shadeform --- .../gen/shadeform/.openapi-generator/FILES | 4 +-- .../shadeform/gen/shadeform/api/openapi.yaml | 21 ++++++++++- .../shadeform/docs/InstanceConfiguration.md | 24 +++++++++++-- .../docs/InstanceTypeConfiguration.md | 24 +++++++++++-- .../shadeform/model_instance_configuration.go | 34 ++++++++++++++++-- .../model_instance_type_configuration.go | 36 +++++++++++++++++-- 6 files changed, 130 insertions(+), 13 deletions(-) diff --git a/v1/providers/shadeform/gen/shadeform/.openapi-generator/FILES b/v1/providers/shadeform/gen/shadeform/.openapi-generator/FILES index d6c9d505..cfdcc9eb 100644 --- a/v1/providers/shadeform/gen/shadeform/.openapi-generator/FILES +++ b/v1/providers/shadeform/gen/shadeform/.openapi-generator/FILES @@ -1,5 +1,4 @@ .gitignore -.openapi-generator-ignore .travis.yml README.md api/openapi.yaml @@ -97,5 +96,4 @@ model_volume_types_inner.go model_volumes_response.go model_volumes_types_response.go response.go -test/api_default_test.go -utils.go +utils.go \ No newline at end of file diff --git a/v1/providers/shadeform/gen/shadeform/api/openapi.yaml b/v1/providers/shadeform/gen/shadeform/api/openapi.yaml index ea04682f..44cc2a31 100644 --- a/v1/providers/shadeform/gen/shadeform/api/openapi.yaml +++ b/v1/providers/shadeform/gen/shadeform/api/openapi.yaml @@ -514,6 +514,7 @@ components: vcpus: 6 storage_in_gb: 256 interconnect: pcie + gpu_manufacturer: nvidia os_options: - ubuntu22.04_cuda12.2_shade_os - ubuntu20.04_cuda12.0_shade_os @@ -541,6 +542,7 @@ components: vcpus: 6 storage_in_gb: 256 interconnect: pcie + gpu_manufacturer: nvidia os_options: - ubuntu22.04_cuda12.2_shade_os - ubuntu20.04_cuda12.0_shade_os @@ -579,6 +581,7 @@ components: vcpus: 6 storage_in_gb: 256 interconnect: pcie + gpu_manufacturer: nvidia os_options: - ubuntu22.04_cuda12.2_shade_os - ubuntu20.04_cuda12.0_shade_os @@ -652,6 +655,7 @@ components: vcpus: 6 storage_in_gb: 256 interconnect: pcie + gpu_manufacturer: nvidia launch_configuration: docker_configuration: args: --model mistralai/Mistral-7B-v0.1 @@ -717,6 +721,7 @@ components: vcpus: 6 storage_in_gb: 256 interconnect: pcie + gpu_manufacturer: nvidia launch_configuration: docker_configuration: args: --model mistralai/Mistral-7B-v0.1 @@ -792,6 +797,7 @@ components: vcpus: 6 storage_in_gb: 256 interconnect: pcie + gpu_manufacturer: nvidia launch_configuration: docker_configuration: args: --model mistralai/Mistral-7B-v0.1 @@ -976,6 +982,7 @@ components: vcpus: 6 storage_in_gb: 256 interconnect: pcie + gpu_manufacturer: nvidia cloud_instance_type: gpu_1x_a6000 auto_delete: spend_threshold: "3.14" @@ -1198,6 +1205,7 @@ components: vcpus: 6 storage_in_gb: 256 interconnect: pcie + gpu_manufacturer: nvidia os_options: - ubuntu22.04_cuda12.2_shade_os - ubuntu20.04_cuda12.0_shade_os @@ -1245,7 +1253,12 @@ components: items: type: string type: array + gpu_manufacturer: + description: The manufacturer of the gpu + example: nvidia + type: string required: + - gpu_manufacturer - gpu_type - interconnect - memory_in_gb @@ -1292,7 +1305,12 @@ components: description: The video memory per GPU for the instance in gigabytes. example: 48 type: integer + gpu_manufacturer: + description: The manufacturer of the gpu + example: nvidia + type: string required: + - gpu_manufacturer - gpu_type - interconnect - memory_in_gb @@ -2693,6 +2711,7 @@ components: vcpus: 6 storage_in_gb: 256 interconnect: pcie + gpu_manufacturer: nvidia VolumeTypes_inner: example: cloud: hyperstack @@ -2732,4 +2751,4 @@ components: ApiKeyAuth: in: header name: X-API-KEY - type: apiKey + type: apiKey \ No newline at end of file diff --git a/v1/providers/shadeform/gen/shadeform/docs/InstanceConfiguration.md b/v1/providers/shadeform/gen/shadeform/docs/InstanceConfiguration.md index 6e4d4777..832899d1 100644 --- a/v1/providers/shadeform/gen/shadeform/docs/InstanceConfiguration.md +++ b/v1/providers/shadeform/gen/shadeform/docs/InstanceConfiguration.md @@ -12,13 +12,14 @@ Name | Type | Description | Notes **Interconnect** | **string** | The type of GPU interconnect. | **Nvlink** | Pointer to **bool** | If the instance has NVLink | [optional] **VramPerGpuInGb** | **int32** | The video memory per GPU for the instance in gigabytes. | +**GpuManufacturer** | **string** | The manufacturer of the gpu | **Os** | **string** | The operating system of the instance. | ## Methods ### NewInstanceConfiguration -`func NewInstanceConfiguration(memoryInGb int32, storageInGb int32, vcpus int32, numGpus int32, gpuType string, interconnect string, vramPerGpuInGb int32, os string, ) *InstanceConfiguration` +`func NewInstanceConfiguration(memoryInGb int32, storageInGb int32, vcpus int32, numGpus int32, gpuType string, interconnect string, vramPerGpuInGb int32, gpuManufacturer string, os string, ) *InstanceConfiguration` NewInstanceConfiguration instantiates a new InstanceConfiguration object This constructor will assign default values to properties that have it defined, @@ -198,6 +199,26 @@ and a boolean to check if the value has been set. SetVramPerGpuInGb sets VramPerGpuInGb field to given value. +### GetGpuManufacturer + +`func (o *InstanceConfiguration) GetGpuManufacturer() string` + +GetGpuManufacturer returns the GpuManufacturer field if non-nil, zero value otherwise. + +### GetGpuManufacturerOk + +`func (o *InstanceConfiguration) GetGpuManufacturerOk() (*string, bool)` + +GetGpuManufacturerOk returns a tuple with the GpuManufacturer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpuManufacturer + +`func (o *InstanceConfiguration) SetGpuManufacturer(v string)` + +SetGpuManufacturer sets GpuManufacturer field to given value. + + ### GetOs `func (o *InstanceConfiguration) GetOs() string` @@ -221,4 +242,3 @@ SetOs sets Os field to given value. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/v1/providers/shadeform/gen/shadeform/docs/InstanceTypeConfiguration.md b/v1/providers/shadeform/gen/shadeform/docs/InstanceTypeConfiguration.md index d3a3c07b..d10bb1d2 100644 --- a/v1/providers/shadeform/gen/shadeform/docs/InstanceTypeConfiguration.md +++ b/v1/providers/shadeform/gen/shadeform/docs/InstanceTypeConfiguration.md @@ -13,12 +13,13 @@ Name | Type | Description | Notes **Nvlink** | Pointer to **bool** | If the instance has NVLink | [optional] **VramPerGpuInGb** | **int32** | The video memory per GPU for the instance in gigabytes. | **OsOptions** | **[]string** | The list of available operating systems for the instance. | +**GpuManufacturer** | **string** | The manufacturer of the gpu | ## Methods ### NewInstanceTypeConfiguration -`func NewInstanceTypeConfiguration(memoryInGb int32, storageInGb int32, vcpus int32, numGpus int32, gpuType string, interconnect string, vramPerGpuInGb int32, osOptions []string, ) *InstanceTypeConfiguration` +`func NewInstanceTypeConfiguration(memoryInGb int32, storageInGb int32, vcpus int32, numGpus int32, gpuType string, interconnect string, vramPerGpuInGb int32, osOptions []string, gpuManufacturer string, ) *InstanceTypeConfiguration` NewInstanceTypeConfiguration instantiates a new InstanceTypeConfiguration object This constructor will assign default values to properties that have it defined, @@ -218,7 +219,26 @@ and a boolean to check if the value has been set. SetOsOptions sets OsOptions field to given value. +### GetGpuManufacturer -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +`func (o *InstanceTypeConfiguration) GetGpuManufacturer() string` + +GetGpuManufacturer returns the GpuManufacturer field if non-nil, zero value otherwise. + +### GetGpuManufacturerOk + +`func (o *InstanceTypeConfiguration) GetGpuManufacturerOk() (*string, bool)` + +GetGpuManufacturerOk returns a tuple with the GpuManufacturer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. +### SetGpuManufacturer + +`func (o *InstanceTypeConfiguration) SetGpuManufacturer(v string)` + +SetGpuManufacturer sets GpuManufacturer field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/v1/providers/shadeform/gen/shadeform/model_instance_configuration.go b/v1/providers/shadeform/gen/shadeform/model_instance_configuration.go index 8485777f..ceadf426 100644 --- a/v1/providers/shadeform/gen/shadeform/model_instance_configuration.go +++ b/v1/providers/shadeform/gen/shadeform/model_instance_configuration.go @@ -37,6 +37,8 @@ type InstanceConfiguration struct { Nvlink *bool `json:"nvlink,omitempty"` // The video memory per GPU for the instance in gigabytes. VramPerGpuInGb int32 `json:"vram_per_gpu_in_gb"` + // The manufacturer of the gpu + GpuManufacturer string `json:"gpu_manufacturer"` // The operating system of the instance. Os string `json:"os"` AdditionalProperties map[string]interface{} @@ -48,7 +50,7 @@ type _InstanceConfiguration InstanceConfiguration // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInstanceConfiguration(memoryInGb int32, storageInGb int32, vcpus int32, numGpus int32, gpuType string, interconnect string, vramPerGpuInGb int32, os string) *InstanceConfiguration { +func NewInstanceConfiguration(memoryInGb int32, storageInGb int32, vcpus int32, numGpus int32, gpuType string, interconnect string, vramPerGpuInGb int32, gpuManufacturer string, os string) *InstanceConfiguration { this := InstanceConfiguration{} this.MemoryInGb = memoryInGb this.StorageInGb = storageInGb @@ -57,6 +59,7 @@ func NewInstanceConfiguration(memoryInGb int32, storageInGb int32, vcpus int32, this.GpuType = gpuType this.Interconnect = interconnect this.VramPerGpuInGb = vramPerGpuInGb + this.GpuManufacturer = gpuManufacturer this.Os = os return &this } @@ -269,6 +272,30 @@ func (o *InstanceConfiguration) SetVramPerGpuInGb(v int32) { o.VramPerGpuInGb = v } +// GetGpuManufacturer returns the GpuManufacturer field value +func (o *InstanceConfiguration) GetGpuManufacturer() string { + if o == nil { + var ret string + return ret + } + + return o.GpuManufacturer +} + +// GetGpuManufacturerOk returns a tuple with the GpuManufacturer field value +// and a boolean to check if the value has been set. +func (o *InstanceConfiguration) GetGpuManufacturerOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GpuManufacturer, true +} + +// SetGpuManufacturer sets field value +func (o *InstanceConfiguration) SetGpuManufacturer(v string) { + o.GpuManufacturer = v +} + // GetOs returns the Os field value func (o *InstanceConfiguration) GetOs() string { if o == nil { @@ -313,6 +340,7 @@ func (o InstanceConfiguration) ToMap() (map[string]interface{}, error) { toSerialize["nvlink"] = o.Nvlink } toSerialize["vram_per_gpu_in_gb"] = o.VramPerGpuInGb + toSerialize["gpu_manufacturer"] = o.GpuManufacturer toSerialize["os"] = o.Os for key, value := range o.AdditionalProperties { @@ -334,6 +362,7 @@ func (o *InstanceConfiguration) UnmarshalJSON(data []byte) (err error) { "gpu_type", "interconnect", "vram_per_gpu_in_gb", + "gpu_manufacturer", "os", } @@ -372,6 +401,7 @@ func (o *InstanceConfiguration) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "interconnect") delete(additionalProperties, "nvlink") delete(additionalProperties, "vram_per_gpu_in_gb") + delete(additionalProperties, "gpu_manufacturer") delete(additionalProperties, "os") o.AdditionalProperties = additionalProperties } @@ -413,4 +443,4 @@ func (v NullableInstanceConfiguration) MarshalJSON() ([]byte, error) { func (v *NullableInstanceConfiguration) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) -} +} \ No newline at end of file diff --git a/v1/providers/shadeform/gen/shadeform/model_instance_type_configuration.go b/v1/providers/shadeform/gen/shadeform/model_instance_type_configuration.go index 46d50c8a..410e4f2b 100644 --- a/v1/providers/shadeform/gen/shadeform/model_instance_type_configuration.go +++ b/v1/providers/shadeform/gen/shadeform/model_instance_type_configuration.go @@ -38,7 +38,9 @@ type InstanceTypeConfiguration struct { // The video memory per GPU for the instance in gigabytes. VramPerGpuInGb int32 `json:"vram_per_gpu_in_gb"` // The list of available operating systems for the instance. - OsOptions []string `json:"os_options"` + OsOptions []string `json:"os_options"` + // The manufacturer of the gpu + GpuManufacturer string `json:"gpu_manufacturer"` AdditionalProperties map[string]interface{} } @@ -48,7 +50,7 @@ type _InstanceTypeConfiguration InstanceTypeConfiguration // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInstanceTypeConfiguration(memoryInGb int32, storageInGb int32, vcpus int32, numGpus int32, gpuType string, interconnect string, vramPerGpuInGb int32, osOptions []string) *InstanceTypeConfiguration { +func NewInstanceTypeConfiguration(memoryInGb int32, storageInGb int32, vcpus int32, numGpus int32, gpuType string, interconnect string, vramPerGpuInGb int32, osOptions []string, gpuManufacturer string) *InstanceTypeConfiguration { this := InstanceTypeConfiguration{} this.MemoryInGb = memoryInGb this.StorageInGb = storageInGb @@ -58,6 +60,7 @@ func NewInstanceTypeConfiguration(memoryInGb int32, storageInGb int32, vcpus int this.Interconnect = interconnect this.VramPerGpuInGb = vramPerGpuInGb this.OsOptions = osOptions + this.GpuManufacturer = gpuManufacturer return &this } @@ -293,6 +296,30 @@ func (o *InstanceTypeConfiguration) SetOsOptions(v []string) { o.OsOptions = v } +// GetGpuManufacturer returns the GpuManufacturer field value +func (o *InstanceTypeConfiguration) GetGpuManufacturer() string { + if o == nil { + var ret string + return ret + } + + return o.GpuManufacturer +} + +// GetGpuManufacturerOk returns a tuple with the GpuManufacturer field value +// and a boolean to check if the value has been set. +func (o *InstanceTypeConfiguration) GetGpuManufacturerOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GpuManufacturer, true +} + +// SetGpuManufacturer sets field value +func (o *InstanceTypeConfiguration) SetGpuManufacturer(v string) { + o.GpuManufacturer = v +} + func (o InstanceTypeConfiguration) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -314,6 +341,7 @@ func (o InstanceTypeConfiguration) ToMap() (map[string]interface{}, error) { } toSerialize["vram_per_gpu_in_gb"] = o.VramPerGpuInGb toSerialize["os_options"] = o.OsOptions + toSerialize["gpu_manufacturer"] = o.GpuManufacturer for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -335,6 +363,7 @@ func (o *InstanceTypeConfiguration) UnmarshalJSON(data []byte) (err error) { "interconnect", "vram_per_gpu_in_gb", "os_options", + "gpu_manufacturer", } allProperties := make(map[string]interface{}) @@ -373,6 +402,7 @@ func (o *InstanceTypeConfiguration) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "nvlink") delete(additionalProperties, "vram_per_gpu_in_gb") delete(additionalProperties, "os_options") + delete(additionalProperties, "gpu_manufacturer") o.AdditionalProperties = additionalProperties } @@ -413,4 +443,4 @@ func (v NullableInstanceTypeConfiguration) MarshalJSON() ([]byte, error) { func (v *NullableInstanceTypeConfiguration) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) -} +} \ No newline at end of file From aabd245f21977642adb596b09c2ac8c3e768ddb0 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Wed, 3 Sep 2025 17:02:18 -0700 Subject: [PATCH 18/18] clean gpu name, add cloud broker --- v1/instancetype.go | 1 + v1/providers/shadeform/instancetype.go | 26 +++++++++++++++++++------- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/v1/instancetype.go b/v1/instancetype.go index 53777189..749ee95e 100644 --- a/v1/instancetype.go +++ b/v1/instancetype.go @@ -45,6 +45,7 @@ type InstanceType struct { NotPrivileged bool EstimatedDeployTime *time.Duration Provider string + CloudBroker string CanModifyFirewallRules bool } diff --git a/v1/providers/shadeform/instancetype.go b/v1/providers/shadeform/instancetype.go index e29e6b51..09f87300 100644 --- a/v1/providers/shadeform/instancetype.go +++ b/v1/providers/shadeform/instancetype.go @@ -152,6 +152,8 @@ func (c *ShadeformClient) convertShadeformInstanceTypeToV1InstanceType(shadeform return nil, err } + gpuName := shadeformGPUTypeToBrevGPUName(shadeformInstanceType.Configuration.GpuType) + for _, region := range shadeformInstanceType.Availability { instanceTypes = append(instanceTypes, v1.InstanceType{ ID: v1.InstanceTypeID(c.getInstanceTypeID(instanceType, region.Region)), @@ -162,24 +164,25 @@ func (c *ShadeformClient) convertShadeformInstanceTypeToV1InstanceType(shadeform { Count: shadeformInstanceType.Configuration.NumGpus, Memory: units.Base2Bytes(shadeformInstanceType.Configuration.VramPerGpuInGb) * units.GiB, - MemoryDetails: "", - NetworkDetails: "", - Manufacturer: "NVIDIA", // TODO: add manufacturer - Name: shadeformInstanceType.Configuration.GpuType, + MemoryDetails: "", // TODO: add memory details + NetworkDetails: shadeformInstanceType.Configuration.Interconnect, + Manufacturer: shadeformInstanceType.Configuration.GpuManufacturer, + Name: gpuName, Type: shadeformInstanceType.Configuration.GpuType, }, }, - SupportedStorage: []v1.Storage{ // TODO: add storage + SupportedStorage: []v1.Storage{ // TODO: add storage (look in configuration) { Type: "ssd", Count: 1, - Size: units.GiB * units.Base2Bytes(shadeformInstanceType.Configuration.StorageInGb), + Size: units.Base2Bytes(shadeformInstanceType.Configuration.StorageInGb) * units.GiB, }, }, BasePrice: basePrice, IsAvailable: region.Available, Location: region.Region, - Provider: CloudProviderID, + Provider: string(shadeformInstanceType.Cloud), + CloudBroker: CloudProviderID, }) } @@ -195,3 +198,12 @@ func convertHourlyPriceToAmount(hourlyPrice int32) (*currency.Amount, error) { } return &amount, nil } + +func shadeformGPUTypeToBrevGPUName(gpuType string) string { + // Shadeform may include a memory size as a suffix. This must be cleaned up before + // being used as a name. + // e.g. A100_80GB -> A100, H100_40GB -> H100 + + gpuType = strings.Split(gpuType, "_")[0] + return gpuType +}