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
27 changes: 27 additions & 0 deletions .github/workflows/code-health.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,33 @@ jobs:
echo "Try running: make gen-docs"
exit 1
fi
api:
runs-on: ubuntu-latest
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
with:
config: ${{ vars.PERMISSIONS_CONFIG }}
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Generate api commands
run: make gen-api-commands > /dev/null
- name: Check for uncommitted files
run: |
export FILES=
FILES=$(git ls-files -o -m --directory --exclude-standard --no-empty-directory)
export LINES=
LINES=$(echo "$FILES" | awk 'NF' | wc -l)
if [ "$LINES" -ne 0 ]; then
echo "Detected files that need to be committed:"
echo "${FILES//^/ }"
echo ""
echo "Try running: make gen-api-commands"
exit 1
fi
actionlint:
runs-on: ubuntu-latest
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01", "2024-05-30"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2024-05-30".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01", "2024-05-30"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2024-05-30".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01", "2024-05-30"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2024-05-30".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2023-01-01".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2023-01-01".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2024-11-13"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2024-11-13".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
8 changes: 8 additions & 0 deletions docs/command/atlas-api-cloudBackups-takeSnapshot.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2023-01-01".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-10-01"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2023-10-01".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2023-01-01".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
8 changes: 8 additions & 0 deletions docs/command/atlas-api-clusters-createCluster.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01", "2023-02-01", "2024-08-05", "2024-10-23"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2024-10-23".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
8 changes: 8 additions & 0 deletions docs/command/atlas-api-clusters-deleteCluster.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01", "2023-02-01"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2023-02-01".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
8 changes: 8 additions & 0 deletions docs/command/atlas-api-clusters-loadSampleDataset.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2023-01-01".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
8 changes: 8 additions & 0 deletions docs/command/atlas-api-clusters-updateCluster.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01", "2023-02-01", "2024-08-05", "2024-10-23"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2024-10-23".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
8 changes: 8 additions & 0 deletions docs/command/atlas-api-dataLakePipelines-createPipeline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2023-01-01".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
8 changes: 8 additions & 0 deletions docs/command/atlas-api-dataLakePipelines-deletePipeline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2023-01-01".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
8 changes: 8 additions & 0 deletions docs/command/atlas-api-dataLakePipelines-updatePipeline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2023-01-01".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
8 changes: 8 additions & 0 deletions docs/command/atlas-api-flexClusters-createFlexCluster.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2024-11-13"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2024-11-13".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
8 changes: 8 additions & 0 deletions docs/command/atlas-api-flexClusters-deleteFlexCluster.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2024-11-13"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2024-11-13".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
8 changes: 8 additions & 0 deletions docs/command/atlas-api-flexClusters-updateFlexCluster.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2024-11-13"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2024-11-13".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2024-11-13"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2024-11-13".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2023-01-01".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2023-01-01".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2023-01-01".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ Options
- string
- false
- api version to use when calling the api call [options: "2023-01-01"], defaults to the latest version or the profiles api_version config value if set This value defaults to "2023-01-01".
* - -w, --watch
-
- false
- Flag that indicates whether to watch the command until it completes its execution or the watch times out.
* - --watchTimeout
- int
- false
- Time in seconds until a watch times out. After a watch times out, the CLI no longer watches the command.

Inherited Options
-----------------
Expand Down
Loading