-
Notifications
You must be signed in to change notification settings - Fork 878
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refresh azcontainerregistry module (#22161)
* upgrade to latest codegen * merge resolver * enable span and add changelog * update module name
- Loading branch information
Showing
22 changed files
with
708 additions
and
518 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
44 changes: 30 additions & 14 deletions
44
sdk/containers/azcontainerregistry/authentication_client.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
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
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
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 |
---|---|---|
|
@@ -12,9 +12,12 @@ clear-output-folder: false | |
export-clients: true | ||
openapi-type: "data-plane" | ||
output-folder: ../azcontainerregistry | ||
use: "@autorest/[email protected].45" | ||
use: "@autorest/[email protected].60" | ||
honor-body-placement: true | ||
remove-unreferenced-types: true | ||
module-name: sdk/containers/azcontainerregistry | ||
module: github.com/Azure/azure-sdk-for-go/$(module-name) | ||
inject-spans: true | ||
``` | ||
## Customizations | ||
|
@@ -328,10 +331,11 @@ directive: | |
transform: return $.replaceAll(/AuthenticationClient/g, "authenticationClient").replace(/AcrRefreshToken\n/, "acrRefreshToken\n").replace(/AcrAccessToken\n/, "acrAccessToken\n"); | ||
- from: | ||
- models.go | ||
- options.go | ||
where: $ | ||
transform: return $.replaceAll(/AuthenticationClient/g, "authenticationClient").replace(/AcrRefreshToken struct/, "acrRefreshToken struct").replace(/AcrAccessToken struct/, "acrAccessToken struct"); | ||
- from: | ||
- models.go | ||
- options.go | ||
where: $ | ||
transform: return $.replace(/TokenGrantType/, "tokenGrantType"); | ||
- from: | ||
|
@@ -444,7 +448,7 @@ directive: | |
}); | ||
- from: | ||
- blob_client.go | ||
- models.go | ||
- options.go | ||
where: $ | ||
transform: return $.replaceAll(/BlobClientUploadChunkOptions/g, "blobClientUploadChunkOptions").replace(/BlobClient\.UploadChunk/, "BlobClient.uploadChunk"); | ||
``` | ||
|
Oops, something went wrong.