mirror of
https://github.com/distribution/distribution.git
synced 2025-09-29 07:55:51 +00:00
Update Azure SDK and support additional authentication schemes
Microsoft has updated the golang Azure SDK significantly. Update the azure storage driver to use the new SDK. Add support for client secret and MSI authentication schemes in addition to shared key authentication. Implement rootDirectory support for the azure storage driver to mirror the S3 driver. Signed-off-by: Kirat Singh <kirat.singh@beacon.io> Co-authored-by: Cory Snider <corhere@gmail.com>
This commit is contained in:
13
vendor/github.com/pkg/browser/browser_windows.go
generated
vendored
Normal file
13
vendor/github.com/pkg/browser/browser_windows.go
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
//go:generate mkwinsyscall -output zbrowser_windows.go browser_windows.go
|
||||
//sys ShellExecute(hwnd int, verb string, file string, args string, cwd string, showCmd int) (err error) = shell32.ShellExecuteW
|
||||
package browser
|
||||
|
||||
import "os/exec"
|
||||
const SW_SHOWNORMAL = 1
|
||||
|
||||
func openBrowser(url string) error {
|
||||
return ShellExecute(0, "", url, "", "", SW_SHOWNORMAL)
|
||||
}
|
||||
|
||||
func setFlags(cmd *exec.Cmd) {
|
||||
}
|
Reference in New Issue
Block a user