Move Context & context/store => api/context & api/context/store

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
This commit is contained in:
Guillaume Tardif 2021-01-15 16:31:59 +01:00
parent 930ae8bdb2
commit 0ea97920c1
47 changed files with 50 additions and 50 deletions

View file

@ -25,10 +25,10 @@ import (
"google.golang.org/grpc/metadata"
"github.com/docker/compose-cli/api/client"
apicontext "github.com/docker/compose-cli/api/context"
"github.com/docker/compose-cli/api/context/store"
"github.com/docker/compose-cli/cli/server/proxy"
"github.com/docker/compose-cli/config"
apicontext "github.com/docker/compose-cli/context"
"github.com/docker/compose-cli/context/store"
)
// key is the key where the current docker context is stored in the metadata

View file

@ -28,8 +28,8 @@ import (
"gotest.tools/v3/assert"
"gotest.tools/v3/assert/cmp"
apicontext "github.com/docker/compose-cli/api/context"
"github.com/docker/compose-cli/config"
apicontext "github.com/docker/compose-cli/context"
)
func testContext(t *testing.T) context.Context {

View file

@ -19,9 +19,9 @@ package proxy
import (
"context"
"github.com/docker/compose-cli/api/context/store"
contextsv1 "github.com/docker/compose-cli/cli/server/protos/contexts/v1"
"github.com/docker/compose-cli/config"
"github.com/docker/compose-cli/context/store"
)
type contextsProxy struct {

View file

@ -23,8 +23,8 @@ import (
"github.com/google/go-cmp/cmp/cmpopts"
"github.com/docker/compose-cli/api/context/store"
contextsv1 "github.com/docker/compose-cli/cli/server/protos/contexts/v1"
"github.com/docker/compose-cli/context/store"
)
func TestConvertContext(t *testing.T) {