mirror of
https://github.com/docker/docker-credential-helpers.git
synced 2026-06-13 16:01:28 +05:30
@@ -10,11 +10,11 @@ package osxkeychain
|
||||
import "C"
|
||||
import (
|
||||
"errors"
|
||||
"github.com/docker/docker-credential-helpers/registryurl"
|
||||
"strconv"
|
||||
"unsafe"
|
||||
|
||||
"github.com/docker/docker-credential-helpers/credentials"
|
||||
"github.com/docker/docker-credential-helpers/registryurl"
|
||||
)
|
||||
|
||||
// errCredentialsNotFound is the specific error message returned by OS X
|
||||
|
||||
@@ -2,8 +2,9 @@ package osxkeychain
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/docker/docker-credential-helpers/credentials"
|
||||
"testing"
|
||||
|
||||
"github.com/docker/docker-credential-helpers/credentials"
|
||||
)
|
||||
|
||||
func TestOSXKeychainHelper(t *testing.T) {
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
package registryurl
|
||||
|
||||
import (
|
||||
"strings"
|
||||
url "net/url"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func GetHostname(u *url.URL) string {
|
||||
|
||||
@@ -2,12 +2,12 @@ package wincred
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"github.com/docker/docker-credential-helpers/registryurl"
|
||||
"net/url"
|
||||
"strings"
|
||||
|
||||
winc "github.com/danieljoos/wincred"
|
||||
"github.com/docker/docker-credential-helpers/credentials"
|
||||
"github.com/docker/docker-credential-helpers/registryurl"
|
||||
)
|
||||
|
||||
// Wincred handles secrets using the Windows credential service.
|
||||
|
||||
Reference in New Issue
Block a user