Skip to content

Commit 71dbbcc

Browse files
authored
Onboard Redis and RabbitMQ (#60)
* Onboard Redis * Onboard RabbitMQ * Make service a const in service utils * Add docs
1 parent 95b3bda commit 71dbbcc

File tree

93 files changed

+10246
-18
lines changed

Some content is hidden

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

93 files changed

+10246
-18
lines changed

docs/stackit.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ stackit [flags]
3434
* [stackit organization](./stackit_organization.md) - Provides functionality regarding organizations
3535
* [stackit postgresflex](./stackit_postgresflex.md) - Provides functionality for PostgreSQL Flex
3636
* [stackit project](./stackit_project.md) - Provides functionality regarding projects
37+
* [stackit rabbitmq](./stackit_rabbitmq.md) - Provides functionality for RabbitMQ
38+
* [stackit redis](./stackit_redis.md) - Provides functionality for Redis
3739
* [stackit service-account](./stackit_service-account.md) - Provides functionality for service accounts
3840
* [stackit ske](./stackit_ske.md) - Provides functionality for SKE
3941

docs/stackit_config_set.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ stackit config set [flags]
3535
--mongodbflex-custom-endpoint string MongoDB Flex custom endpoint
3636
--opensearch-custom-endpoint string OpenSearch custom endpoint
3737
--postgresflex-custom-endpoint string PostgreSQL Flex custom endpoint
38+
--rabbitmq-custom-endpoint string RabbitMQ custom endpoint
39+
--redis-custom-endpoint string Redis custom endpoint
3840
--resource-manager-custom-endpoint string Resource manager custom endpoint
3941
--service-account-custom-endpoint string Service Account custom endpoint
4042
--session-time-limit string Maximum time before authentication is required again. Can't be larger than 24h. Examples: 3h, 5h30m40s (BETA: currently values greater than 2h have no effect)

docs/stackit_config_unset.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ stackit config unset [flags]
3535
--output-format Output format
3636
--postgresflex-custom-endpoint PostgreSQL Flex custom endpoint
3737
--project-id Project ID
38+
--rabbitmq-custom-endpoint RabbitMQ custom endpoint
39+
--redis-custom-endpoint Redis custom endpoint
3840
--resource-manager-custom-endpoint Resource Manager custom endpoint
3941
--service-account-custom-endpoint SKE custom endpoint
4042
--ske-custom-endpoint SKE custom endpoint

docs/stackit_postgresflex_instance_create.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ stackit postgresflex instance create [flags]
2727

2828
```
2929
--acl strings The access control list (ACL). Must contain at least one valid subnet, for instance '0.0.0.0/0' for open access (discouraged), '1.2.3.0/24 for a public IP range of an organization, '1.2.3.4/32' for a single IP range, etc. (default [])
30-
--backup-schedule string Backup schedule (default "0 0/6 * * *")
30+
--backup-schedule string Backup schedule (default "0 0 * * *")
3131
--cpu int Number of CPUs
3232
--flavor-id string ID of the flavor
3333
-h, --help Help for "stackit postgresflex instance create"
3434
-n, --name string Instance name
3535
--ram int Amount of RAM (in GB)
3636
--storage-class string Storage class (default "premium-perf2-stackit")
3737
--storage-size int Storage size (in GB) (default 10)
38-
--type string Instance type, one of ["Single" "Replica" "Sharded"] (default "Replica")
39-
--version string Version (default "6.0")
38+
--type string Instance type, one of ["Single" "Replica"] (default "Replica")
39+
--version string PostgreSQL version. Defaults to the latest version available
4040
```
4141

4242
### Options inherited from parent commands

docs/stackit_postgresflex_instance_update.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ stackit postgresflex instance update INSTANCE_ID [flags]
3232
--ram int Amount of RAM (in GB)
3333
--storage-class string Storage class
3434
--storage-size int Storage size (in GB)
35-
--type string Instance type, one of ["Single" "Replica" "Sharded"]
35+
--type string Instance type, one of ["Single" "Replica"]
3636
--version string Version
3737
```
3838

docs/stackit_rabbitmq.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
## stackit rabbitmq
2+
3+
Provides functionality for RabbitMQ
4+
5+
### Synopsis
6+
7+
Provides functionality for RabbitMQ.
8+
9+
```
10+
stackit rabbitmq [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit rabbitmq"
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"]
25+
-p, --project-id string Project ID
26+
```
27+
28+
### SEE ALSO
29+
30+
* [stackit](./stackit.md) - Manage STACKIT resources using the command line
31+
* [stackit rabbitmq credentials](./stackit_rabbitmq_credentials.md) - Provides functionality for RabbitMQ credentials
32+
* [stackit rabbitmq instance](./stackit_rabbitmq_instance.md) - Provides functionality for RabbitMQ instances
33+
* [stackit rabbitmq plans](./stackit_rabbitmq_plans.md) - Lists all RabbitMQ service plans
34+
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
## stackit rabbitmq credentials
2+
3+
Provides functionality for RabbitMQ credentials
4+
5+
### Synopsis
6+
7+
Provides functionality for RabbitMQ credentials.
8+
9+
```
10+
stackit rabbitmq credentials [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit rabbitmq credentials"
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"]
25+
-p, --project-id string Project ID
26+
```
27+
28+
### SEE ALSO
29+
30+
* [stackit rabbitmq](./stackit_rabbitmq.md) - Provides functionality for RabbitMQ
31+
* [stackit rabbitmq credentials create](./stackit_rabbitmq_credentials_create.md) - Creates credentials for an RabbitMQ instance
32+
* [stackit rabbitmq credentials delete](./stackit_rabbitmq_credentials_delete.md) - Deletes credentials of an RabbitMQ instance
33+
* [stackit rabbitmq credentials describe](./stackit_rabbitmq_credentials_describe.md) - Shows details of credentials of an RabbitMQ instance
34+
* [stackit rabbitmq credentials list](./stackit_rabbitmq_credentials_list.md) - Lists all credentials' IDs for an RabbitMQ instance
35+
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
## stackit rabbitmq credentials create
2+
3+
Creates credentials for an RabbitMQ instance
4+
5+
### Synopsis
6+
7+
Creates credentials (username and password) for an RabbitMQ instance.
8+
9+
```
10+
stackit rabbitmq credentials create [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Create credentials for an RabbitMQ instance
17+
$ stackit rabbitmq credentials create --instance-id xxx
18+
19+
Create credentials for an RabbitMQ instance and hide the password in the output
20+
$ stackit rabbitmq credentials create --instance-id xxx --hide-password
21+
```
22+
23+
### Options
24+
25+
```
26+
-h, --help Help for "stackit rabbitmq credentials create"
27+
--hide-password Hide password in output
28+
--instance-id string Instance ID
29+
```
30+
31+
### Options inherited from parent commands
32+
33+
```
34+
-y, --assume-yes If set, skips all confirmation prompts
35+
--async If set, runs the command asynchronously
36+
-o, --output-format string Output format, one of ["json" "pretty"]
37+
-p, --project-id string Project ID
38+
```
39+
40+
### SEE ALSO
41+
42+
* [stackit rabbitmq credentials](./stackit_rabbitmq_credentials.md) - Provides functionality for RabbitMQ credentials
43+
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
## stackit rabbitmq credentials delete
2+
3+
Deletes credentials of an RabbitMQ instance
4+
5+
### Synopsis
6+
7+
Deletes credentials of an RabbitMQ instance.
8+
9+
```
10+
stackit rabbitmq credentials delete CREDENTIALS_ID [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Delete credentials with ID "xxx" of RabbitMQ instance with ID "yyy"
17+
$ stackit rabbitmq credentials delete xxx --instance-id yyy
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit rabbitmq credentials delete"
24+
--instance-id string Instance ID
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"]
33+
-p, --project-id string Project ID
34+
```
35+
36+
### SEE ALSO
37+
38+
* [stackit rabbitmq credentials](./stackit_rabbitmq_credentials.md) - Provides functionality for RabbitMQ credentials
39+
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
## stackit rabbitmq credentials describe
2+
3+
Shows details of credentials of an RabbitMQ instance
4+
5+
### Synopsis
6+
7+
Shows details of credentials of an RabbitMQ instance. The password will be shown in plain text in the output.
8+
9+
```
10+
stackit rabbitmq credentials describe CREDENTIALS_ID [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Get details of credentials of an RabbitMQ instance with ID "xxx" from instance with ID "yyy"
17+
$ stackit rabbitmq credentials describe xxx --instance-id yyy
18+
19+
Get details of credentials of an RabbitMQ instance with ID "xxx" from instance with ID "yyy" in a table format
20+
$ stackit rabbitmq credentials describe xxx --instance-id yyy --output-format pretty
21+
```
22+
23+
### Options
24+
25+
```
26+
-h, --help Help for "stackit rabbitmq credentials describe"
27+
--instance-id string Instance ID
28+
```
29+
30+
### Options inherited from parent commands
31+
32+
```
33+
-y, --assume-yes If set, skips all confirmation prompts
34+
--async If set, runs the command asynchronously
35+
-o, --output-format string Output format, one of ["json" "pretty"]
36+
-p, --project-id string Project ID
37+
```
38+
39+
### SEE ALSO
40+
41+
* [stackit rabbitmq credentials](./stackit_rabbitmq_credentials.md) - Provides functionality for RabbitMQ credentials
42+

0 commit comments

Comments
 (0)