Moving credentials from internal to pkg

Signed-off-by: Romain BELORGEY <romain.belorgey@gmail.com>
This commit is contained in:
Romain BELORGEY 2022-07-22 16:29:15 +02:00
Родитель 89d966eadd
Коммит c5e9d6649c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B89E6BE47CE217F0
6 изменённых файлов: 5 добавлений и 5 удалений

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

@ -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"
)

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

@ -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"
)

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