Skip to content
Open
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
1 change: 1 addition & 0 deletions docs/stackit.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ stackit [flags]
* [stackit dns](./stackit_dns.md) - Provides functionality for DNS
* [stackit git](./stackit_git.md) - Provides functionality for STACKIT Git
* [stackit image](./stackit_image.md) - Manage server images
* [stackit intake](./stackit_intake.md) - Provides functionality for intake
* [stackit key-pair](./stackit_key-pair.md) - Provides functionality for SSH key pairs
* [stackit load-balancer](./stackit_load-balancer.md) - Provides functionality for Load Balancer
* [stackit logme](./stackit_logme.md) - Provides functionality for LogMe
Expand Down
1 change: 1 addition & 0 deletions docs/stackit_config_set.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ stackit config set [flags]
--iaas-custom-endpoint string IaaS API base URL, used in calls to this API
--identity-provider-custom-client-id string Identity Provider client ID, used for user authentication
--identity-provider-custom-well-known-configuration string Identity Provider well-known OpenID configuration URL, used for user authentication
--intake-custom-endpoint string Intake API base URL, used in calls to this API
--load-balancer-custom-endpoint string Load Balancer API base URL, used in calls to this API
--logme-custom-endpoint string LogMe API base URL, used in calls to this API
--mariadb-custom-endpoint string MariaDB API base URL, used in calls to this API
Expand Down
1 change: 1 addition & 0 deletions docs/stackit_config_unset.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ stackit config unset [flags]
--iaas-custom-endpoint IaaS API base URL. If unset, uses the default base URL
--identity-provider-custom-client-id Identity Provider client ID, used for user authentication
--identity-provider-custom-well-known-configuration Identity Provider well-known OpenID configuration URL. If unset, uses the default identity provider
--intake-custom-endpoint Intake API base URL. If unset, uses the default base URL
--load-balancer-custom-endpoint Load Balancer API base URL. If unset, uses the default base URL
--logme-custom-endpoint LogMe API base URL. If unset, uses the default base URL
--mariadb-custom-endpoint MariaDB API base URL. If unset, uses the default base URL
Expand Down
34 changes: 34 additions & 0 deletions docs/stackit_intake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
## stackit intake

Provides functionality for intake

### Synopsis

Provides functionality for intake.

```
stackit intake [flags]
```

### Options

```
-h, --help Help for "stackit intake"
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit](./stackit.md) - Manage STACKIT resources using the command line
* [stackit intake runner](./stackit_intake_runner.md) - Provides functionality for Intake Runners

38 changes: 38 additions & 0 deletions docs/stackit_intake_runner.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
## stackit intake runner

Provides functionality for Intake Runners

### Synopsis

Provides functionality for Intake Runners.

```
stackit intake runner [flags]
```

### Options

```
-h, --help Help for "stackit intake runner"
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit intake](./stackit_intake.md) - Provides functionality for intake
* [stackit intake runner create](./stackit_intake_runner_create.md) - Creates a new Intake Runner
* [stackit intake runner delete](./stackit_intake_runner_delete.md) - Deletes an Intake Runner
* [stackit intake runner describe](./stackit_intake_runner_describe.md) - Shows details of an Intake Runner
* [stackit intake runner list](./stackit_intake_runner_list.md) - Lists all Intake Runners
* [stackit intake runner update](./stackit_intake_runner_update.md) - Updates an Intake Runner

48 changes: 48 additions & 0 deletions docs/stackit_intake_runner_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
## stackit intake runner create

Creates a new Intake Runner

### Synopsis

Creates a new Intake Runner.

```
stackit intake runner create [flags]
```

### Examples

```
Create a new Intake Runner with a display name and message capacity limits
$ stackit intake runner create --display-name my-runner --max-message-size-kib 1000 --max-messages-per-hour 5000

Create a new Intake Runner with a description and labels
$ stackit intake runner create --display-name my-runner --max-message-size-kib 1000 --max-messages-per-hour 5000 --description "Main runner for production" --labels="env=prod,team=billing"
```

