Skip to content

Commit

Permalink
updated imports with the correct plugin names
Browse files Browse the repository at this point in the history
  • Loading branch information
Bianco95 committed Apr 16, 2024
1 parent 57647ca commit fbb77f2
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ To be configured on the repository settings.
Clone the repository with the following command:

```bash
git clone https://github.com/interTwin-eu/interlink-docker-plugin.git && cd interlink-docker-plugin
git clone https://github.com/intertwin-eu/interlink-docker-plugin-docker-plugin.git && cd interlink-docker-plugin
```

and run the following command to build the docker image:
Expand All @@ -63,5 +63,5 @@ docker build . -t <image_name>:<tag> -f docker/Dockerfile.sidecar-docker
To build the plugin executable, clone the repository and run the makefile:

```bash
git clone https://github.com/interTwin-eu/interlink-docker-plugin.git && cd interlink-docker-plugin && make
git clone https://github.com/intertwin-eu/interlink-docker-plugin-docker-plugin.git && cd interlink-docker-plugin && make
```
6 changes: 3 additions & 3 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"github.com/sirupsen/logrus"
"github.com/virtual-kubelet/virtual-kubelet/log"

commonIL "github.com/intertwin-eu/interlink/pkg/common"
docker "github.com/intertwin-eu/interlink/pkg/docker"
"github.com/intertwin-eu/interlink/pkg/docker/gpustrategies"
commonIL "github.com/intertwin-eu/interlink-docker-plugin/pkg/common"
docker "github.com/intertwin-eu/interlink-docker-plugin/pkg/docker"
"github.com/intertwin-eu/interlink-docker-plugin/pkg/docker/gpustrategies"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/intertwin-eu/interlink
module github.com/intertwin-eu/interlink-docker-plugin

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion pkg/docker/Create.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/containerd/containerd/log"
v1 "k8s.io/api/core/v1"

commonIL "github.com/intertwin-eu/interlink/pkg/common"
commonIL "github.com/intertwin-eu/interlink-docker-plugin/pkg/common"
)

// CreateHandler creates a Docker Container based on data provided by the InterLink API.
Expand Down
2 changes: 1 addition & 1 deletion pkg/docker/GetLogs.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/containerd/containerd/log"

commonIL "github.com/intertwin-eu/interlink/pkg/common"
commonIL "github.com/intertwin-eu/interlink-docker-plugin/pkg/common"
)

// GetLogsHandler performs a Docker logs command and returns its manipulated output
Expand Down
2 changes: 1 addition & 1 deletion pkg/docker/Status.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/containerd/containerd/log"
v1 "k8s.io/api/core/v1"

commonIL "github.com/intertwin-eu/interlink/pkg/common"
commonIL "github.com/intertwin-eu/interlink-docker-plugin/pkg/common"
)

// StatusHandler checks Docker Container's status by running docker ps -af command and returns that status
Expand Down
4 changes: 2 additions & 2 deletions pkg/docker/aux.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (

"fmt"

commonIL "github.com/intertwin-eu/interlink/pkg/common"
"github.com/intertwin-eu/interlink/pkg/docker/gpustrategies"
commonIL "github.com/intertwin-eu/interlink-docker-plugin/pkg/common"
"github.com/intertwin-eu/interlink-docker-plugin/pkg/docker/gpustrategies"
)

type SidecarHandler struct {
Expand Down
2 changes: 1 addition & 1 deletion tests/sidecars/docker/PodGpu_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

"io/ioutil"

"github.com/intertwin-eu/interlink/tests/sidecars/docker/templates" // replace with the actual module path
"github.com/intertwin-eu/interlink-docker-plugin/tests/sidecars/docker/templates" // replace with the actual module path
v1core "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/kubernetes"
Expand Down

0 comments on commit fbb77f2

Please sign in to comment.