mirror of
https://github.com/docker/compose.git
synced 2026-08-04 14:47:40 +00:00
Move containers, compose, secrets to /api
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
This commit is contained in:
parent
9545625131
commit
d06aa2827f
46 changed files with 317 additions and 55 deletions
|
|
@ -26,8 +26,8 @@ import (
|
|||
"github.com/pkg/errors"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/docker/compose-cli/api/containers"
|
||||
"github.com/docker/compose-cli/client"
|
||||
"github.com/docker/compose-cli/containers"
|
||||
)
|
||||
|
||||
type execOpts struct {
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ import (
|
|||
"github.com/pkg/errors"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/docker/compose-cli/api/containers"
|
||||
"github.com/docker/compose-cli/client"
|
||||
"github.com/docker/compose-cli/containers"
|
||||
)
|
||||
|
||||
type logsOpts struct {
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ import (
|
|||
"github.com/pkg/errors"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/docker/compose-cli/api/containers"
|
||||
"github.com/docker/compose-cli/client"
|
||||
"github.com/docker/compose-cli/containers"
|
||||
"github.com/docker/compose-cli/errdefs"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ import (
|
|||
"github.com/containerd/console"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/docker/compose-cli/containers"
|
||||
"github.com/docker/compose-cli/api/containers"
|
||||
|
||||
"github.com/docker/compose-cli/cli/options/run"
|
||||
"github.com/docker/compose-cli/client"
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ import (
|
|||
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/docker/compose-cli/api/secrets"
|
||||
"github.com/docker/compose-cli/client"
|
||||
"github.com/docker/compose-cli/secrets"
|
||||
)
|
||||
|
||||
type createSecretOptions struct {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ import (
|
|||
|
||||
"gotest.tools/v3/golden"
|
||||
|
||||
"github.com/docker/compose-cli/secrets"
|
||||
"github.com/docker/compose-cli/api/secrets"
|
||||
)
|
||||
|
||||
func TestPrintList(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue