Skip to content

Commit b4add50

Browse files
committed
Merge remote-tracking branch 'origin/feat/STACKITCLI-441-refactor-mongodbflex' into feat/STACKITCLI-441-refactor-mongodbflex
2 parents 030a13b + 83b6132 commit b4add50

55 files changed

Lines changed: 4998 additions & 34 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/ci.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
pull-requests: write # write permission needed to comment on PR
6666
steps:
6767
- name: Check new code coverage
68-
uses: fgrosse/go-coverage-report@v1.3.1
68+
uses: fgrosse/go-coverage-report@v1.4.0
6969
continue-on-error: true # Add this line to prevent pipeline failures in forks
7070
with:
7171
coverage-artifact-name: ${{ env.CODE_COVERAGE_ARTIFACT_NAME }}

‎docs/stackit_beta.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,6 @@ stackit beta [flags]
4747
* [stackit beta edge-cloud](./stackit_beta_edge-cloud.md) - Provides functionality for Edge Cloud services.
4848
* [stackit beta intake](./stackit_beta_intake.md) - Provides functionality for intake
4949
* [stackit beta sfs](./stackit_beta_sfs.md) - Provides functionality for SFS (STACKIT File Storage)
50+
* [stackit beta volume](./stackit_beta_volume.md) - Provides functionality for Volume
5051
* [stackit beta vpn](./stackit_beta_vpn.md) - Provides functionality for VPN
5152

