-
Notifications
You must be signed in to change notification settings - Fork 33
Onboard Intake(2/3): introduce Intake #1124
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
Open
devanshcache
wants to merge
4
commits into
stackitcloud:main
Choose a base branch
from
stackit-intake:onboarding-intake-component
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| ## stackit beta intake create | ||
|
|
||
| Creates a new Intake | ||
|
|
||
| ### Synopsis | ||
|
|
||
| Creates a new Intake. | ||
|
|
||
| ``` | ||
| stackit beta intake create [flags] | ||
| ``` | ||
|
|
||
| ### Examples | ||
|
|
||
| ``` | ||
| Create a new Intake with required parameters | ||
| $ stackit beta intake create --display-name my-intake --runner-id xxx --catalog-uri "http://dremio.example.com" --catalog-warehouse "my-warehouse" | ||
|
|
||
| Create a new Intake with a description, labels, and Dremio authentication | ||
| $ stackit beta intake create --display-name my-intake --runner-id xxx --description "Production intake" --labels "env=prod,team=billing" --catalog-uri "http://dremio.example.com" --catalog-warehouse "my-warehouse" --catalog-auth-type "dremio" --dremio-token-endpoint "https://auth.dremio.cloud/oauth/token" --dremio-pat "MY_TOKEN" | ||
|
|
||
| Create a new Intake with manual partitioning by a date field | ||
| $ stackit beta intake create --display-name my-partitioned-intake --runner-id xxx --catalog-uri "http://dremio.example.com" --catalog-warehouse "my-warehouse" --catalog-partitioning "manual" --catalog-partition-by "day(__intake_ts)" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| ``` | ||
|
|
||
| ### Options | ||
|
|
||
| ``` | ||
| --catalog-auth-type string Authentication type for the catalog (e.g., 'none', 'dremio') | ||
| --catalog-namespace string The namespace to which data shall be written (default: 'intake') | ||
| --catalog-partition-by strings List of Iceberg partitioning expressions. Only used when --catalog-partitioning is 'manual' | ||
| --catalog-partitioning string The target table's partitioning. One of 'none', 'intake-time', 'manual' | ||
| --catalog-table-name string The table name to identify the table in Iceberg | ||
| --catalog-uri string The URI to the Iceberg catalog endpoint | ||
| --catalog-warehouse string The Iceberg warehouse to connect to | ||
| --description string Description | ||
| --display-name string Display name | ||
| --dremio-pat string Dremio personal access token. Required if auth-type is 'dremio' | ||
| --dremio-token-endpoint string Dremio OAuth 2.0 token endpoint URL. Required if auth-type is 'dremio' | ||
| -h, --help Help for "stackit beta intake create" | ||
| --labels stringToString Labels in key=value format, separated by commas. Example: --labels "key1=value1,key2=value2" (default []) | ||
| --runner-id string The UUID of the Intake Runner to use | ||
| ``` | ||
|
|
||
| ### 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 beta intake](./stackit_beta_intake.md) - Provides functionality for intake | ||
|
|
||
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,40 @@ | ||
| ## stackit beta intake delete | ||
|
|
||
| Deletes an Intake | ||
|
|
||
| ### Synopsis | ||
|
|
||
| Deletes an Intake. | ||
|
|
||
| ``` | ||
| stackit beta intake delete INTAKE_ID [flags] | ||
| ``` | ||
|
|
||
| ### Examples | ||
|
|
||
| ``` | ||
| Delete an Intake with ID "xxx" | ||
| $ stackit beta intake delete xxx | ||
| ``` | ||
|
|
||
| ### Options | ||
|
|
||
| ``` | ||
| -h, --help Help for "stackit beta intake 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 beta intake](./stackit_beta_intake.md) - Provides functionality for intake | ||
|
|
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,43 @@ | ||
| ## stackit beta intake describe | ||
|
|
||
| Shows details of an Intake | ||
|
|
||
| ### Synopsis | ||
|
|
||
| Shows details of an Intake. | ||
|
|
||
| ``` | ||
| stackit beta intake describe INTAKE_ID [flags] | ||
| ``` | ||
|
|
||
| ### Examples | ||
|
|
||
| ``` | ||
| Get details of an Intake with ID "xxx" | ||
| $ stackit beta intake describe xxx | ||
|
|
||
| Get details of an Intake with ID "xxx" in JSON format | ||
| $ stackit beta intake describe xxx --output-format json | ||
| ``` | ||
|
|
||
| ### Options | ||
|
|
||
| ``` | ||
| -h, --help Help for "stackit beta intake 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 beta intake](./stackit_beta_intake.md) - Provides functionality for intake | ||
|
|
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,47 @@ | ||
| ## stackit beta intake list | ||
|
|
||
| Lists all Intakes | ||
|
|
||
| ### Synopsis | ||
|
|
||
| Lists all Intakes for the current project. | ||
|
|
||
| ``` | ||
| stackit beta intake list [flags] | ||
| ``` | ||
|
|
||
| ### Examples | ||
|
|
||
| ``` | ||
| List all Intakes | ||
| $ stackit beta intake list | ||
|
|
||
| List all Intakes in JSON format | ||
| $ stackit beta intake list --output-format json | ||
|
|
||
| List up to 5 Intakes | ||
| $ stackit beta intake list --limit 5 | ||
| ``` | ||
|
|
||
| ### Options | ||
|
|
||
| ``` | ||
| -h, --help Help for "stackit beta intake 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 beta intake](./stackit_beta_intake.md) - Provides functionality for intake | ||
|
|
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,54 @@ | ||
| ## stackit beta intake update | ||
|
|
||
| Updates an Intake | ||
|
|
||
| ### Synopsis | ||
|
|
||
| Updates an Intake. Only the specified fields are updated. | ||
|
|
||
| ``` | ||
| stackit beta intake update INTAKE_ID [flags] | ||
| ``` | ||
|
|
||
| ### Examples | ||
|
|
||
| ``` | ||
| Update the display name of an Intake with ID "xxx" | ||
| $ stackit beta intake update xxx --runner-id yyy --display-name new-intake-name | ||
|
|
||
| Update the catalog details for an Intake with ID "xxx" | ||
| $ stackit beta intake update xxx --runner-id yyy --catalog-uri "http://new.uri" --catalog-warehouse "new-warehouse" | ||
| ``` | ||
|
|
||
| ### Options | ||
|
|
||
| ``` | ||
| --catalog-auth-type string Authentication type for the catalog (e.g., 'none', 'dremio') | ||
| --catalog-namespace string The namespace to which data shall be written | ||
| --catalog-table-name string The table name to identify the table in Iceberg | ||
| --catalog-uri string The URI to the Iceberg catalog endpoint | ||
| --catalog-warehouse string The Iceberg warehouse to connect to | ||
| --description string Description | ||
| --display-name string Display name | ||
| --dremio-pat string Dremio personal access token | ||
| --dremio-token-endpoint string Dremio OAuth 2.0 token endpoint URL | ||
| -h, --help Help for "stackit beta intake update" | ||
| --labels stringToString Labels in key=value format, separated by commas. Example: --labels "key1=value1,key2=value2". (default []) | ||
| --runner-id string The UUID of the Intake Runner to use | ||
| ``` | ||
|
|
||
| ### 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 beta intake](./stackit_beta_intake.md) - Provides functionality for intake | ||
|
|
Oops, something went wrong.
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.

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Executing this example gives me an error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also not sure what this is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since I'm also having also no luck with the second full example - could you maybe provide me with some testing instructions for this PR? 😅