### Options

```
--description string Description
--display-name string Display name
-h, --help Help for "stackit intake runner create"
--labels stringToString Labels in key=value format, separated by commas. Example: --labels "key1=value1,key2=value2" (default [])
--max-message-size-kib int Maximum message size in KiB
--max-messages-per-hour int Maximum number of messages per hour
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit intake runner](./stackit_intake_runner.md) - Provides functionality for Intake Runners

40 changes: 40 additions & 0 deletions docs/stackit_intake_runner_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## stackit intake runner delete

Deletes an Intake Runner

### Synopsis

Deletes an Intake Runner.

```
stackit intake runner delete RUNNER_ID [flags]
```

### Examples

```
Delete an Intake Runner with ID "xxx"
$ stackit intake runner delete xxx
```

### Options

```
-h, --help Help for "stackit intake runner delete"
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit intake runner](./stackit_intake_runner.md) - Provides functionality for Intake Runners

43 changes: 43 additions & 0 deletions docs/stackit_intake_runner_describe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
## stackit intake runner describe

Shows details of an Intake Runner

### Synopsis

Shows details of an Intake Runner.

```
stackit intake runner describe RUNNER_ID [flags]
```

### Examples

```
Get details of an Intake Runner with ID "xxx"
$ stackit intake runner describe xxx

Get details of an Intake Runner with ID "xxx" in JSON format
$ stackit intake runner describe xxx --output-format json
```

### Options

```
-h, --help Help for "stackit intake runner describe"
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit intake runner](./stackit_intake_runner.md) - Provides functionality for Intake Runners

47 changes: 47 additions & 0 deletions docs/stackit_intake_runner_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
## stackit intake runner list

Lists all Intake Runners

### Synopsis

Lists all Intake Runners for the current project.

```
stackit intake runner list [flags]
```

### Examples

```
List all Intake Runners
$ stackit intake runner list

List all Intake Runners in JSON format
$ stackit intake runner list --output-format json

List up to 5 Intake Runners
$ stackit intake runner list --limit 5
```

### Options

```
-h, --help Help for "stackit intake runner list"
--limit int Maximum number of entries to list
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit intake runner](./stackit_intake_runner.md) - Provides functionality for Intake Runners

51 changes: 51 additions & 0 deletions docs/stackit_intake_runner_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
## stackit intake runner update

Updates an Intake Runner

### Synopsis

Updates an Intake Runner. Only the specified fields are updated.

```
stackit intake runner update RUNNER_ID [flags]
```

### Examples

```
Update the display name of an Intake Runner with ID "xxx"
$ stackit intake runner update xxx --display-name "new-runner-name"

Update the message capacity limits for an Intake Runner with ID "xxx"
$ stackit intake runner update xxx --max-message-size-kib 2000 --max-messages-per-hour 10000

Clear the labels of an Intake Runner with ID "xxx" by providing an empty value
$ stackit intake runner update xxx --labels ""
```

### Options