‎docs/stackit_beta_volume.md‎

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
## stackit beta volume
2+
3+
Provides functionality for Volume
4+
5+
### Synopsis
6+
7+
Provides functionality for Volume.
8+
9+
```
10+
stackit beta volume [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit beta volume"
17+
```
18+
19+
### Options inherited from parent commands
20+
21+
```
22+
-y, --assume-yes If set, skips all confirmation prompts
23+
--async If set, runs the command asynchronously
24+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
25+
-p, --project-id string Project ID
26+
--region string Target region for region-specific requests
27+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
28+
```
29+
30+
### SEE ALSO
31+
32+
* [stackit beta](./stackit_beta.md) - Contains beta STACKIT CLI commands
33+
* [stackit beta volume automation](./stackit_beta_volume_automation.md) - Provides functionality for Volume Automation
34+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
## stackit beta volume automation
2+
3+
Provides functionality for Volume Automation
4+
5+
### Synopsis
6+
7+
Provides functionality for Volume Automation.
8+
9+
```
10+
stackit beta volume automation [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit beta volume automation"
17+
```
18+
19+
### Options inherited from parent commands
20+
21+
```
22+
-y, --assume-yes If set, skips all confirmation prompts
23+
--async If set, runs the command asynchronously
24+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
25+
-p, --project-id string Project ID
26+
--region string Target region for region-specific requests
27+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
28+
```
29+
30+
### SEE ALSO
31+
32+
* [stackit beta volume](./stackit_beta_volume.md) - Provides functionality for Volume
33+
* [stackit beta volume automation create](./stackit_beta_volume_automation_create.md) - Creates a Volume Automation
34+
* [stackit beta volume automation delete](./stackit_beta_volume_automation_delete.md) - Deletes a Volume Automation
35+
* [stackit beta volume automation describe](./stackit_beta_volume_automation_describe.md) - Shows details of a Volume Automation
36+
* [stackit beta volume automation execution](./stackit_beta_volume_automation_execution.md) - Provides functionality for Volume Automation Execution
37+
* [stackit beta volume automation generate-payload](./stackit_beta_volume_automation_generate-payload.md) - Generates a payload to update volume automation
38+
* [stackit beta volume automation list](./stackit_beta_volume_automation_list.md) - List all Volume Automations
39+
* [stackit beta volume automation template](./stackit_beta_volume_automation_template.md) - Provides functionality for Volume Automation Templates
40+
* [stackit beta volume automation update](./stackit_beta_volume_automation_update.md) - Updates a Volume Automation
41+
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
## stackit beta volume automation create
2+
3+
Creates a Volume Automation
4+
5+
### Synopsis
6+
7+
Creates a Volume Automation.
8+
The input for the automation can be provided as a JSON string or a file path prefixed with "@".
9+
See https://docs.api.stackit.cloud/documentation/automation-service/version/v1#tag/Volume-Automations/operation/CreateVolumeAutomation for information regarding the payload structure.
10+
11+
12+
```
13+
stackit beta volume automation create [flags]
14+
```
15+
16+
### Examples
17+
18+
```
19+
Creates a Volume Automation with name "my-automation", template ID "xxx" and input from the file "./input-payload.json"
20+
$ stackit beta volume automation create --name my-automation --template-id xxx --input @./input-payload.json
21+
22+
Creates a Volume Automation with name "my-automation", description "CLI Example", template ID "xxx" and input from the file "./input-payload.json"
23+
$ stackit beta volume automation create --name my-automation --description "CLI Example" --template-id xxx --input @./input-payload.json
24+
25+
Creates a Volume Automation with name "my-automation", template ID "xxx", rrule schedule trigger "FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR" and input from the file "./input-payload.json"
26+
$ stackit beta volume automation create --name my-automation --template-id xxx --trigger-schedule-rrule "FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR" --input @./input-payload.json
27+
```
28+
29+
### Options
30+
31+
```
32+
--description string Description of the automation
33+
-h, --help Help for "stackit beta volume automation create"
34+
--input string Input for the automation (JSON). Can be a string or a file path, if prefixed with "@" (example: @./payload.json).
35+
--name string Name of the automation
36+
--template-id string Template ID which should be used for the automation
37+
--trigger-schedule-rrule string Trigger schedule (RRULE) for the automation
38+
```
39+
40+
### Options inherited from parent commands
41+
42+
```
43+
-y, --assume-yes If set, skips all confirmation prompts
44+
--async If set, runs the command asynchronously
45+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
46+
-p, --project-id string Project ID
47+
--region string Target region for region-specific requests
48+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
49+
```
50+
51+
### SEE ALSO
52+
53+
* [stackit beta volume automation](./stackit_beta_volume_automation.md) - Provides functionality for Volume Automation
54+
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## stackit beta volume automation delete
2+
3+
Deletes a Volume Automation
4+
5+
### Synopsis
6+
7+
Deletes a Volume Automation.
8+
9+
```
10+
stackit beta volume automation delete AUTOMATION_ID [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Delete a Volume Automation with ID "xxx"
17+
$ stackit beta volume automation delete xxx
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit beta volume automation delete"
24+
```
25+
26+
### Options inherited from parent commands
27+
28+
```
29+
-y, --assume-yes If set, skips all confirmation prompts
30+
--async If set, runs the command asynchronously
31+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
32+
-p, --project-id string Project ID
33+
--region string Target region for region-specific requests
34+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
35+
```
36+
37+
### SEE ALSO
38+
39+
* [stackit beta volume automation](./stackit_beta_volume_automation.md) - Provides functionality for Volume Automation
40+
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## stackit beta volume automation describe
2+
3+
Shows details of a Volume Automation
4+
5+
### Synopsis
6+
7+
Shows details of a Volume Automation.
8+
9+
```
10+
stackit beta volume automation describe AUTOMATION_ID [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Describe the Volume Automation with ID "xxx"
17+
$ stackit beta volume automation describe xxx
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit beta volume automation describe"
24+
```
25+
26+
### Options inherited from parent commands
27+
28+
```
29+
-y, --assume-yes If set, skips all confirmation prompts
30+
--async If set, runs the command asynchronously
31+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
32+
-p, --project-id string Project ID
33+
--region string Target region for region-specific requests
34+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
35+
```
36+
37+
### SEE ALSO
38+
39+
* [stackit beta volume automation](./stackit_beta_volume_automation.md) - Provides functionality for Volume Automation
40+
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
## stackit beta volume automation execution
2+
3+
Provides functionality for Volume Automation Execution
4+
5+
### Synopsis
6+
7+
Provides functionality for Volume Automation Execution.
8+
9+
```
10+
stackit beta volume automation execution [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit beta volume automation execution"
17+
```
18+
19+
### Options inherited from parent commands
20+
21+
```
22+
-y, --assume-yes If set, skips all confirmation prompts
23+
--async If set, runs the command asynchronously
24+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
25+
-p, --project-id string Project ID
26+
--region string Target region for region-specific requests
27+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
28+
```
29+
30+
### SEE ALSO
31+
32+
* [stackit beta volume automation](./stackit_beta_volume_automation.md) - Provides functionality for Volume Automation
33+
* [stackit beta volume automation execution create](./stackit_beta_volume_automation_execution_create.md) - Creates a new Volume Automation Execution
34+
* [stackit beta volume automation execution describe](./stackit_beta_volume_automation_execution_describe.md) - Shows details of a Volume Automation Execution
35+
* [stackit beta volume automation execution list](./stackit_beta_volume_automation_execution_list.md) - List all Volume Automation Executions
36+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
## stackit beta volume automation execution create
2+
3+
Creates a new Volume Automation Execution
4+
5+
### Synopsis
6+
7+
Creates a new Volume Automation Execution.
8+
9+
```
10+
stackit beta volume automation execution create [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Create a new Volume Automation Execution for Automation with ID "xxx"
17+
$ stackit beta volume automation execution create --automation-id xxx
18+
```
19+
20+
### Options
21+
22+
```
23+
--automation-id string ID of the automation which should be executed
24+
-h, --help Help for "stackit beta volume automation execution create"
25+
```
26+
27+
### Options inherited from parent commands
28+
29+
```
30+
-y, --assume-yes If set, skips all confirmation prompts
31+
--async If set, runs the command asynchronously
32+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
33+
-p, --project-id string Project ID
34+
--region string Target region for region-specific requests
35+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
36+
```
37+
38+
### SEE ALSO
39+
40+
* [stackit beta volume automation execution](./stackit_beta_volume_automation_execution.md) - Provides functionality for Volume Automation Execution
41+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
## stackit beta volume automation execution describe
2+
3+
Shows details of a Volume Automation Execution
4+
5+
### Synopsis
6+
7+
Shows details of a Volume Automation Execution.
8+
9+
```
10+
stackit beta volume automation execution describe EXECUTION_ID [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Describe the Volume Automation Execution with ID "xxx" for Automation with ID "yyy"
17+
$ stackit beta volume automation execution describe xxx --automation-id yyy
18+
```
19+
20+
### Options
21+
22+
```
23+
--automation-id string Automation ID
24+
-h, --help Help for "stackit beta volume automation execution describe"
25+
```
26+
27+
### Options inherited from parent commands
28+
29+
```
30+
-y, --assume-yes If set, skips all confirmation prompts
31+
--async If set, runs the command asynchronously
32+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
33+
-p, --project-id string Project ID
34+
--region string Target region for region-specific requests
35+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
36+
```
37+
38+
### SEE ALSO
39+
40+
* [stackit beta volume automation execution](./stackit_beta_volume_automation_execution.md) - Provides functionality for Volume Automation Execution
41+

0 commit comments

Comments
 (0)