diff --git a/cmd/scw/testdata/test-all-usage-inference-acl-add-usage.golden b/cmd/scw/testdata/test-all-usage-inference-acl-add-usage.golden deleted file mode 100644 index 4aaf0cbf2c..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-acl-add-usage.golden +++ /dev/null @@ -1,21 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Add new ACL rules for a specific deployment. - -USAGE: - scw inference acl add [arg=value ...] - -ARGS: - deployment-id ID of the deployment to add ACL rules to - [acls.{index}.ip] IP address to be allowed - [acls.{index}.description] Description of the ACL rule - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) - -FLAGS: - -h, --help help for add - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use diff --git a/cmd/scw/testdata/test-all-usage-inference-acl-delete-usage.golden b/cmd/scw/testdata/test-all-usage-inference-acl-delete-usage.golden deleted file mode 100644 index d971120549..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-acl-delete-usage.golden +++ /dev/null @@ -1,19 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Delete an exising ACL. - -USAGE: - scw inference acl delete [arg=value ...] - -ARGS: - acl-id ID of the ACL rule to delete - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) - -FLAGS: - -h, --help help for delete - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use diff --git a/cmd/scw/testdata/test-all-usage-inference-acl-list-usage.golden b/cmd/scw/testdata/test-all-usage-inference-acl-list-usage.golden deleted file mode 100644 index 99602ab34e..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-acl-list-usage.golden +++ /dev/null @@ -1,19 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -List ACLs for a specific deployment. - -USAGE: - scw inference acl list [arg=value ...] - -ARGS: - deployment-id ID of the deployment to list ACL rules for - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all) - -FLAGS: - -h, --help help for list - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use diff --git a/cmd/scw/testdata/test-all-usage-inference-acl-set-usage.golden b/cmd/scw/testdata/test-all-usage-inference-acl-set-usage.golden deleted file mode 100644 index b4eaef6c71..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-acl-set-usage.golden +++ /dev/null @@ -1,21 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Set new ACL rules for a specific deployment. - -USAGE: - scw inference acl set [arg=value ...] - -ARGS: - deployment-id ID of the deployment to set ACL rules for - [acls.{index}.ip] IP address to be allowed - [acls.{index}.description] Description of the ACL rule - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) - -FLAGS: - -h, --help help for set - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use diff --git a/cmd/scw/testdata/test-all-usage-inference-acl-usage.golden b/cmd/scw/testdata/test-all-usage-inference-acl-usage.golden deleted file mode 100644 index 4351d6b812..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-acl-usage.golden +++ /dev/null @@ -1,23 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Access Control List (ACL) management commands. - -USAGE: - scw inference acl - -AVAILABLE COMMANDS: - add Add new ACLs - delete Delete an exising ACL - list List your ACLs - set Set new ACL - -FLAGS: - -h, --help help for acl - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use - -Use "scw inference acl [command] --help" for more information about a command. diff --git a/cmd/scw/testdata/test-all-usage-inference-deployment-create-usage.golden b/cmd/scw/testdata/test-all-usage-inference-deployment-create-usage.golden deleted file mode 100644 index 2533060416..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-deployment-create-usage.golden +++ /dev/null @@ -1,30 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Create a new inference deployment related to a specific model. - -USAGE: - scw inference deployment create [arg=value ...] - -ARGS: - name= Name of the deployment - [project-id] Project ID to use. If none is passed the default project ID will be used - model-name Name of the model to use - [accept-eula] Accept the model's End User License Agreement (EULA). - node-type Name of the node type to use - [tags.{index}] List of tags to apply to the deployment - [min-size] Defines the minimum size of the pool - [max-size] Defines the maximum size of the pool - [endpoints.{index}.is-public=false] Will configure your public endpoint if true - [endpoints.{index}.private-network.private-network-id] ID of the Private Network - [endpoints.{index}.disable-auth=false] Disable the authentication on the endpoint. - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) - -FLAGS: - -h, --help help for create - -w, --wait wait until the deployment is ready - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use diff --git a/cmd/scw/testdata/test-all-usage-inference-deployment-delete-usage.golden b/cmd/scw/testdata/test-all-usage-inference-deployment-delete-usage.golden deleted file mode 100644 index 573fde48cf..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-deployment-delete-usage.golden +++ /dev/null @@ -1,20 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Delete an existing inference deployment. - -USAGE: - scw inference deployment delete [arg=value ...] - -ARGS: - deployment-id ID of the deployment to delete - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) - -FLAGS: - -h, --help help for delete - -w, --wait wait until the deployment is ready - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use diff --git a/cmd/scw/testdata/test-all-usage-inference-deployment-get-certificate-usage.golden b/cmd/scw/testdata/test-all-usage-inference-deployment-get-certificate-usage.golden deleted file mode 100644 index 6d218792cb..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-deployment-get-certificate-usage.golden +++ /dev/null @@ -1,20 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Get the CA certificate used for the deployment of private endpoints. -The CA certificate will be returned as a PEM file. - -USAGE: - scw inference deployment get-certificate [arg=value ...] - -ARGS: - deployment-id - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) - -FLAGS: - -h, --help help for get-certificate - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use diff --git a/cmd/scw/testdata/test-all-usage-inference-deployment-get-usage.golden b/cmd/scw/testdata/test-all-usage-inference-deployment-get-usage.golden deleted file mode 100644 index 0a090dc074..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-deployment-get-usage.golden +++ /dev/null @@ -1,19 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Get the deployment for the given ID. - -USAGE: - scw inference deployment get [arg=value ...] - -ARGS: - deployment-id ID of the deployment to get - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) - -FLAGS: - -h, --help help for get - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use diff --git a/cmd/scw/testdata/test-all-usage-inference-deployment-list-usage.golden b/cmd/scw/testdata/test-all-usage-inference-deployment-list-usage.golden deleted file mode 100644 index 4d2e55d6f7..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-deployment-list-usage.golden +++ /dev/null @@ -1,23 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -List all your inference deployments. - -USAGE: - scw inference deployment list [arg=value ...] - -ARGS: - [order-by] Order in which to return results (created_at_desc | created_at_asc | name_asc | name_desc) - [project-id] Filter by Project ID - [name] Filter by deployment name - [tags.{index}] Filter by tags - [organization-id] Filter by Organization ID - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all) - -FLAGS: - -h, --help help for list - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use diff --git a/cmd/scw/testdata/test-all-usage-inference-deployment-update-usage.golden b/cmd/scw/testdata/test-all-usage-inference-deployment-update-usage.golden deleted file mode 100644 index 6fc16bf4e1..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-deployment-update-usage.golden +++ /dev/null @@ -1,23 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Update an existing inference deployment. - -USAGE: - scw inference deployment update [arg=value ...] - -ARGS: - deployment-id ID of the deployment to update - [name] Name of the deployment - [tags.{index}] List of tags to apply to the deployment - [min-size] Defines the new minimum size of the pool - [max-size] Defines the new maximum size of the pool - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) - -FLAGS: - -h, --help help for update - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use diff --git a/cmd/scw/testdata/test-all-usage-inference-deployment-usage.golden b/cmd/scw/testdata/test-all-usage-inference-deployment-usage.golden deleted file mode 100644 index e2b8000d1a..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-deployment-usage.golden +++ /dev/null @@ -1,25 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Deployment commands. - -USAGE: - scw inference deployment - -AVAILABLE COMMANDS: - create Create a deployment - delete Delete a deployment - get Get a deployment - get-certificate Get the CA certificate - list List inference deployments - update Update a deployment - -FLAGS: - -h, --help help for deployment - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use - -Use "scw inference deployment [command] --help" for more information about a command. diff --git a/cmd/scw/testdata/test-all-usage-inference-endpoint-create-usage.golden b/cmd/scw/testdata/test-all-usage-inference-endpoint-create-usage.golden deleted file mode 100644 index c7a57de456..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-endpoint-create-usage.golden +++ /dev/null @@ -1,22 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Create a new Endpoint related to a specific deployment. - -USAGE: - scw inference endpoint create [arg=value ...] - -ARGS: - deployment-id ID of the deployment to create the endpoint for - [endpoint.is-public=false] Will configure your public endpoint if true - [endpoint.private-network.private-network-id] ID of the Private Network - [endpoint.disable-auth=false] Disable the authentication on the endpoint. - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) - -FLAGS: - -h, --help help for create - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use diff --git a/cmd/scw/testdata/test-all-usage-inference-endpoint-delete-usage.golden b/cmd/scw/testdata/test-all-usage-inference-endpoint-delete-usage.golden deleted file mode 100644 index 0c826056e8..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-endpoint-delete-usage.golden +++ /dev/null @@ -1,19 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Delete an existing Endpoint. - -USAGE: - scw inference endpoint delete [arg=value ...] - -ARGS: - endpoint-id ID of the endpoint to delete - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) - -FLAGS: - -h, --help help for delete - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use diff --git a/cmd/scw/testdata/test-all-usage-inference-endpoint-update-usage.golden b/cmd/scw/testdata/test-all-usage-inference-endpoint-update-usage.golden deleted file mode 100644 index 1dc7b8f10d..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-endpoint-update-usage.golden +++ /dev/null @@ -1,20 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Update an existing Endpoint. - -USAGE: - scw inference endpoint update [arg=value ...] - -ARGS: - endpoint-id ID of the endpoint to update - [disable-auth] Disable the authentication on the endpoint. - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) - -FLAGS: - -h, --help help for update - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use diff --git a/cmd/scw/testdata/test-all-usage-inference-endpoint-usage.golden b/cmd/scw/testdata/test-all-usage-inference-endpoint-usage.golden deleted file mode 100644 index ecb3d2f65c..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-endpoint-usage.golden +++ /dev/null @@ -1,22 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Endpoint management commands. - -USAGE: - scw inference endpoint - -AVAILABLE COMMANDS: - create Create an endpoint - delete Delete an endpoint - update Update an endpoint - -FLAGS: - -h, --help help for endpoint - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use - -Use "scw inference endpoint [command] --help" for more information about a command. diff --git a/cmd/scw/testdata/test-all-usage-inference-model-get-usage.golden b/cmd/scw/testdata/test-all-usage-inference-model-get-usage.golden deleted file mode 100644 index f0cdefb619..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-model-get-usage.golden +++ /dev/null @@ -1,19 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Get the model for the given ID. - -USAGE: - scw inference model get [arg=value ...] - -ARGS: - model-id ID of the model to get - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) - -FLAGS: - -h, --help help for get - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use diff --git a/cmd/scw/testdata/test-all-usage-inference-model-list-usage.golden b/cmd/scw/testdata/test-all-usage-inference-model-list-usage.golden deleted file mode 100644 index 2b9d2e9365..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-model-list-usage.golden +++ /dev/null @@ -1,22 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -List all available models. - -USAGE: - scw inference model list [arg=value ...] - -ARGS: - [order-by] Order in which to return results (created_at_asc | created_at_desc | name_asc | name_desc) - [project-id] Filter by Project ID - [name] Filter by model name - [tags.{index}] Filter by tags - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all) - -FLAGS: - -h, --help help for list - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use diff --git a/cmd/scw/testdata/test-all-usage-inference-model-usage.golden b/cmd/scw/testdata/test-all-usage-inference-model-usage.golden deleted file mode 100644 index 6291a33f31..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-model-usage.golden +++ /dev/null @@ -1,21 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Models commands. - -USAGE: - scw inference model - -AVAILABLE COMMANDS: - get Get a model - list List models - -FLAGS: - -h, --help help for model - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use - -Use "scw inference model [command] --help" for more information about a command. diff --git a/cmd/scw/testdata/test-all-usage-inference-node-type-list-usage.golden b/cmd/scw/testdata/test-all-usage-inference-node-type-list-usage.golden deleted file mode 100644 index 8b95fbf2bc..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-node-type-list-usage.golden +++ /dev/null @@ -1,19 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -List all available node types. By default, the node types returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field. - -USAGE: - scw inference node-type list [arg=value ...] - -ARGS: - [include-disabled-types] Include disabled node types in the response - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all) - -FLAGS: - -h, --help help for list - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use diff --git a/cmd/scw/testdata/test-all-usage-inference-node-type-usage.golden b/cmd/scw/testdata/test-all-usage-inference-node-type-usage.golden deleted file mode 100644 index 5c82db717b..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-node-type-usage.golden +++ /dev/null @@ -1,20 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Node types management commands. - -USAGE: - scw inference node-type - -AVAILABLE COMMANDS: - list List available node types - -FLAGS: - -h, --help help for node-type - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use - -Use "scw inference node-type [command] --help" for more information about a command. diff --git a/cmd/scw/testdata/test-all-usage-inference-usage.golden b/cmd/scw/testdata/test-all-usage-inference-usage.golden deleted file mode 100644 index 2cbbaaa78b..0000000000 --- a/cmd/scw/testdata/test-all-usage-inference-usage.golden +++ /dev/null @@ -1,24 +0,0 @@ -🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 -πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -This API allows you to manage your Inference services. - -USAGE: - scw inference - -AVAILABLE COMMANDS: - acl Access Control List (ACL) management commands - deployment Deployment commands - endpoint Endpoint management commands - model Models commands - node-type Node types management commands - -FLAGS: - -h, --help help for inference - -GLOBAL FLAGS: - -c, --config string The path to the config file - -D, --debug Enable debug mode - -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") - -p, --profile string The config profile to use - -Use "scw inference [command] --help" for more information about a command. diff --git a/cmd/scw/testdata/test-main-usage-usage.golden b/cmd/scw/testdata/test-main-usage-usage.golden index 8ddd292850..1e208a0999 100644 --- a/cmd/scw/testdata/test-main-usage-usage.golden +++ b/cmd/scw/testdata/test-main-usage-usage.golden @@ -18,7 +18,6 @@ AVAILABLE COMMANDS: function Function as a Service API help Get help about how the CLI works iam This API allows you to manage Identity and Access Management (IAM) across your Scaleway Organizations, Projects and resources - inference This API allows you to manage your Inference services instance This API allows you to manage your Instances iot This API allows you to manage your IoT hubs and devices ipam This API allows you to manage your Scaleway IP addresses with our IP Address Management tool diff --git a/docs/commands/inference.md b/docs/commands/inference.md deleted file mode 100644 index 4aae81bf74..0000000000 --- a/docs/commands/inference.md +++ /dev/null @@ -1,402 +0,0 @@ - -# Documentation for `scw inference` -This API allows you to manage your Inference services. - -- [Access Control List (ACL) management commands](#access-control-list-(acl)-management-commands) - - [Add new ACLs](#add-new-acls) - - [Delete an exising ACL](#delete-an-exising-acl) - - [List your ACLs](#list-your-acls) - - [Set new ACL](#set-new-acl) -- [Deployment commands](#deployment-commands) - - [Create a deployment](#create-a-deployment) - - [Delete a deployment](#delete-a-deployment) - - [Get a deployment](#get-a-deployment) - - [Get the CA certificate](#get-the-ca-certificate) - - [List inference deployments](#list-inference-deployments) - - [Update a deployment](#update-a-deployment) -- [Endpoint management commands](#endpoint-management-commands) - - [Create an endpoint](#create-an-endpoint) - - [Delete an endpoint](#delete-an-endpoint) - - [Update an endpoint](#update-an-endpoint) -- [Models commands](#models-commands) - - [Get a model](#get-a-model) - - [List models](#list-models) -- [Node types management commands](#node-types-management-commands) - - [List available node types](#list-available-node-types) - - -## Access Control List (ACL) management commands - -Access Control List (ACL) management commands. - - -### Add new ACLs - -Add new ACL rules for a specific deployment. - -**Usage:** - -``` -scw inference acl add [arg=value ...] -``` - - -**Args:** - -| Name | | Description | -|------|---|-------------| -| deployment-id | Required | ID of the deployment to add ACL rules to | -| acls.{index}.ip | | IP address to be allowed | -| acls.{index}.description | | Description of the ACL rule | -| region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | - - - -### Delete an exising ACL - -Delete an exising ACL. - -**Usage:** - -``` -scw inference acl delete [arg=value ...] -``` - - -**Args:** - -| Name | | Description | -|------|---|-------------| -| acl-id | Required | ID of the ACL rule to delete | -| region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | - - - -### List your ACLs - -List ACLs for a specific deployment. - -**Usage:** - -``` -scw inference acl list [arg=value ...] -``` - - -**Args:** - -| Name | | Description | -|------|---|-------------| -| deployment-id | Required | ID of the deployment to list ACL rules for | -| region | Default: `fr-par`
One of: `fr-par`, `all` | Region to target. If none is passed will use default region from the config | - - - -### Set new ACL - -Set new ACL rules for a specific deployment. - -**Usage:** - -``` -scw inference acl set [arg=value ...] -``` - - -**Args:** - -| Name | | Description | -|------|---|-------------| -| deployment-id | Required | ID of the deployment to set ACL rules for | -| acls.{index}.ip | | IP address to be allowed | -| acls.{index}.description | | Description of the ACL rule | -| region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | - - - -## Deployment commands - -Deployment commands. - - -### Create a deployment - -Create a new inference deployment related to a specific model. - -**Usage:** - -``` -scw inference deployment create [arg=value ...] -``` - - -**Args:** - -| Name | | Description | -|------|---|-------------| -| name | Required
Default: `` | Name of the deployment | -| project-id | | Project ID to use. If none is passed the default project ID will be used | -| model-name | Required | Name of the model to use | -| accept-eula | | Accept the model's End User License Agreement (EULA). | -| node-type | Required | Name of the node type to use | -| tags.{index} | | List of tags to apply to the deployment | -| min-size | | Defines the minimum size of the pool | -| max-size | | Defines the maximum size of the pool | -| endpoints.{index}.is-public | Default: `false` | Will configure your public endpoint if true | -| endpoints.{index}.private-network.private-network-id | | ID of the Private Network | -| endpoints.{index}.disable-auth | Default: `false` | Disable the authentication on the endpoint. | -| region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | - - - -### Delete a deployment - -Delete an existing inference deployment. - -**Usage:** - -``` -scw inference deployment delete [arg=value ...] -``` - - -**Args:** - -| Name | | Description | -|------|---|-------------| -| deployment-id | Required | ID of the deployment to delete | -| region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | - - - -### Get a deployment - -Get the deployment for the given ID. - -**Usage:** - -``` -scw inference deployment get [arg=value ...] -``` - - -**Args:** - -| Name | | Description | -|------|---|-------------| -| deployment-id | Required | ID of the deployment to get | -| region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | - - - -### Get the CA certificate - -Get the CA certificate used for the deployment of private endpoints. -The CA certificate will be returned as a PEM file. - -**Usage:** - -``` -scw inference deployment get-certificate [arg=value ...] -``` - - -**Args:** - -| Name | | Description | -|------|---|-------------| -| deployment-id | Required | | -| region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | - - - -### List inference deployments - -List all your inference deployments. - -**Usage:** - -``` -scw inference deployment list [arg=value ...] -``` - - -**Args:** - -| Name | | Description | -|------|---|-------------| -| order-by | One of: `created_at_desc`, `created_at_asc`, `name_asc`, `name_desc` | Order in which to return results | -| project-id | | Filter by Project ID | -| name | | Filter by deployment name | -| tags.{index} | | Filter by tags | -| organization-id | | Filter by Organization ID | -| region | Default: `fr-par`
One of: `fr-par`, `all` | Region to target. If none is passed will use default region from the config | - - - -### Update a deployment - -Update an existing inference deployment. - -**Usage:** - -``` -scw inference deployment update [arg=value ...] -``` - - -**Args:** - -| Name | | Description | -|------|---|-------------| -| deployment-id | Required | ID of the deployment to update | -| name | | Name of the deployment | -| tags.{index} | | List of tags to apply to the deployment | -| min-size | | Defines the new minimum size of the pool | -| max-size | | Defines the new maximum size of the pool | -| region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | - - - -## Endpoint management commands - -Endpoint management commands. - - -### Create an endpoint - -Create a new Endpoint related to a specific deployment. - -**Usage:** - -``` -scw inference endpoint create [arg=value ...] -``` - - -**Args:** - -| Name | | Description | -|------|---|-------------| -| deployment-id | Required | ID of the deployment to create the endpoint for | -| endpoint.is-public | Default: `false` | Will configure your public endpoint if true | -| endpoint.private-network.private-network-id | | ID of the Private Network | -| endpoint.disable-auth | Default: `false` | Disable the authentication on the endpoint. | -| region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | - - - -### Delete an endpoint - -Delete an existing Endpoint. - -**Usage:** - -``` -scw inference endpoint delete [arg=value ...] -``` - - -**Args:** - -| Name | | Description | -|------|---|-------------| -| endpoint-id | Required | ID of the endpoint to delete | -| region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | - - - -### Update an endpoint - -Update an existing Endpoint. - -**Usage:** - -``` -scw inference endpoint update [arg=value ...] -``` - - -**Args:** - -| Name | | Description | -|------|---|-------------| -| endpoint-id | Required | ID of the endpoint to update | -| disable-auth | | Disable the authentication on the endpoint. | -| region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | - - - -## Models commands - -Models commands. - - -### Get a model - -Get the model for the given ID. - -**Usage:** - -``` -scw inference model get [arg=value ...] -``` - - -**Args:** - -| Name | | Description | -|------|---|-------------| -| model-id | Required | ID of the model to get | -| region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | - - - -### List models - -List all available models. - -**Usage:** - -``` -scw inference model list [arg=value ...] -``` - - -**Args:** - -| Name | | Description | -|------|---|-------------| -| order-by | One of: `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc` | Order in which to return results | -| project-id | | Filter by Project ID | -| name | | Filter by model name | -| tags.{index} | | Filter by tags | -| region | Default: `fr-par`
One of: `fr-par`, `all` | Region to target. If none is passed will use default region from the config | - - - -## Node types management commands - -Node types management commands. - - -### List available node types - -List all available node types. By default, the node types returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field. - -**Usage:** - -``` -scw inference node-type list [arg=value ...] -``` - - -**Args:** - -| Name | | Description | -|------|---|-------------| -| include-disabled-types | | Include disabled node types in the response | -| region | Default: `fr-par`
One of: `fr-par`, `all` | Region to target. If none is passed will use default region from the config | - - - diff --git a/internal/namespaces/get_commands.go b/internal/namespaces/get_commands.go index b6b5a01c49..83c7758dab 100644 --- a/internal/namespaces/get_commands.go +++ b/internal/namespaces/get_commands.go @@ -19,7 +19,6 @@ import ( function "github.com/scaleway/scaleway-cli/v2/internal/namespaces/function/v1beta1" "github.com/scaleway/scaleway-cli/v2/internal/namespaces/help" iam "github.com/scaleway/scaleway-cli/v2/internal/namespaces/iam/v1alpha1" - inference "github.com/scaleway/scaleway-cli/v2/internal/namespaces/inference/v1beta1" "github.com/scaleway/scaleway-cli/v2/internal/namespaces/info" initNamespace "github.com/scaleway/scaleway-cli/v2/internal/namespaces/init" "github.com/scaleway/scaleway-cli/v2/internal/namespaces/instance/v1" @@ -97,7 +96,6 @@ func GetCommands() *core.Commands { jobs.GetCommands(), serverless_sqldb.GetCommands(), llm_inference.GetCommands(), - inference.GetCommands(), ) //if beta {}