Skip to content
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

Add readme configuration of 5 Ring 0 RP for azure-sdk-for-go track 2 #14443

Merged
merged 1 commit into from
May 24, 2021
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
16 changes: 15 additions & 1 deletion specification/compute/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

These settings apply only when `--go` is specified on the command line.

```yaml $(go)
```yaml $(go) && !(track2)
go:
license-header: MICROSOFT_MIT_NO_VERSION
clear-output-folder: true
Expand All @@ -27,6 +27,20 @@ directive:
replace(/, 'DummyOrchestrationServiceName'/,'');
```

``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/compute/armcompute
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true

directive:
- from: disk.json
where: "$.definitions.PurchasePlan"
transform: >
$["x-ms-client-name"] = "DiskPurchasePlan";
```

### Go multi-api

```yaml $(go) && $(multiapi)
Expand Down
10 changes: 9 additions & 1 deletion specification/keyvault/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,21 @@

These settings apply only when `--go` is specified on the command line.

``` yaml $(go)
``` yaml $(go) && !$(track2)
go:
license-header: MICROSOFT_MIT_NO_VERSION
namespace: keyvault
clear-output-folder: true
```

``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/keyvault/armkeyvault
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
```

### Go multi-api

``` yaml $(go) && $(multiapi)
Expand Down
10 changes: 9 additions & 1 deletion specification/network/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,21 @@

These settings apply only when `--go` is specified on the command line.

``` yaml $(go)
``` yaml $(go) && !$(track2)
go:
license-header: MICROSOFT_MIT_NO_VERSION
namespace: network
clear-output-folder: true
```

``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/network/armnetwork
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
```

### Go multi-api

``` yaml $(go) && $(multiapi)
Expand Down
10 changes: 9 additions & 1 deletion specification/resources/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,20 @@ directive:
reason: Necessary to match Unicode characters in the Go regexp engine.
```

``` yaml $(go)
``` yaml $(go) && !$(track2)
go:
license-header: MICROSOFT_MIT_NO_VERSION
clear-output-folder: true
```

``` yaml $(go) && $(package-resources) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resources/armresources
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
```

### Go multi-api

``` yaml $(go) && $(multiapi)
Expand Down
10 changes: 9 additions & 1 deletion specification/storage/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,21 @@

These settings apply only when `--go` is specified on the command line.

``` yaml $(go)
``` yaml $(go) && !$(track2)
go:
license-header: MICROSOFT_MIT_NO_VERSION
namespace: storage
clear-output-folder: true
```

``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/storage/armstorage
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
```

### Go multi-api

``` yaml $(go) && $(multiapi)
Expand Down