-
Notifications
You must be signed in to change notification settings - Fork 156
feat(inference): add support v1 #4765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
96f4f76
fix(inference): attach private network (#4524)
Laure-di a9f7fc9
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] dda7dce
feat(secret_manager): display restore methods (#4597)
scaleway-bot 83824a8
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] 4da9473
feat(secret_manager): display restore methods (#4597)
scaleway-bot 52bae61
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] 2737607
feat(secret_manager): display restore methods (#4597)
scaleway-bot 71720dd
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] d20db76
feat(secret_manager): display restore methods (#4597)
scaleway-bot 710dfca
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] d7c8592
feat(secret_manager): display restore methods (#4597)
scaleway-bot d3a0fd9
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] e1ce1e3
feat(secret_manager): display restore methods (#4597)
scaleway-bot 33dc6bb
feat(audit_trail): add account user and organization resources (#4717)
scaleway-bot e8b8f21
chore: bump sdk (#4751)
scaleway-bot 97c89b1
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] efc1c59
feat(secret_manager): display restore methods (#4597)
scaleway-bot 6504774
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] 18c3e07
feat(secret_manager): display restore methods (#4597)
scaleway-bot fa894a0
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] 0ffe456
feat(secret_manager): display restore methods (#4597)
scaleway-bot 7fddefc
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] 6bed35e
feat(secret_manager): display restore methods (#4597)
scaleway-bot c3be94e
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] a53458a
feat(secret_manager): display restore methods (#4597)
scaleway-bot d6c2c33
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] 62d092a
feat(secret_manager): display restore methods (#4597)
scaleway-bot 6298daa
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] fc62f7e
feat(secret_manager): display restore methods (#4597)
scaleway-bot 43fe8c7
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] eb1a3d0
feat(secret_manager): display restore methods (#4597)
scaleway-bot 3d036e5
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] 7f027f3
feat(secret_manager): display restore methods (#4597)
scaleway-bot 5bb3c60
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] b0f5cd2
feat(secret_manager): display restore methods (#4597)
scaleway-bot 8d6f3f9
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] f4e66fc
feat(secret_manager): display restore methods (#4597)
scaleway-bot fa2c5a2
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#4567)
dependabot[bot] 35ff803
feat(secret_manager): display restore methods (#4597)
scaleway-bot 948838b
fix golangci linter
Laure-di 90444d2
feat(inference): add support inference v1
Laure-di da52d36
update documentation
Laure-di de501ca
update goldens all usage
Laure-di 05bacb0
update mainUsage
Laure-di 7a305cc
remove custom_deployment
Laure-di d70503c
Merge branch 'master' into add-support-v1-inference
jremy42 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
cmd/scw/testdata/test-all-usage-inference-model-delete-usage.golden
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 | ||
| 🟥🟥🟥 STDERR️️ 🟥🟥🟥️ | ||
| Delete an existing model from your model library. | ||
|
|
||
| USAGE: | ||
| scw inference model delete <model-id ...> [arg=value ...] | ||
|
|
||
| ARGS: | ||
| model-id ID of the model 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 |
22 changes: 22 additions & 0 deletions
22
cmd/scw/testdata/test-all-usage-inference-model-import-usage.golden
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 | ||
| 🟥🟥🟥 STDERR️️ 🟥🟥🟥️ | ||
| Import a new model to your model library. | ||
|
|
||
| USAGE: | ||
| scw inference model import [arg=value ...] | ||
|
|
||
| ARGS: | ||
| name=<generated> Name of the model | ||
| [project-id] Project ID to use. If none is passed the default project ID will be used | ||
| [source.url] | ||
| [source.secret] | ||
| [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) | ||
|
|
||
| FLAGS: | ||
| -h, --help help for import | ||
|
|
||
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| package inference | ||
|
|
||
| import "github.com/scaleway/scaleway-cli/v2/core" | ||
|
|
||
| func GetCommands() *core.Commands { | ||
| cmds := GetGeneratedCommands() | ||
|
|
||
| return cmds | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.