```
--description string Description
--display-name string Display name
-h, --help Help for "stackit intake runner update"
--labels stringToString Labels in key=value format. To clear all labels, provide an empty string, e.g. --labels "" (default [])
--max-message-size-kib int Maximum message size in KiB. Note: Overall message capacity cannot be decreased.
--max-messages-per-hour int Maximum number of messages per hour. Note: Overall message capacity cannot be decreased.
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit intake runner](./stackit_intake_runner.md) - Provides functionality for Intake Runners

1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ require (
github.com/stackitcloud/stackit-sdk-go/services/dns v0.17.1
github.com/stackitcloud/stackit-sdk-go/services/git v0.7.1
github.com/stackitcloud/stackit-sdk-go/services/iaas v0.30.0
github.com/stackitcloud/stackit-sdk-go/services/intake v0.1.1
github.com/stackitcloud/stackit-sdk-go/services/mongodbflex v1.5.2
github.com/stackitcloud/stackit-sdk-go/services/opensearch v0.24.1
github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.2.1
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,10 @@ github.com/stackitcloud/stackit-sdk-go/services/git v0.7.1 h1:hkFixFnBcQzU4BSIZF
github.com/stackitcloud/stackit-sdk-go/services/git v0.7.1/go.mod h1:Ng1EzrRndG3iGXGH90AZJz//wfK+2YOyDwTnTLwX3a4=
github.com/stackitcloud/stackit-sdk-go/services/iaas v0.30.0 h1:01+noyCSadNH3ALHufcVXxNs0hBsetzJkOMN1Fe0VLc=
github.com/stackitcloud/stackit-sdk-go/services/iaas v0.30.0/go.mod h1:854gnLR92NvAbJAA1xZEumrtNh1DoBP1FXTMvhwYA6w=
github.com/stackitcloud/stackit-sdk-go/services/intake v0.1.0 h1:IhswZoEHqkBW60wEmRaeoSrW68PGLQKrWVmMPMzwYrY=
github.com/stackitcloud/stackit-sdk-go/services/intake v0.1.0/go.mod h1:vRnT3zxWJ1k7wbAk8JmO0xFmPhmeos5HTIWdsVAAoKU=
github.com/stackitcloud/stackit-sdk-go/services/intake v0.1.1 h1:qKAGtRfnB89vXom5mIwctMHFeznMQWXJd3cqQBURIK8=
github.com/stackitcloud/stackit-sdk-go/services/intake v0.1.1/go.mod h1:jOArPjNRkwv4487+9ab3dRG+lM09leu5FiRohbQs9Z4=
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.5.1 h1:OdJEs8eOfrzn9tCBDLxIyP8hX50zPfcXNYnRoQX+chs=
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.5.1/go.mod h1:11uzaOPCF9SeDHXEGOPMlHDD3J5r2TnvCGUwW9Igq9c=
github.com/stackitcloud/stackit-sdk-go/services/logme v0.25.1 h1:hv5WrRU9rN6Jx4OwdOGJRyaQrfA9p1tzEoQK6/CDyoA=
Expand Down
4 changes: 4 additions & 0 deletions internal/cmd/config/set/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const (
sqlServerFlexCustomEndpointFlag = "sqlserverflex-custom-endpoint"
iaasCustomEndpointFlag = "iaas-custom-endpoint"
tokenCustomEndpointFlag = "token-custom-endpoint"
intakeCustomEndpointFlag = "intake-custom-endpoint"
)

type inputModel struct {
Expand Down Expand Up @@ -159,6 +160,7 @@ func configureFlags(cmd *cobra.Command) {
cmd.Flags().String(sqlServerFlexCustomEndpointFlag, "", "SQLServer Flex API base URL, used in calls to this API")
cmd.Flags().String(iaasCustomEndpointFlag, "", "IaaS API base URL, used in calls to this API")
cmd.Flags().String(tokenCustomEndpointFlag, "", "Custom token endpoint of the Service Account API, which is used to request access tokens when the service account authentication is activated. Not relevant for user authentication.")
cmd.Flags().String(intakeCustomEndpointFlag, "", "Intake API base URL, used in calls to this API")

err := viper.BindPFlag(config.SessionTimeLimitKey, cmd.Flags().Lookup(sessionTimeLimitFlag))
cobra.CheckErr(err)
Expand Down Expand Up @@ -215,6 +217,8 @@ func configureFlags(cmd *cobra.Command) {
cobra.CheckErr(err)
err = viper.BindPFlag(config.TokenCustomEndpointKey, cmd.Flags().Lookup(tokenCustomEndpointFlag))
cobra.CheckErr(err)
err = viper.BindPFlag(config.IntakeCustomEndpointKey, cmd.Flags().Lookup(intakeCustomEndpointFlag))
cobra.CheckErr(err)
}

func parseInput(p *print.Printer, cmd *cobra.Command) (*inputModel, error) {
Expand Down
Loading
Loading