Merge pull request #209 from RomainBelorgey/credentials_pkg

Moving credentials from internal to pkg
This commit is contained in:
Silvin Lubecki 2022-07-22 16:34:40 +02:00 коммит произвёл GitHub
Родитель 89d966eadd c5e9d6649c
Коммит d383e722ff
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -26,10 +26,10 @@ import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/docker/hub-tool/internal/ansi" "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/errdef"
"github.com/docker/hub-tool/internal/login" "github.com/docker/hub-tool/internal/login"
"github.com/docker/hub-tool/internal/metrics" "github.com/docker/hub-tool/internal/metrics"
"github.com/docker/hub-tool/pkg/credentials"
"github.com/docker/hub-tool/pkg/hub" "github.com/docker/hub-tool/pkg/hub"
) )

Просмотреть файл

@ -23,8 +23,8 @@ import (
"github.com/docker/cli/cli/command" "github.com/docker/cli/cli/command"
"github.com/docker/hub-tool/internal/ansi" "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/internal/metrics"
"github.com/docker/hub-tool/pkg/credentials"
) )
const ( const (

Просмотреть файл

@ -32,8 +32,8 @@ import (
"github.com/docker/hub-tool/internal/commands/repo" "github.com/docker/hub-tool/internal/commands/repo"
"github.com/docker/hub-tool/internal/commands/tag" "github.com/docker/hub-tool/internal/commands/tag"
"github.com/docker/hub-tool/internal/commands/token" "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/internal/login"
"github.com/docker/hub-tool/pkg/credentials"
"github.com/docker/hub-tool/pkg/hub" "github.com/docker/hub-tool/pkg/hub"
) )

Просмотреть файл

@ -31,8 +31,8 @@ import (
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/docker/hub-tool/internal/ansi" "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/errdef"
"github.com/docker/hub-tool/pkg/credentials"
"github.com/docker/hub-tool/pkg/hub" "github.com/docker/hub-tool/pkg/hub"
) )

Просмотреть файл

@ -29,7 +29,7 @@ import (
cliflags "github.com/docker/cli/cli/flags" cliflags "github.com/docker/cli/cli/flags"
"github.com/docker/hub-tool/internal/commands" "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" "github.com/docker/hub-tool/pkg/hub"
) )

Просмотреть файл