-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from netskopeoss/beta
Beta
- Loading branch information
Showing
415 changed files
with
27,311 additions
and
16,053 deletions.
There are no files selected for viewing
This file contains 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,25 @@ | ||
name: Generate | ||
permissions: | ||
checks: write | ||
contents: write | ||
pull-requests: write | ||
statuses: write | ||
"on": | ||
workflow_dispatch: | ||
inputs: | ||
force: | ||
description: Force generation of SDKs | ||
type: boolean | ||
default: false | ||
schedule: | ||
- cron: 0 0 * * * | ||
jobs: | ||
generate: | ||
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 | ||
with: | ||
force: ${{ github.event.inputs.force }} | ||
mode: pr | ||
speakeasy_version: latest | ||
secrets: | ||
github_access_token: ${{ secrets.GITHUB_TOKEN }} | ||
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} |
This file contains 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,42 @@ | ||
# Terraform Provider release workflow. | ||
name: Release | ||
|
||
# This GitHub action creates a release when a tag that matches the pattern | ||
# "v*" (e.g. v0.1.0) is created. | ||
on: | ||
push: | ||
tags: | ||
- 'v0.0.*' | ||
workflow_dispatch: | ||
|
||
# Releases need permissions to read and write the repository contents. | ||
# GitHub considers creating releases and uploading assets as writing contents. | ||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
goreleaser: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 | ||
with: | ||
# Allow goreleaser to access older tag information. | ||
fetch-depth: 0 | ||
- uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 | ||
with: | ||
go-version-file: 'go.mod' | ||
cache: true | ||
- name: Import GPG key | ||
uses: crazy-max/ghaction-import-gpg@111c56156bcc6918c056dbef52164cfa583dc549 # v5.2.0 | ||
id: import_gpg | ||
with: | ||
gpg_private_key: ${{ secrets.terraform_gpg_secret_key }} | ||
passphrase: ${{ secrets.terraform_gpg_passphrase }} | ||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b # v4.2.0 | ||
with: | ||
args: release --clean | ||
env: | ||
# GitHub sets the GITHUB_TOKEN secret automatically. | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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,27 @@ | ||
configVersion: 2.0.0 | ||
generation: | ||
sdkClassName: terraform-provider-ns | ||
maintainOpenAPIOrder: true | ||
usageSnippets: | ||
optionalPropertyRendering: withExample | ||
useClassNamesForArrayFields: true | ||
fixes: | ||
nameResolutionDec2023: true | ||
parameterOrderingFeb2024: true | ||
requestResponseComponentNamesFeb2024: true | ||
auth: | ||
oAuth2ClientCredentialsEnabled: true | ||
terraform: | ||
version: 0.0.1 | ||
author: speakeasy | ||
imports: | ||
option: openapi | ||
paths: | ||
callbacks: callbacks | ||
errors: sdkerrors | ||
operations: operations | ||
shared: shared | ||
webhooks: webhooks | ||
inputModelSuffix: input | ||
outputModelSuffix: output | ||
packageName: terraform |
This file contains 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,25 @@ | ||
speakeasyVersion: 1.264.1 | ||
sources: {} | ||
targets: {} | ||
workflow: | ||
workflowVersion: 1.0.0 | ||
speakeasyVersion: latest | ||
sources: | ||
openapi: | ||
inputs: | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/base_oas.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/infrastructure/npa_publisher.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/infrastructure/npa_upgrade_profiles.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/policy/npa_policy.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/policy/npa_policygroup.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/steering/npa_apps_private.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/steering/npa_private_tag.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/steering/gre.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/steering/ipsec.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/scim/scim-apis.yaml | ||
overlays: | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/terraform_overlay.yaml | ||
targets: | ||
first-target: | ||
target: terraform | ||
source: openapi |
This file contains 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,21 @@ | ||
workflowVersion: 1.0.0 | ||
speakeasyVersion: latest | ||
sources: | ||
openapi: | ||
inputs: | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/base_oas.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/infrastructure/npa_publisher.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/infrastructure/npa_upgrade_profiles.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/policy/npa_policy.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/policy/npa_policygroup.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/steering/npa_apps_private.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/steering/npa_private_tag.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/steering/gre.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/steering/ipsec.yaml | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/endpoints/scim/scim-apis.yaml | ||
overlays: | ||
- location: /Users/jadrian/speakeasy/netskope-apiv2-oas/terraform_overlay.yaml | ||
targets: | ||
first-target: | ||
target: terraform | ||
source: openapi |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.