зеркало из https://github.com/docker/hub-tool.git
Merge pull request #209 from RomainBelorgey/credentials_pkg
Moving credentials from internal to pkg
This commit is contained in:
Коммит
d383e722ff
|
@ -26,10 +26,10 @@ import (
|
|||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/docker/hub-tool/internal/ansi"
|
||||
"github.com/docker/hub-tool/internal/credentials"
|
||||
"github.com/docker/hub-tool/internal/errdef"
|
||||
"github.com/docker/hub-tool/internal/login"
|
||||
"github.com/docker/hub-tool/internal/metrics"
|
||||
"github.com/docker/hub-tool/pkg/credentials"
|
||||
"github.com/docker/hub-tool/pkg/hub"
|
||||
)
|
||||
|
||||
|
|
|
@ -23,8 +23,8 @@ import (
|
|||
|
||||
"github.com/docker/cli/cli/command"
|
||||
"github.com/docker/hub-tool/internal/ansi"
|
||||
"github.com/docker/hub-tool/internal/credentials"
|
||||
"github.com/docker/hub-tool/internal/metrics"
|
||||
"github.com/docker/hub-tool/pkg/credentials"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -32,8 +32,8 @@ import (
|
|||
"github.com/docker/hub-tool/internal/commands/repo"
|
||||
"github.com/docker/hub-tool/internal/commands/tag"
|
||||
"github.com/docker/hub-tool/internal/commands/token"
|
||||
"github.com/docker/hub-tool/internal/credentials"
|
||||
"github.com/docker/hub-tool/internal/login"
|
||||
"github.com/docker/hub-tool/pkg/credentials"
|
||||
"github.com/docker/hub-tool/pkg/hub"
|
||||
)
|
||||
|
||||
|
|
|
@ -31,8 +31,8 @@ import (
|
|||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/docker/hub-tool/internal/ansi"
|
||||
"github.com/docker/hub-tool/internal/credentials"
|
||||
"github.com/docker/hub-tool/internal/errdef"
|
||||
"github.com/docker/hub-tool/pkg/credentials"
|
||||
"github.com/docker/hub-tool/pkg/hub"
|
||||
)
|
||||
|
||||
|
|
2
main.go
2
main.go
|
@ -29,7 +29,7 @@ import (
|
|||
cliflags "github.com/docker/cli/cli/flags"
|
||||
|
||||
"github.com/docker/hub-tool/internal/commands"
|
||||
"github.com/docker/hub-tool/internal/credentials"
|
||||
"github.com/docker/hub-tool/pkg/credentials"
|
||||
"github.com/docker/hub-tool/pkg/hub"
|
||||
)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче