mirror of
https://github.com/docker/compose.git
synced 2026-08-27 03:45:29 +00:00
Move Context & context/store => api/context & api/context/store
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
This commit is contained in:
parent
930ae8bdb2
commit
0ea97920c1
47 changed files with 50 additions and 50 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue