Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Delete a given data source. Note that this action will permanently delete this data source and any data associated with it.

USAGE:
scw cockpit data-source delete [arg=value ...]
scw cockpit data-source delete <data-source-id ...> [arg=value ...]

ARGS:
data-source-id ID of the data source to delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Retrieve information about a given data source, specified by the data source ID. The data source's information such as its name, type, URL, origin, and retention period, is returned.

USAGE:
scw cockpit data-source get [arg=value ...]
scw cockpit data-source get <data-source-id ...> [arg=value ...]

ARGS:
data-source-id ID of the relevant data source
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Update a given data source attributes (name and/or retention_days).

USAGE:
scw cockpit data-source update [arg=value ...]
scw cockpit data-source update <data-source-id ...> [arg=value ...]

ARGS:
data-source-id ID of the data source to update
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Delete a given token, specified by the token ID. Deleting a token is irreversible and cannot be undone.

USAGE:
scw cockpit token delete [arg=value ...]
scw cockpit token delete <token-id ...> [arg=value ...]

ARGS:
token-id ID of the token to delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Retrieve information about a given token, specified by the token ID. The token's information such as its scopes, is returned.

USAGE:
scw cockpit token get [arg=value ...]
scw cockpit token get <token-id ...> [arg=value ...]

ARGS:
token-id Token ID
Expand Down
10 changes: 5 additions & 5 deletions docs/commands/cockpit.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ Delete a given data source. Note that this action will permanently delete this d
**Usage:**

```
scw cockpit data-source delete [arg=value ...]
scw cockpit data-source delete <data-source-id ...> [arg=value ...]
```


Expand All @@ -237,7 +237,7 @@ Retrieve information about a given data source, specified by the data source ID.
**Usage:**

```
scw cockpit data-source get [arg=value ...]
scw cockpit data-source get <data-source-id ...> [arg=value ...]
```


Expand Down Expand Up @@ -280,7 +280,7 @@ Update a given data source attributes (name and/or retention_days).
**Usage:**

```
scw cockpit data-source update [arg=value ...]
scw cockpit data-source update <data-source-id ...> [arg=value ...]
```


Expand Down Expand Up @@ -643,7 +643,7 @@ Delete a given token, specified by the token ID. Deleting a token is irreversibl
**Usage:**

```
scw cockpit token delete [arg=value ...]
scw cockpit token delete <token-id ...> [arg=value ...]
```


Expand All @@ -663,7 +663,7 @@ Retrieve information about a given token, specified by the token ID. The token's
**Usage:**

```
scw cockpit token get [arg=value ...]
scw cockpit token get <token-id ...> [arg=value ...]
```


Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ require (
github.com/mattn/go-isatty v0.0.20
github.com/moby/buildkit v0.24.0
github.com/opencontainers/go-digest v1.0.0
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.34.0.20250912134829-9294f115f3d2
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20250915122732-e1e0d6a999c6
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
github.com/spf13/cobra v1.10.1
github.com/spf13/pflag v1.0.10
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.34.0.20250912134829-9294f115f3d2 h1:WeANDlfGb3oFt08xg4TVd+zmVfif6/9uVXXMjg7Jgr4=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.34.0.20250912134829-9294f115f3d2/go.mod h1:47B1d/YXmSAxlJxUJxClzHR6b3T4M1WyCvwENPQNBWc=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20250915122732-e1e0d6a999c6 h1:Jps8nJ4Sc+BbZrNzbmKtwDWTU8mn7ar9u9LdkFw5ddU=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20250915122732-e1e0d6a999c6/go.mod h1:47B1d/YXmSAxlJxUJxClzHR6b3T4M1WyCvwENPQNBWc=
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=
Expand Down
10 changes: 5 additions & 5 deletions internal/namespaces/cockpit/v1/cockpit_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ func cockpitDataSourceGet() *core.Command {
Short: `ID of the relevant data source`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.RegionArgSpec(
scw.RegionFrPar,
Expand Down Expand Up @@ -644,7 +644,7 @@ func cockpitDataSourceDelete() *core.Command {
Short: `ID of the data source to delete`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.RegionArgSpec(
scw.RegionFrPar,
Expand Down Expand Up @@ -764,7 +764,7 @@ func cockpitDataSourceUpdate() *core.Command {
Short: `ID of the data source to update`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
{
Name: "name",
Expand Down Expand Up @@ -972,7 +972,7 @@ func cockpitTokenGet() *core.Command {
Short: `Token ID`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.RegionArgSpec(
scw.RegionFrPar,
Expand Down Expand Up @@ -1006,7 +1006,7 @@ func cockpitTokenDelete() *core.Command {
Short: `ID of the token to delete`,
Required: true,
Deprecated: false,
Positional: false,
Positional: true,
},
core.RegionArgSpec(
scw.RegionFrPar,
Expand Down
Loading