diff --git a/.golangci.yml b/.golangci.yml
index 5f044f39..8d5d8a51 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -108,7 +108,7 @@ linters-settings:
goimports:
# put imports beginning with prefix after 3rd-party packages;
# it's a comma-separated list of prefixes
- local-prefixes: github.com/atlarge-research/opendc-emulate-kubernetes
+ local-prefixes: github.com/atlarge-research/apate
gocyclo:
# minimal code complexity to report, 30 by default (but we recommend 10-20)
min-complexity: 30
diff --git a/.run/controlplane.run.xml b/.run/controlplane.run.xml
index abed98bc..c4aedf88 100644
--- a/.run/controlplane.run.xml
+++ b/.run/controlplane.run.xml
@@ -8,7 +8,7 @@
-
+
diff --git a/Makefile b/Makefile
index 5c6baadd..e62e9b09 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ lint:
.PHONY: lint_fix_imports
lint_fix_imports:
- goimports -local github.com/atlarge-research/opendc-emulate-kubernetes -w **/*.go
+ goimports -local github.com/atlarge-research/apate -w **/*.go
golangci-lint run
.PHONY: lint_fix
@@ -65,25 +65,25 @@ protobuf:
mock_gen: ./pkg/runner/mock_runner/mock_runner.go ./api/health/mock_health/health_mock.go ./services/controlplane/store/mock_store/store_mock.go ./services/apatelet/store/mock_store/store_mock.go ./services/apatelet/provider/mock_cache_store/mock_cache_store.go ./services/apatelet/provider/podmanager/mock_podmanager/mock_podmanager.go pkg/kubernetes/mock_kubernetes/mock_api.go
./api/health/mock_health/health_mock.go: ./api/health/health.pb.go
- mockgen github.com/atlarge-research/opendc-emulate-kubernetes/api/health Health_HealthStreamClient,HealthClient,Health_HealthStreamServer > $@
+ mockgen github.com/atlarge-research/apate/api/health Health_HealthStreamClient,HealthClient,Health_HealthStreamServer > $@
./services/controlplane/store/mock_store/store_mock.go: ./services/controlplane/store/store.go
- mockgen github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/store Store > $@
+ mockgen github.com/atlarge-research/apate/services/controlplane/store Store > $@
./services/apatelet/store/mock_store/store_mock.go: ./services/apatelet/store/store.go
- mockgen github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store Store > $@
+ mockgen github.com/atlarge-research/apate/services/apatelet/store Store > $@
./services/apatelet/provider/mock_cache_store/mock_cache_store.go: FORCE
mockgen k8s.io/client-go/tools/cache Store > $@
./services/apatelet/provider/podmanager/mock_podmanager/mock_podmanager.go:
- mockgen github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/provider/podmanager PodManager > $@
+ mockgen github.com/atlarge-research/apate/services/apatelet/provider/podmanager PodManager > $@
./pkg/runner/mock_runner/mock_runner.go:
- mockgen github.com/atlarge-research/opendc-emulate-kubernetes/pkg/runner ApateletRunner > $@
+ mockgen github.com/atlarge-research/apate/pkg/runner ApateletRunner > $@
./pkg/kubernetes/mock_kubernetes/mock_api.go:
- mockgen github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes ClusterAPI > $@
+ mockgen github.com/atlarge-research/apate/pkg/kubernetes ClusterAPI > $@
crd_gen:
controller-gen object paths=./pkg/apis/...
diff --git a/api/apatelet/apatelet.pb.go b/api/apatelet/apatelet.pb.go
index 02af1ad2..6276644c 100644
--- a/api/apatelet/apatelet.pb.go
+++ b/api/apatelet/apatelet.pb.go
@@ -41,12 +41,10 @@ var file_apatelet_apatelet_proto_rawDesc = []byte{
0x65, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
- 0x74, 0x79, 0x22, 0x00, 0x42, 0x44, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
+ 0x74, 0x79, 0x22, 0x00, 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
0x6f, 0x6d, 0x2f, 0x61, 0x74, 0x6c, 0x61, 0x72, 0x67, 0x65, 0x2d, 0x72, 0x65, 0x73, 0x65, 0x61,
- 0x72, 0x63, 0x68, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x64, 0x63, 0x2d, 0x65, 0x6d, 0x75, 0x6c, 0x61,
- 0x74, 0x65, 0x2d, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70,
- 0x69, 0x2f, 0x61, 0x70, 0x61, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x33,
+ 0x72, 0x63, 0x68, 0x2f, 0x61, 0x70, 0x61, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70,
+ 0x61, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var file_apatelet_apatelet_proto_goTypes = []interface{}{
diff --git a/api/apatelet/apatelet.proto b/api/apatelet/apatelet.proto
index 90c3f2a3..4138b21f 100644
--- a/api/apatelet/apatelet.proto
+++ b/api/apatelet/apatelet.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-option go_package = "github.com/atlarge-research/opendc-emulate-kubernetes/api/apatelet";
+option go_package = "github.com/atlarge-research/apate/api/apatelet";
package apate.apatelet;
import "google/protobuf/empty.proto";
diff --git a/api/apatelet/scenario.pb.go b/api/apatelet/scenario.pb.go
index 418e6eab..28e1cc0b 100644
--- a/api/apatelet/scenario.pb.go
+++ b/api/apatelet/scenario.pb.go
@@ -108,12 +108,11 @@ var file_apatelet_scenario_proto_rawDesc = []byte{
0x6f, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x61, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x61, 0x74, 0x65, 0x6c,
0x65, 0x74, 0x2e, 0x41, 0x70, 0x61, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x61,
0x72, 0x69, 0x6f, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x44, 0x5a,
- 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x74, 0x6c, 0x61,
- 0x72, 0x67, 0x65, 0x2d, 0x72, 0x65, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x2f, 0x6f, 0x70, 0x65,
- 0x6e, 0x64, 0x63, 0x2d, 0x65, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x2d, 0x6b, 0x75, 0x62, 0x65,
- 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x61, 0x74, 0x65,
- 0x6c, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x30, 0x5a,
+ 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x74, 0x6c, 0x61,
+ 0x72, 0x67, 0x65, 0x2d, 0x72, 0x65, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x2f, 0x61, 0x70, 0x61,
+ 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x61, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x62,
+ 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
diff --git a/api/apatelet/scenario.proto b/api/apatelet/scenario.proto
index 04600ce3..34d0dd17 100644
--- a/api/apatelet/scenario.proto
+++ b/api/apatelet/scenario.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-option go_package = "github.com/atlarge-research/opendc-emulate-kubernetes/api/apatelet";
+option go_package = "github.com/atlarge-research/apate/api/apatelet";
package apate.apatelet;
import "google/protobuf/empty.proto";
diff --git a/api/controlplane/cluster_operations.pb.go b/api/controlplane/cluster_operations.pb.go
index eda956e5..0fa14019 100644
--- a/api/controlplane/cluster_operations.pb.go
+++ b/api/controlplane/cluster_operations.pb.go
@@ -398,12 +398,11 @@ var file_controlplane_cluster_operations_proto_rawDesc = []byte{
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
0x70, 0x74, 0x79, 0x1a, 0x1e, 0x2e, 0x61, 0x70, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74,
0x72, 0x6f, 0x6c, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2e, 0x4b, 0x75, 0x62, 0x65, 0x43, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x22, 0x00, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
+ 0x66, 0x69, 0x67, 0x22, 0x00, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x74, 0x6c, 0x61, 0x72, 0x67, 0x65, 0x2d, 0x72, 0x65, 0x73, 0x65,
- 0x61, 0x72, 0x63, 0x68, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x64, 0x63, 0x2d, 0x65, 0x6d, 0x75, 0x6c,
- 0x61, 0x74, 0x65, 0x2d, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61,
- 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x62,
- 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x61, 0x72, 0x63, 0x68, 0x2f, 0x61, 0x70, 0x61, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63,
+ 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x33,
}
var (
diff --git a/api/controlplane/cluster_operations.proto b/api/controlplane/cluster_operations.proto
index 0043ca2c..6cf7897b 100644
--- a/api/controlplane/cluster_operations.proto
+++ b/api/controlplane/cluster_operations.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-option go_package = "github.com/atlarge-research/opendc-emulate-kubernetes/api/controlplane";
+option go_package = "github.com/atlarge-research/apate/api/controlplane";
package apate.controlplane;
import "google/protobuf/empty.proto";
diff --git a/api/controlplane/scenario.pb.go b/api/controlplane/scenario.pb.go
index c49d2de5..14e4eb02 100644
--- a/api/controlplane/scenario.pb.go
+++ b/api/controlplane/scenario.pb.go
@@ -98,12 +98,11 @@ var file_controlplane_scenario_proto_rawDesc = []byte{
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2e, 0x53, 0x74, 0x61,
0x72, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x61, 0x72, 0x69, 0x6f, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
- 0x74, 0x79, 0x22, 0x00, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
+ 0x74, 0x79, 0x22, 0x00, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
0x6f, 0x6d, 0x2f, 0x61, 0x74, 0x6c, 0x61, 0x72, 0x67, 0x65, 0x2d, 0x72, 0x65, 0x73, 0x65, 0x61,
- 0x72, 0x63, 0x68, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x64, 0x63, 0x2d, 0x65, 0x6d, 0x75, 0x6c, 0x61,
- 0x74, 0x65, 0x2d, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70,
- 0x69, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x62, 0x06,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x72, 0x63, 0x68, 0x2f, 0x61, 0x70, 0x61, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f,
+ 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x33,
}
var (
diff --git a/api/controlplane/scenario.proto b/api/controlplane/scenario.proto
index fa904be7..39fee69f 100644
--- a/api/controlplane/scenario.proto
+++ b/api/controlplane/scenario.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-option go_package = "github.com/atlarge-research/opendc-emulate-kubernetes/api/controlplane";
+option go_package = "github.com/atlarge-research/apate/api/controlplane";
package apate.controlplane;
import "google/protobuf/empty.proto";
diff --git a/api/controlplane/status.pb.go b/api/controlplane/status.pb.go
index 0c7d00cf..8b15e0c1 100644
--- a/api/controlplane/status.pb.go
+++ b/api/controlplane/status.pb.go
@@ -93,12 +93,11 @@ var file_controlplane_status_proto_rawDesc = []byte{
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x21,
0x2e, 0x61, 0x70, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x70, 0x6c,
0x61, 0x6e, 0x65, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75,
- 0x73, 0x22, 0x00, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
+ 0x73, 0x22, 0x00, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
0x6d, 0x2f, 0x61, 0x74, 0x6c, 0x61, 0x72, 0x67, 0x65, 0x2d, 0x72, 0x65, 0x73, 0x65, 0x61, 0x72,
- 0x63, 0x68, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x64, 0x63, 0x2d, 0x65, 0x6d, 0x75, 0x6c, 0x61, 0x74,
- 0x65, 0x2d, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69,
- 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x62, 0x06, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x63, 0x68, 0x2f, 0x61, 0x70, 0x61, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6e,
+ 0x74, 0x72, 0x6f, 0x6c, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x33,
}
var (
diff --git a/api/controlplane/status.proto b/api/controlplane/status.proto
index d6e0362b..eee40337 100644
--- a/api/controlplane/status.proto
+++ b/api/controlplane/status.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-option go_package = "github.com/atlarge-research/opendc-emulate-kubernetes/api/controlplane";
+option go_package = "github.com/atlarge-research/apate/api/controlplane";
package apate.controlplane;
import "google/protobuf/empty.proto";
diff --git a/api/health/health.pb.go b/api/health/health.pb.go
index e4b7efd4..8e589c8b 100644
--- a/api/health/health.pb.go
+++ b/api/health/health.pb.go
@@ -156,12 +156,11 @@ var file_health_health_proto_rawDesc = []byte{
0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x18, 0x2e, 0x61, 0x70, 0x61, 0x74, 0x65, 0x2e, 0x68,
0x65, 0x61, 0x6c, 0x74, 0x68, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x42,
- 0x5a, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x74, 0x6c,
- 0x61, 0x72, 0x67, 0x65, 0x2d, 0x72, 0x65, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x2f, 0x6f, 0x70,
- 0x65, 0x6e, 0x64, 0x63, 0x2d, 0x65, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x2d, 0x6b, 0x75, 0x62,
- 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x68, 0x65, 0x61, 0x6c,
- 0x74, 0x68, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x2e,
+ 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x74, 0x6c,
+ 0x61, 0x72, 0x67, 0x65, 0x2d, 0x72, 0x65, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x2f, 0x61, 0x70,
+ 0x61, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x62, 0x06,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
diff --git a/api/health/health.proto b/api/health/health.proto
index 73f3a9bf..5bf1e16f 100644
--- a/api/health/health.proto
+++ b/api/health/health.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-option go_package = "github.com/atlarge-research/opendc-emulate-kubernetes/api/health";
+option go_package = "github.com/atlarge-research/apate/api/health";
package apate.health;
import "google/protobuf/empty.proto";
diff --git a/api/health/mock_health/health_mock.go b/api/health/mock_health/health_mock.go
index 308a89fa..21529dd4 100644
--- a/api/health/mock_health/health_mock.go
+++ b/api/health/mock_health/health_mock.go
@@ -1,12 +1,12 @@
// Code generated by MockGen. DO NOT EDIT.
-// Source: github.com/atlarge-research/opendc-emulate-kubernetes/api/health (interfaces: Health_HealthStreamClient,HealthClient,Health_HealthStreamServer)
+// Source: github.com/atlarge-research/apate/api/health (interfaces: Health_HealthStreamClient,HealthClient,Health_HealthStreamServer)
// Package mock_health is a generated GoMock package.
package mock_health
import (
context "context"
- health "github.com/atlarge-research/opendc-emulate-kubernetes/api/health"
+ health "github.com/atlarge-research/apate/api/health"
gomock "github.com/golang/mock/gomock"
grpc "google.golang.org/grpc"
metadata "google.golang.org/grpc/metadata"
diff --git a/ci/go_test_with_coverage_report.sh b/ci/go_test_with_coverage_report.sh
index a53266f4..8cd01503 100755
--- a/ci/go_test_with_coverage_report.sh
+++ b/ci/go_test_with_coverage_report.sh
@@ -36,7 +36,7 @@ CI_NODE_INDEX=${CI_NODE_INDEX:-0}
output="regular"
coverMode="count"
coverPkg="./..."
-srcPkg="github.com/atlarge-research/opendc-emulate-kubernetes"
+srcPkg="github.com/atlarge-research/apate"
if [[ ${TESTFLAGS} = *"-race"* ]]; then
output="race"
diff --git a/cmd/apate-cli/main.go b/cmd/apate-cli/main.go
index 08045db3..31d7e396 100644
--- a/cmd/apate-cli/main.go
+++ b/cmd/apate-cli/main.go
@@ -3,7 +3,7 @@ package main
import (
"os"
- "github.com/atlarge-research/opendc-emulate-kubernetes/cmd/apate-cli/run"
+ "github.com/atlarge-research/apate/cmd/apate-cli/run"
)
func main() {
diff --git a/cmd/apate-cli/run/cmd.go b/cmd/apate-cli/run/cmd.go
index 817722e7..f70711a8 100644
--- a/cmd/apate-cli/run/cmd.go
+++ b/cmd/apate-cli/run/cmd.go
@@ -11,16 +11,16 @@ import (
"path/filepath"
"time"
- cpApi "github.com/atlarge-research/opendc-emulate-kubernetes/api/controlplane"
+ cpApi "github.com/atlarge-research/apate/api/controlplane"
"github.com/fatih/color"
"github.com/pkg/errors"
"github.com/urfave/cli/v2"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/clients/controlplane"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/container"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ "github.com/atlarge-research/apate/internal/service"
+ "github.com/atlarge-research/apate/pkg/clients/controlplane"
+ "github.com/atlarge-research/apate/pkg/container"
+ "github.com/atlarge-research/apate/pkg/env"
)
type commandLineArgs struct {
diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index 34a8c6a4..8aa940c9 100644
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -21,7 +21,7 @@ module.exports = {
}
],
// Edit links
- repo: 'atlarge-research/opendc-emulate-kubernetes',
+ repo: 'atlarge-research/apate',
docsDir: 'docs',
editLinks: true,
}
diff --git a/docs/usage.md b/docs/usage.md
index 104aaee0..85bac752 100644
--- a/docs/usage.md
+++ b/docs/usage.md
@@ -19,7 +19,7 @@ To install `apate-cli` binary with curl, you should do the following:
1. Download the latest release with the command:
```sh
- curl -LO https://github.com/atlarge-research/opendc-emulate-kubernetes/releases/download/v0.1.0/apate-cli
+ curl -LO https://github.com/atlarge-research/apate/releases/download/v0.1.0/apate-cli
```
2. Make the `apate-cli` binary executable.
@@ -43,12 +43,12 @@ To install `apate-cli` binary with curl, you should do the following:
To install the `apate-cli` from source first clone the repo:
```bash
-git clone https://github.com/atlarge-research/opendc-emulate-kubernetes
+git clone https://github.com/atlarge-research/apate
```
then move into the dir:
```bash
-cd opendc-emulate-kubernetes
+cd apate
```
Finally you can install the `apate-cli` like this:
diff --git a/go.mod b/go.mod
index 39d4fc5d..5d884b79 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/atlarge-research/opendc-emulate-kubernetes
+module github.com/atlarge-research/apate
go 1.14
diff --git a/internal/crd/node/client.go b/internal/crd/node/client.go
index 96073fdf..50deac43 100644
--- a/internal/crd/node/client.go
+++ b/internal/crd/node/client.go
@@ -11,7 +11,7 @@ import (
"k8s.io/apimachinery/pkg/runtime/serializer"
"k8s.io/client-go/tools/cache"
- nodeconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/nodeconfiguration/v1"
+ nodeconfigv1 "github.com/atlarge-research/apate/pkg/apis/nodeconfiguration/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/watch"
diff --git a/internal/crd/pod/client.go b/internal/crd/pod/client.go
index 17b52f94..dac0f98f 100644
--- a/internal/crd/pod/client.go
+++ b/internal/crd/pod/client.go
@@ -9,7 +9,7 @@ import (
"github.com/pkg/errors"
"k8s.io/apimachinery/pkg/runtime"
- podconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/podconfiguration/v1"
+ podconfigv1 "github.com/atlarge-research/apate/pkg/apis/podconfiguration/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/serializer"
diff --git a/internal/kubectl/helm.go b/internal/kubectl/helm.go
index 2dcda22a..6c6d0681 100644
--- a/internal/kubectl/helm.go
+++ b/internal/kubectl/helm.go
@@ -6,11 +6,11 @@ import (
"os/exec"
"strings"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ "github.com/atlarge-research/apate/pkg/env"
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/kubeconfig"
+ "github.com/atlarge-research/apate/pkg/kubernetes/kubeconfig"
)
func prepareHelm() error {
diff --git a/internal/kubectl/kubectl.go b/internal/kubectl/kubectl.go
index f1ee83ad..78612813 100644
--- a/internal/kubectl/kubectl.go
+++ b/internal/kubectl/kubectl.go
@@ -10,7 +10,7 @@ import (
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/kubeconfig"
+ "github.com/atlarge-research/apate/pkg/kubernetes/kubeconfig"
)
// CreateNameSpace creates a namespace on the cluster
diff --git a/pkg/apis/nodeconfiguration/v1/register.go b/pkg/apis/nodeconfiguration/v1/register.go
index 555a8ef1..3817afd5 100644
--- a/pkg/apis/nodeconfiguration/v1/register.go
+++ b/pkg/apis/nodeconfiguration/v1/register.go
@@ -8,10 +8,10 @@ import (
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/kubectl"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/nodeconfiguration"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/kubeconfig"
+ "github.com/atlarge-research/apate/internal/kubectl"
+ "github.com/atlarge-research/apate/pkg/apis/nodeconfiguration"
+ "github.com/atlarge-research/apate/pkg/env"
+ "github.com/atlarge-research/apate/pkg/kubernetes/kubeconfig"
)
// SchemeGroupVersion is group version used to register these objects
diff --git a/pkg/apis/podconfiguration/v1/register.go b/pkg/apis/podconfiguration/v1/register.go
index 0b5f78c0..d3e02027 100644
--- a/pkg/apis/podconfiguration/v1/register.go
+++ b/pkg/apis/podconfiguration/v1/register.go
@@ -3,7 +3,7 @@ package v1
import (
"io/ioutil"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ "github.com/atlarge-research/apate/pkg/env"
"github.com/pkg/errors"
@@ -12,9 +12,9 @@ import (
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/kubectl"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/podconfiguration"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/kubeconfig"
+ "github.com/atlarge-research/apate/internal/kubectl"
+ "github.com/atlarge-research/apate/pkg/apis/podconfiguration"
+ "github.com/atlarge-research/apate/pkg/kubernetes/kubeconfig"
)
// SchemeGroupVersion is group version used to register these objects
diff --git a/pkg/clients/apatelet/apatelet.go b/pkg/clients/apatelet/apatelet.go
index 5dec24a1..1d98ac67 100644
--- a/pkg/clients/apatelet/apatelet.go
+++ b/pkg/clients/apatelet/apatelet.go
@@ -4,8 +4,8 @@ import (
"github.com/pkg/errors"
"google.golang.org/grpc"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/apatelet"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
+ "github.com/atlarge-research/apate/api/apatelet"
+ "github.com/atlarge-research/apate/internal/service"
)
//ApateClient is the client used for the Apatelet service on the apatelets
diff --git a/pkg/clients/apatelet/scenario.go b/pkg/clients/apatelet/scenario.go
index e1a12996..e3f3c791 100644
--- a/pkg/clients/apatelet/scenario.go
+++ b/pkg/clients/apatelet/scenario.go
@@ -5,9 +5,9 @@ import (
"github.com/pkg/errors"
"google.golang.org/grpc"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/apatelet"
+ "github.com/atlarge-research/apate/api/apatelet"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
+ "github.com/atlarge-research/apate/internal/service"
)
// ScenarioClient is the client for the ScenarioHandler containing the connection and gRPC client
diff --git a/pkg/clients/controlplane/cluster_operations.go b/pkg/clients/controlplane/cluster_operations.go
index 89d4ba1a..bf7df4dd 100644
--- a/pkg/clients/controlplane/cluster_operations.go
+++ b/pkg/clients/controlplane/cluster_operations.go
@@ -4,21 +4,21 @@ package controlplane
import (
"context"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario"
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/kubeconfig"
+ "github.com/atlarge-research/apate/pkg/kubernetes/kubeconfig"
"github.com/golang/protobuf/ptypes/empty"
"github.com/google/uuid"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/controlplane"
+ "github.com/atlarge-research/apate/api/controlplane"
"google.golang.org/grpc"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
+ "github.com/atlarge-research/apate/internal/service"
)
// ClusterOperationClient is the client for the ClusterOperationService containing the connection and gRPC client
diff --git a/pkg/clients/controlplane/scenario.go b/pkg/clients/controlplane/scenario.go
index 9f0f1df1..1ea113ad 100644
--- a/pkg/clients/controlplane/scenario.go
+++ b/pkg/clients/controlplane/scenario.go
@@ -4,8 +4,8 @@ import (
"github.com/pkg/errors"
"google.golang.org/grpc"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/controlplane"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
+ "github.com/atlarge-research/apate/api/controlplane"
+ "github.com/atlarge-research/apate/internal/service"
)
// ScenarioClient is the client for the ScenarioService containing the connection and gRPC client
diff --git a/pkg/clients/controlplane/status.go b/pkg/clients/controlplane/status.go
index bc8ed0c4..d027d438 100644
--- a/pkg/clients/controlplane/status.go
+++ b/pkg/clients/controlplane/status.go
@@ -9,8 +9,8 @@ import (
"github.com/golang/protobuf/ptypes/empty"
"google.golang.org/grpc"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/controlplane"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
+ "github.com/atlarge-research/apate/api/controlplane"
+ "github.com/atlarge-research/apate/internal/service"
)
// StatusClient is the client for the StatusService containing the connection and gRPC client
diff --git a/pkg/clients/health/health.go b/pkg/clients/health/health.go
index 220df1f1..6912e93a 100644
--- a/pkg/clients/health/health.go
+++ b/pkg/clients/health/health.go
@@ -11,8 +11,8 @@ import (
"google.golang.org/grpc"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/health"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
+ "github.com/atlarge-research/apate/api/health"
+ "github.com/atlarge-research/apate/internal/service"
)
const (
diff --git a/pkg/clients/health/health_test.go b/pkg/clients/health/health_test.go
index 492ff355..8a93a5ee 100644
--- a/pkg/clients/health/health_test.go
+++ b/pkg/clients/health/health_test.go
@@ -3,8 +3,8 @@ package health
import (
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/health"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/health/mock_health"
+ "github.com/atlarge-research/apate/api/health"
+ "github.com/atlarge-research/apate/api/health/mock_health"
"github.com/golang/mock/gomock"
"github.com/golang/protobuf/ptypes/empty"
diff --git a/pkg/container/apatelet.go b/pkg/container/apatelet.go
index 558ca9f1..e4d7d32e 100644
--- a/pkg/container/apatelet.go
+++ b/pkg/container/apatelet.go
@@ -8,7 +8,7 @@ import (
"github.com/docker/go-connections/nat"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ "github.com/atlarge-research/apate/pkg/env"
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/container"
diff --git a/pkg/container/controlplane.go b/pkg/container/controlplane.go
index 07b356ad..f6294ad7 100644
--- a/pkg/container/controlplane.go
+++ b/pkg/container/controlplane.go
@@ -10,7 +10,7 @@ import (
"github.com/docker/docker/api/types/network"
"github.com/docker/go-connections/nat"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ "github.com/atlarge-research/apate/pkg/env"
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/container"
diff --git a/pkg/container/docker.go b/pkg/container/docker.go
index a01fee98..d8c4afa3 100644
--- a/pkg/container/docker.go
+++ b/pkg/container/docker.go
@@ -13,7 +13,7 @@ import (
"github.com/docker/docker/client"
"golang.org/x/sync/errgroup"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ "github.com/atlarge-research/apate/pkg/env"
)
// SpawnCall is function which takes in the number of the container, then spawns the container
diff --git a/pkg/kubernetes/api.go b/pkg/kubernetes/api.go
index adad384b..6f51fd30 100644
--- a/pkg/kubernetes/api.go
+++ b/pkg/kubernetes/api.go
@@ -9,7 +9,7 @@ import (
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- nodeconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/nodeconfiguration/v1"
+ nodeconfigv1 "github.com/atlarge-research/apate/pkg/apis/nodeconfiguration/v1"
)
// ClusterAPI are API calls for a cluster connection
diff --git a/pkg/kubernetes/cluster.go b/pkg/kubernetes/cluster.go
index 73966ccf..e9b52dfd 100644
--- a/pkg/kubernetes/cluster.go
+++ b/pkg/kubernetes/cluster.go
@@ -9,8 +9,8 @@ import (
"github.com/pkg/errors"
"k8s.io/client-go/kubernetes"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/kubeconfig"
+ "github.com/atlarge-research/apate/pkg/env"
+ "github.com/atlarge-research/apate/pkg/kubernetes/kubeconfig"
)
// Cluster object can be used to interact with kubernetes clusters.
diff --git a/pkg/kubernetes/kind.go b/pkg/kubernetes/kind.go
index 4388ba19..8c7e55ae 100644
--- a/pkg/kubernetes/kind.go
+++ b/pkg/kubernetes/kind.go
@@ -5,9 +5,9 @@ import (
"os/exec"
"strings"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/kubeconfig"
+ "github.com/atlarge-research/apate/pkg/kubernetes/kubeconfig"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ "github.com/atlarge-research/apate/pkg/env"
"github.com/pkg/errors"
diff --git a/pkg/kubernetes/kind_smoke_test.go b/pkg/kubernetes/kind_smoke_test.go
index fc8fdbb8..c69ac534 100644
--- a/pkg/kubernetes/kind_smoke_test.go
+++ b/pkg/kubernetes/kind_smoke_test.go
@@ -8,7 +8,7 @@ import (
"github.com/stretchr/testify/assert"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ "github.com/atlarge-research/apate/pkg/env"
)
func setup(t *testing.T) {
diff --git a/pkg/kubernetes/mock_kubernetes/mock_api.go b/pkg/kubernetes/mock_kubernetes/mock_api.go
index 29c097f6..f6ae2da1 100644
--- a/pkg/kubernetes/mock_kubernetes/mock_api.go
+++ b/pkg/kubernetes/mock_kubernetes/mock_api.go
@@ -1,5 +1,5 @@
// Code generated by MockGen. DO NOT EDIT.
-// Source: github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes (interfaces: ClusterAPI)
+// Source: github.com/atlarge-research/apate/pkg/kubernetes (interfaces: ClusterAPI)
// Package mock_kubernetes is a generated GoMock package.
package mock_kubernetes
diff --git a/pkg/kubernetes/unmanaged.go b/pkg/kubernetes/unmanaged.go
index 2a72d2b3..bb26b0d6 100644
--- a/pkg/kubernetes/unmanaged.go
+++ b/pkg/kubernetes/unmanaged.go
@@ -3,10 +3,10 @@ package kubernetes
import (
"github.com/pkg/errors"
- nodeconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/nodeconfiguration/v1"
- podconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/podconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/kubeconfig"
+ nodeconfigv1 "github.com/atlarge-research/apate/pkg/apis/nodeconfiguration/v1"
+ podconfigv1 "github.com/atlarge-research/apate/pkg/apis/podconfiguration/v1"
+ "github.com/atlarge-research/apate/pkg/env"
+ "github.com/atlarge-research/apate/pkg/kubernetes/kubeconfig"
)
// UnmanagedClusterManager is a struct which implements ClusterManager by writing the given kubeconfig to a file.
diff --git a/pkg/runner/docker.go b/pkg/runner/docker.go
index 7e3467d1..51241b7f 100644
--- a/pkg/runner/docker.go
+++ b/pkg/runner/docker.go
@@ -6,8 +6,8 @@ import (
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/container"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ "github.com/atlarge-research/apate/pkg/container"
+ "github.com/atlarge-research/apate/pkg/env"
)
// DockerRunner runs the apatelets using docker containers
diff --git a/pkg/runner/mock_runner/mock_runner.go b/pkg/runner/mock_runner/mock_runner.go
index b5cb17fa..d3f19aca 100644
--- a/pkg/runner/mock_runner/mock_runner.go
+++ b/pkg/runner/mock_runner/mock_runner.go
@@ -1,12 +1,12 @@
// Code generated by MockGen. DO NOT EDIT.
-// Source: github.com/atlarge-research/opendc-emulate-kubernetes/pkg/runner (interfaces: ApateletRunner)
+// Source: github.com/atlarge-research/apate/pkg/runner (interfaces: ApateletRunner)
// Package mock_runner is a generated GoMock package.
package mock_runner
import (
context "context"
- env "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ env "github.com/atlarge-research/apate/pkg/env"
gomock "github.com/golang/mock/gomock"
reflect "reflect"
)
diff --git a/pkg/runner/routine.go b/pkg/runner/routine.go
index 307eb685..0d8a78f6 100644
--- a/pkg/runner/routine.go
+++ b/pkg/runner/routine.go
@@ -6,8 +6,8 @@ import (
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
- apateRun "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/run"
+ "github.com/atlarge-research/apate/pkg/env"
+ apateRun "github.com/atlarge-research/apate/services/apatelet/run"
)
// RoutineRunner spawns apatelets using go routines
diff --git a/pkg/runner/runner.go b/pkg/runner/runner.go
index afeb72f5..6b657715 100644
--- a/pkg/runner/runner.go
+++ b/pkg/runner/runner.go
@@ -7,7 +7,7 @@ import (
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ "github.com/atlarge-research/apate/pkg/env"
)
// ApateletRunner is something that can be used to create new apatelets
diff --git a/pkg/runner/runner_test.go b/pkg/runner/runner_test.go
index bad629f9..a9812d51 100644
--- a/pkg/runner/runner_test.go
+++ b/pkg/runner/runner_test.go
@@ -5,12 +5,12 @@ import (
"errors"
"testing"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/runner/mock_runner"
+ "github.com/atlarge-research/apate/pkg/runner/mock_runner"
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/assert"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ "github.com/atlarge-research/apate/pkg/env"
)
const MyRunType env.RunType = "newRunType"
diff --git a/services/apatelet/crd/node/handler.go b/services/apatelet/crd/node/handler.go
index 541a6e69..9637d0f8 100644
--- a/services/apatelet/crd/node/handler.go
+++ b/services/apatelet/crd/node/handler.go
@@ -4,13 +4,13 @@ import (
"log"
"time"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/crd/node"
+ "github.com/atlarge-research/apate/internal/crd/node"
"github.com/pkg/errors"
- nodeconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/nodeconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/kubeconfig"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
+ nodeconfigv1 "github.com/atlarge-research/apate/pkg/apis/nodeconfiguration/v1"
+ "github.com/atlarge-research/apate/pkg/kubernetes/kubeconfig"
+ "github.com/atlarge-research/apate/services/apatelet/store"
)
// CreateNodeInformer creates a new node informer
diff --git a/services/apatelet/crd/node/handler_test.go b/services/apatelet/crd/node/handler_test.go
index 26635de3..daf23105 100644
--- a/services/apatelet/crd/node/handler_test.go
+++ b/services/apatelet/crd/node/handler_test.go
@@ -8,10 +8,10 @@ import (
"github.com/stretchr/testify/assert"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- nodeconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/nodeconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store/mock_store"
+ nodeconfigv1 "github.com/atlarge-research/apate/pkg/apis/nodeconfiguration/v1"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
+ "github.com/atlarge-research/apate/services/apatelet/store"
+ "github.com/atlarge-research/apate/services/apatelet/store/mock_store"
)
func TestEnqueueNodeTasks(t *testing.T) {
diff --git a/services/apatelet/crd/node/translator.go b/services/apatelet/crd/node/translator.go
index 2cc8aacf..5c5628d5 100644
--- a/services/apatelet/crd/node/translator.go
+++ b/services/apatelet/crd/node/translator.go
@@ -4,10 +4,10 @@ package node
import (
"time"
- nodeconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/nodeconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
+ nodeconfigv1 "github.com/atlarge-research/apate/pkg/apis/nodeconfiguration/v1"
+ "github.com/atlarge-research/apate/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
+ "github.com/atlarge-research/apate/services/apatelet/store"
)
// SetNodeFlags sets the correct flags for the apatelet
diff --git a/services/apatelet/crd/node/translator_test.go b/services/apatelet/crd/node/translator_test.go
index 7c8dbf05..1d05c03c 100644
--- a/services/apatelet/crd/node/translator_test.go
+++ b/services/apatelet/crd/node/translator_test.go
@@ -4,15 +4,15 @@ import (
"testing"
"time"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario"
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/assert"
- nodeconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/nodeconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store/mock_store"
+ nodeconfigv1 "github.com/atlarge-research/apate/pkg/apis/nodeconfiguration/v1"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
+ "github.com/atlarge-research/apate/services/apatelet/store"
+ "github.com/atlarge-research/apate/services/apatelet/store/mock_store"
)
func TestTranslateResponse(t *testing.T) {
diff --git a/services/apatelet/crd/pod/handler.go b/services/apatelet/crd/pod/handler.go
index 70f36195..73b91c82 100644
--- a/services/apatelet/crd/pod/handler.go
+++ b/services/apatelet/crd/pod/handler.go
@@ -4,13 +4,13 @@ import (
"log"
"time"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/crd/pod"
+ "github.com/atlarge-research/apate/internal/crd/pod"
"github.com/pkg/errors"
- podconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/podconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/kubeconfig"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
+ podconfigv1 "github.com/atlarge-research/apate/pkg/apis/podconfiguration/v1"
+ "github.com/atlarge-research/apate/pkg/kubernetes/kubeconfig"
+ "github.com/atlarge-research/apate/services/apatelet/store"
)
// CreatePodInformer creates a new crd informer.
diff --git a/services/apatelet/crd/pod/handler_test.go b/services/apatelet/crd/pod/handler_test.go
index 302df64d..9dc47f9a 100644
--- a/services/apatelet/crd/pod/handler_test.go
+++ b/services/apatelet/crd/pod/handler_test.go
@@ -4,7 +4,7 @@ import (
"testing"
"time"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario"
"github.com/docker/go-units"
@@ -14,10 +14,10 @@ import (
"github.com/finitum/node-cli/stats"
- podconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/podconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store/mock_store"
+ podconfigv1 "github.com/atlarge-research/apate/pkg/apis/podconfiguration/v1"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
+ "github.com/atlarge-research/apate/services/apatelet/store"
+ "github.com/atlarge-research/apate/services/apatelet/store/mock_store"
)
func TestGetCRDAndLabel(t *testing.T) {
diff --git a/services/apatelet/crd/pod/translator.go b/services/apatelet/crd/pod/translator.go
index bbdd92e5..08658c75 100644
--- a/services/apatelet/crd/pod/translator.go
+++ b/services/apatelet/crd/pod/translator.go
@@ -4,13 +4,13 @@ package pod
import (
"github.com/finitum/node-cli/stats"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario"
"github.com/pkg/errors"
- podconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/podconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
+ podconfigv1 "github.com/atlarge-research/apate/pkg/apis/podconfiguration/v1"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
+ "github.com/atlarge-research/apate/services/apatelet/store"
)
// SetPodFlags sets all flags for a pod.
diff --git a/services/apatelet/crd/pod/translator_test.go b/services/apatelet/crd/pod/translator_test.go
index c60221f2..fa947bdb 100644
--- a/services/apatelet/crd/pod/translator_test.go
+++ b/services/apatelet/crd/pod/translator_test.go
@@ -3,16 +3,16 @@ package pod
import (
"testing"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario"
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/assert"
- podconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/podconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store/mock_store"
+ podconfigv1 "github.com/atlarge-research/apate/pkg/apis/podconfiguration/v1"
+ "github.com/atlarge-research/apate/services/apatelet/store"
+ "github.com/atlarge-research/apate/services/apatelet/store/mock_store"
)
func TestTranslateResponse(t *testing.T) {
diff --git a/services/apatelet/main.go b/services/apatelet/main.go
index c1d05364..c379ee35 100644
--- a/services/apatelet/main.go
+++ b/services/apatelet/main.go
@@ -7,8 +7,8 @@ import (
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/run"
+ "github.com/atlarge-research/apate/pkg/env"
+ "github.com/atlarge-research/apate/services/apatelet/run"
)
func panicf(err error) {
diff --git a/services/apatelet/provider/nodeprovider.go b/services/apatelet/provider/nodeprovider.go
index 15e5d2a7..b6bf93d5 100644
--- a/services/apatelet/provider/nodeprovider.go
+++ b/services/apatelet/provider/nodeprovider.go
@@ -8,19 +8,19 @@ import (
"github.com/finitum/node-cli/opts"
- nodeconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/nodeconfiguration/v1"
+ nodeconfigv1 "github.com/atlarge-research/apate/pkg/apis/nodeconfiguration/v1"
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/provider/condition"
+ "github.com/atlarge-research/apate/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
+ "github.com/atlarge-research/apate/services/apatelet/provider/condition"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/network"
+ "github.com/atlarge-research/apate/internal/network"
)
const (
diff --git a/services/apatelet/provider/nodeprovider_test.go b/services/apatelet/provider/nodeprovider_test.go
index bb80a8f4..22fec372 100644
--- a/services/apatelet/provider/nodeprovider_test.go
+++ b/services/apatelet/provider/nodeprovider_test.go
@@ -7,10 +7,10 @@ import (
"github.com/finitum/node-cli/provider"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/node"
+ "github.com/atlarge-research/apate/pkg/kubernetes/node"
- nodeconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/nodeconfiguration/v1"
- podconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/podconfiguration/v1"
+ nodeconfigv1 "github.com/atlarge-research/apate/pkg/apis/nodeconfiguration/v1"
+ podconfigv1 "github.com/atlarge-research/apate/pkg/apis/podconfiguration/v1"
"github.com/finitum/node-cli/stats"
"github.com/golang/mock/gomock"
@@ -20,13 +20,13 @@ import (
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/provider/condition"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/provider/podmanager"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/provider/podmanager/mock_podmanager"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store/mock_store"
+ "github.com/atlarge-research/apate/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
+ "github.com/atlarge-research/apate/services/apatelet/provider/condition"
+ "github.com/atlarge-research/apate/services/apatelet/provider/podmanager"
+ "github.com/atlarge-research/apate/services/apatelet/provider/podmanager/mock_podmanager"
+ "github.com/atlarge-research/apate/services/apatelet/store"
+ "github.com/atlarge-research/apate/services/apatelet/store/mock_store"
)
func TestPing(t *testing.T) {
diff --git a/services/apatelet/provider/podmanager/mock_podmanager/mock_podmanager.go b/services/apatelet/provider/podmanager/mock_podmanager/mock_podmanager.go
index adb11a1e..437711b6 100644
--- a/services/apatelet/provider/podmanager/mock_podmanager/mock_podmanager.go
+++ b/services/apatelet/provider/podmanager/mock_podmanager/mock_podmanager.go
@@ -1,5 +1,5 @@
// Code generated by MockGen. DO NOT EDIT.
-// Source: github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/provider/podmanager (interfaces: PodManager)
+// Source: github.com/atlarge-research/apate/services/apatelet/provider/podmanager (interfaces: PodManager)
// Package mock_podmanager is a generated GoMock package.
package mock_podmanager
diff --git a/services/apatelet/provider/podprovider.go b/services/apatelet/provider/podprovider.go
index aba25ae4..96adc8e6 100644
--- a/services/apatelet/provider/podprovider.go
+++ b/services/apatelet/provider/podprovider.go
@@ -15,7 +15,7 @@ import (
"github.com/virtual-kubelet/virtual-kubelet/node/api"
corev1 "k8s.io/api/core/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
)
// CreatePod takes a Kubernetes Pod and deploys it within the provider.
diff --git a/services/apatelet/provider/podprovider_test.go b/services/apatelet/provider/podprovider_test.go
index 15ec7127..fce597a4 100644
--- a/services/apatelet/provider/podprovider_test.go
+++ b/services/apatelet/provider/podprovider_test.go
@@ -12,26 +12,26 @@ import (
"github.com/finitum/node-cli/stats"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/node"
+ "github.com/atlarge-research/apate/pkg/kubernetes/node"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"github.com/google/uuid"
"k8s.io/apimachinery/pkg/types"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario"
- podconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/podconfiguration/v1"
+ podconfigv1 "github.com/atlarge-research/apate/pkg/apis/podconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store/mock_store"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
+ "github.com/atlarge-research/apate/services/apatelet/store"
+ "github.com/atlarge-research/apate/services/apatelet/store/mock_store"
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/assert"
corev1 "k8s.io/api/core/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/provider/podmanager"
+ "github.com/atlarge-research/apate/services/apatelet/provider/podmanager"
)
func TestRunLatencyError(t *testing.T) {
diff --git a/services/apatelet/provider/podstatus.go b/services/apatelet/provider/podstatus.go
index c6c6c7b3..6a18c95e 100644
--- a/services/apatelet/provider/podstatus.go
+++ b/services/apatelet/provider/podstatus.go
@@ -12,8 +12,8 @@ import (
"github.com/finitum/node-cli/stats"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
+ "github.com/atlarge-research/apate/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
)
// GetPodStatus retrieves the status of a pod by label.
diff --git a/services/apatelet/provider/podstatus_test.go b/services/apatelet/provider/podstatus_test.go
index 23675e38..a407ec7f 100644
--- a/services/apatelet/provider/podstatus_test.go
+++ b/services/apatelet/provider/podstatus_test.go
@@ -5,7 +5,7 @@ import (
"testing"
"time"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/node"
+ "github.com/atlarge-research/apate/pkg/kubernetes/node"
"github.com/finitum/node-cli/stats"
"github.com/golang/mock/gomock"
@@ -15,12 +15,12 @@ import (
"k8s.io/apimachinery/pkg/api/resource"
"k8s.io/apimachinery/pkg/types"
- podconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/podconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/provider/podmanager"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store/mock_store"
+ podconfigv1 "github.com/atlarge-research/apate/pkg/apis/podconfiguration/v1"
+ "github.com/atlarge-research/apate/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
+ "github.com/atlarge-research/apate/services/apatelet/provider/podmanager"
+ "github.com/atlarge-research/apate/services/apatelet/store"
+ "github.com/atlarge-research/apate/services/apatelet/store/mock_store"
)
func prepareState(t *testing.T, nodeResources int64, podResources uint64, podMaxResources int64, podStatus scenario.PodStatus, response scenario.Response) (Provider, *gomock.Controller) {
diff --git a/services/apatelet/provider/provider.go b/services/apatelet/provider/provider.go
index 2550fd5f..dd905d68 100644
--- a/services/apatelet/provider/provider.go
+++ b/services/apatelet/provider/provider.go
@@ -8,23 +8,23 @@ import (
"github.com/finitum/node-cli/opts"
"github.com/finitum/node-cli/provider"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/node"
+ "github.com/atlarge-research/apate/pkg/kubernetes/node"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ "github.com/atlarge-research/apate/pkg/env"
corev1 "k8s.io/api/core/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/provider/condition"
+ "github.com/atlarge-research/apate/services/apatelet/provider/condition"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario"
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/provider/podmanager"
+ "github.com/atlarge-research/apate/services/apatelet/provider/podmanager"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
+ "github.com/atlarge-research/apate/services/apatelet/store"
)
var (
diff --git a/services/apatelet/provider/provider_test.go b/services/apatelet/provider/provider_test.go
index b6b3cbd6..8a4f2f93 100644
--- a/services/apatelet/provider/provider_test.go
+++ b/services/apatelet/provider/provider_test.go
@@ -5,20 +5,20 @@ import (
"github.com/finitum/node-cli/provider"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ "github.com/atlarge-research/apate/pkg/env"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/node"
+ "github.com/atlarge-research/apate/pkg/kubernetes/node"
"github.com/golang/mock/gomock"
"github.com/google/uuid"
"github.com/stretchr/testify/assert"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/provider/podmanager"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store/mock_store"
+ "github.com/atlarge-research/apate/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
+ "github.com/atlarge-research/apate/services/apatelet/provider/podmanager"
+ "github.com/atlarge-research/apate/services/apatelet/store"
+ "github.com/atlarge-research/apate/services/apatelet/store/mock_store"
)
const podNamespace = "podnamespace"
diff --git a/services/apatelet/provider/response.go b/services/apatelet/provider/response.go
index 567df66c..4ecb78a1 100644
--- a/services/apatelet/provider/response.go
+++ b/services/apatelet/provider/response.go
@@ -7,9 +7,9 @@ import (
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
)
type responseArgs struct {
diff --git a/services/apatelet/provider/response_node_test.go b/services/apatelet/provider/response_node_test.go
index bd331a52..9e29471d 100644
--- a/services/apatelet/provider/response_node_test.go
+++ b/services/apatelet/provider/response_node_test.go
@@ -4,16 +4,16 @@ import (
"context"
"testing"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario"
"github.com/pkg/errors"
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/assert"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store/mock_store"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
+ "github.com/atlarge-research/apate/services/apatelet/store"
+ "github.com/atlarge-research/apate/services/apatelet/store/mock_store"
)
const tStr = "test"
diff --git a/services/apatelet/provider/response_pod_test.go b/services/apatelet/provider/response_pod_test.go
index bb152152..f7f3e982 100644
--- a/services/apatelet/provider/response_pod_test.go
+++ b/services/apatelet/provider/response_pod_test.go
@@ -8,18 +8,18 @@ import (
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- podconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/podconfiguration/v1"
+ podconfigv1 "github.com/atlarge-research/apate/pkg/apis/podconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario"
"github.com/pkg/errors"
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/assert"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store/mock_store"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
+ "github.com/atlarge-research/apate/services/apatelet/store"
+ "github.com/atlarge-research/apate/services/apatelet/store/mock_store"
)
func setup(t *testing.T) (*mock_store.MockStore, *gomock.Controller, *corev1.Pod, func(podFlag events.PodEventFlag) (interface{}, error)) {
diff --git a/services/apatelet/provider/response_test.go b/services/apatelet/provider/response_test.go
index 2e7efc5e..eeed8e7a 100644
--- a/services/apatelet/provider/response_test.go
+++ b/services/apatelet/provider/response_test.go
@@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/assert"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
)
func TestGetCorrespondingNodeEventFlag(t *testing.T) {
diff --git a/services/apatelet/provider/statsprovider.go b/services/apatelet/provider/statsprovider.go
index ab6f4864..daca99c5 100644
--- a/services/apatelet/provider/statsprovider.go
+++ b/services/apatelet/provider/statsprovider.go
@@ -9,7 +9,7 @@ import (
corev1 "k8s.io/api/core/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
diff --git a/services/apatelet/provider/statsprovider_test.go b/services/apatelet/provider/statsprovider_test.go
index 90cd7c22..6f9eff55 100644
--- a/services/apatelet/provider/statsprovider_test.go
+++ b/services/apatelet/provider/statsprovider_test.go
@@ -5,13 +5,13 @@ import (
"github.com/finitum/node-cli/provider"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ "github.com/atlarge-research/apate/pkg/env"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/node"
+ "github.com/atlarge-research/apate/pkg/kubernetes/node"
- podconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/podconfiguration/v1"
+ podconfigv1 "github.com/atlarge-research/apate/pkg/apis/podconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario"
"github.com/finitum/node-cli/stats"
"github.com/golang/mock/gomock"
@@ -19,10 +19,10 @@ import (
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/provider/podmanager"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store/mock_store"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
+ "github.com/atlarge-research/apate/services/apatelet/provider/podmanager"
+ "github.com/atlarge-research/apate/services/apatelet/store"
+ "github.com/atlarge-research/apate/services/apatelet/store/mock_store"
)
const (
diff --git a/services/apatelet/run/apatelet.go b/services/apatelet/run/apatelet.go
index 9c73970e..79fd0fa6 100644
--- a/services/apatelet/run/apatelet.go
+++ b/services/apatelet/run/apatelet.go
@@ -9,20 +9,20 @@ import (
"os/signal"
"syscall"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/channel"
+ "github.com/atlarge-research/apate/pkg/channel"
- healthpb "github.com/atlarge-research/opendc-emulate-kubernetes/api/health"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/clients/controlplane"
+ healthpb "github.com/atlarge-research/apate/api/health"
+ "github.com/atlarge-research/apate/pkg/clients/controlplane"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ "github.com/atlarge-research/apate/pkg/env"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/scheduler"
+ "github.com/atlarge-research/apate/services/apatelet/scheduler"
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
- vkProvider "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/provider"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
+ "github.com/atlarge-research/apate/internal/service"
+ vkProvider "github.com/atlarge-research/apate/services/apatelet/provider"
+ "github.com/atlarge-research/apate/services/apatelet/store"
)
// StartApatelet starts the apatelet
diff --git a/services/apatelet/run/cluster.go b/services/apatelet/run/cluster.go
index 0b709979..baabf76f 100644
--- a/services/apatelet/run/cluster.go
+++ b/services/apatelet/run/cluster.go
@@ -4,18 +4,18 @@ import (
"context"
"log"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/channel"
+ "github.com/atlarge-research/apate/pkg/channel"
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/clients/controlplane"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/kubeconfig"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
- crdNode "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/crd/node"
- crdPod "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/crd/pod"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/scheduler"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
+ "github.com/atlarge-research/apate/internal/service"
+ "github.com/atlarge-research/apate/pkg/clients/controlplane"
+ "github.com/atlarge-research/apate/pkg/kubernetes/kubeconfig"
+ "github.com/atlarge-research/apate/pkg/scenario"
+ crdNode "github.com/atlarge-research/apate/services/apatelet/crd/node"
+ crdPod "github.com/atlarge-research/apate/services/apatelet/crd/pod"
+ "github.com/atlarge-research/apate/services/apatelet/scheduler"
+ "github.com/atlarge-research/apate/services/apatelet/store"
)
func joinApateCluster(ctx context.Context, connectionInfo *service.ConnectionInfo, listenPort int, kubeConfigPath string) (*kubeconfig.KubeConfig, *scenario.NodeResources, int64, error) {
diff --git a/services/apatelet/run/service.go b/services/apatelet/run/service.go
index 113a433e..6db3cc50 100644
--- a/services/apatelet/run/service.go
+++ b/services/apatelet/run/service.go
@@ -7,17 +7,17 @@ import (
"sync/atomic"
"syscall"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/channel"
+ "github.com/atlarge-research/apate/pkg/channel"
"github.com/google/uuid"
"github.com/pkg/errors"
- healthpb "github.com/atlarge-research/opendc-emulate-kubernetes/api/health"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/clients/health"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/scheduler"
- vkService "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/services"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
+ healthpb "github.com/atlarge-research/apate/api/health"
+ "github.com/atlarge-research/apate/internal/service"
+ "github.com/atlarge-research/apate/pkg/clients/health"
+ "github.com/atlarge-research/apate/services/apatelet/scheduler"
+ vkService "github.com/atlarge-research/apate/services/apatelet/services"
+ "github.com/atlarge-research/apate/services/apatelet/store"
)
func createGRPC(store *store.Store, sch *scheduler.Scheduler, listenAddress string, listenPort int, stopCh chan<- struct{}, stopInformerCh *channel.StopChannel) (*service.GRPCServer, error) {
diff --git a/services/apatelet/scheduler/scheduler.go b/services/apatelet/scheduler/scheduler.go
index 74984dae..3b6105be 100644
--- a/services/apatelet/scheduler/scheduler.go
+++ b/services/apatelet/scheduler/scheduler.go
@@ -7,9 +7,9 @@ import (
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/crd/node"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/crd/pod"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
+ "github.com/atlarge-research/apate/services/apatelet/crd/node"
+ "github.com/atlarge-research/apate/services/apatelet/crd/pod"
+ "github.com/atlarge-research/apate/services/apatelet/store"
)
const (
diff --git a/services/apatelet/scheduler/scheduler_test.go b/services/apatelet/scheduler/scheduler_test.go
index 97f44ee6..8a9f04f7 100644
--- a/services/apatelet/scheduler/scheduler_test.go
+++ b/services/apatelet/scheduler/scheduler_test.go
@@ -7,13 +7,13 @@ import (
"testing"
"time"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario"
- nodeconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/nodeconfiguration/v1"
- podconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/podconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store/mock_store"
+ nodeconfigv1 "github.com/atlarge-research/apate/pkg/apis/nodeconfiguration/v1"
+ podconfigv1 "github.com/atlarge-research/apate/pkg/apis/podconfiguration/v1"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
+ "github.com/atlarge-research/apate/services/apatelet/store"
+ "github.com/atlarge-research/apate/services/apatelet/store/mock_store"
"github.com/pkg/errors"
diff --git a/services/apatelet/services/apatelet.go b/services/apatelet/services/apatelet.go
index 668573a6..0ac5ef28 100644
--- a/services/apatelet/services/apatelet.go
+++ b/services/apatelet/services/apatelet.go
@@ -7,8 +7,8 @@ import (
"github.com/golang/protobuf/ptypes/empty"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/apatelet"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
+ "github.com/atlarge-research/apate/api/apatelet"
+ "github.com/atlarge-research/apate/internal/service"
)
type apateletService struct {
diff --git a/services/apatelet/services/scenario.go b/services/apatelet/services/scenario.go
index 2653cf42..78709004 100644
--- a/services/apatelet/services/scenario.go
+++ b/services/apatelet/services/scenario.go
@@ -5,17 +5,17 @@ import (
"context"
"log"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/channel"
+ "github.com/atlarge-research/apate/pkg/channel"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/scheduler"
+ "github.com/atlarge-research/apate/services/apatelet/scheduler"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
+ "github.com/atlarge-research/apate/services/apatelet/store"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/apatelet"
+ "github.com/atlarge-research/apate/api/apatelet"
"github.com/golang/protobuf/ptypes/empty"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
+ "github.com/atlarge-research/apate/internal/service"
)
// scenarioHandlerService will contain the implementation for the scenarioService
diff --git a/services/apatelet/store/get_flag.go b/services/apatelet/store/get_flag.go
index 24ccd5d5..292988f1 100644
--- a/services/apatelet/store/get_flag.go
+++ b/services/apatelet/store/get_flag.go
@@ -6,7 +6,7 @@ import (
"github.com/pkg/errors"
corev1 "k8s.io/api/core/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
)
// FlagGetter defines function aiding in retrieving flags
diff --git a/services/apatelet/store/mock_store/store_mock.go b/services/apatelet/store/mock_store/store_mock.go
index dcd44a67..2014d26b 100644
--- a/services/apatelet/store/mock_store/store_mock.go
+++ b/services/apatelet/store/mock_store/store_mock.go
@@ -1,11 +1,11 @@
// Code generated by MockGen. DO NOT EDIT.
-// Source: github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store (interfaces: Store)
+// Source: github.com/atlarge-research/apate/services/apatelet/store (interfaces: Store)
// Package mock_store is a generated GoMock package.
package mock_store
import (
- store "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/store"
+ store "github.com/atlarge-research/apate/services/apatelet/store"
gomock "github.com/golang/mock/gomock"
v1 "k8s.io/api/core/v1"
reflect "reflect"
diff --git a/services/apatelet/store/set_flag.go b/services/apatelet/store/set_flag.go
index 2f782cd1..53847ed0 100644
--- a/services/apatelet/store/set_flag.go
+++ b/services/apatelet/store/set_flag.go
@@ -3,7 +3,7 @@ package store
import (
"sort"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
)
// FlagSetter defines function aiding in setting flags
diff --git a/services/apatelet/store/store.go b/services/apatelet/store/store.go
index 6a2c63a9..ecf2ebc0 100644
--- a/services/apatelet/store/store.go
+++ b/services/apatelet/store/store.go
@@ -8,14 +8,14 @@ import (
corev1 "k8s.io/api/core/v1"
- podconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/podconfiguration/v1"
+ podconfigv1 "github.com/atlarge-research/apate/pkg/apis/podconfiguration/v1"
"github.com/finitum/node-cli/stats"
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
)
// Store represents the state of the apatelet
diff --git a/services/apatelet/store/store_test.go b/services/apatelet/store/store_test.go
index 745662ef..0ef47cbd 100644
--- a/services/apatelet/store/store_test.go
+++ b/services/apatelet/store/store_test.go
@@ -7,11 +7,11 @@ import (
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- nodeconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/nodeconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario/events"
+ nodeconfigv1 "github.com/atlarge-research/apate/pkg/apis/nodeconfiguration/v1"
+ "github.com/atlarge-research/apate/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario/events"
- podconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/podconfiguration/v1"
+ podconfigv1 "github.com/atlarge-research/apate/pkg/apis/podconfiguration/v1"
"github.com/stretchr/testify/assert"
)
diff --git a/services/apatelet/store/task.go b/services/apatelet/store/task.go
index 1f78c415..be8452a4 100644
--- a/services/apatelet/store/task.go
+++ b/services/apatelet/store/task.go
@@ -3,8 +3,8 @@ package store
import (
"time"
- nodeconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/nodeconfiguration/v1"
- podconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/podconfiguration/v1"
+ nodeconfigv1 "github.com/atlarge-research/apate/pkg/apis/nodeconfiguration/v1"
+ podconfigv1 "github.com/atlarge-research/apate/pkg/apis/podconfiguration/v1"
"github.com/pkg/errors"
)
diff --git a/services/controlplane/cluster/util.go b/services/controlplane/cluster/util.go
index 88733432..c5947261 100644
--- a/services/controlplane/cluster/util.go
+++ b/services/controlplane/cluster/util.go
@@ -7,8 +7,8 @@ import (
"github.com/google/uuid"
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/store"
+ "github.com/atlarge-research/apate/pkg/kubernetes"
+ "github.com/atlarge-research/apate/services/controlplane/store"
)
// RemoveNodesWithUUID removes the apatelets with the given uuids from the cluster (both apate and k8s)
diff --git a/services/controlplane/cluster/watchdog/watchdog.go b/services/controlplane/cluster/watchdog/watchdog.go
index a3c212f3..d4fe7720 100644
--- a/services/controlplane/cluster/watchdog/watchdog.go
+++ b/services/controlplane/cluster/watchdog/watchdog.go
@@ -7,13 +7,13 @@ import (
"log"
"time"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/cluster"
+ "github.com/atlarge-research/apate/services/controlplane/cluster"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/health"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/store"
+ "github.com/atlarge-research/apate/api/health"
+ "github.com/atlarge-research/apate/pkg/kubernetes"
+ "github.com/atlarge-research/apate/services/controlplane/store"
)
// StartWatchDog starts the watchdog
diff --git a/services/controlplane/cluster/watchdog/watchdog_test.go b/services/controlplane/cluster/watchdog/watchdog_test.go
index e91e801e..463bea33 100644
--- a/services/controlplane/cluster/watchdog/watchdog_test.go
+++ b/services/controlplane/cluster/watchdog/watchdog_test.go
@@ -9,12 +9,12 @@ import (
"github.com/google/uuid"
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/health"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/mock_kubernetes"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/store"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/store/mock_store"
+ "github.com/atlarge-research/apate/api/health"
+ "github.com/atlarge-research/apate/pkg/kubernetes"
+ "github.com/atlarge-research/apate/pkg/kubernetes/mock_kubernetes"
+ "github.com/atlarge-research/apate/pkg/scenario"
+ "github.com/atlarge-research/apate/services/controlplane/store"
+ "github.com/atlarge-research/apate/services/controlplane/store/mock_store"
)
func TestWatchdogNoApateError(t *testing.T) {
diff --git a/services/controlplane/crd/node/handler.go b/services/controlplane/crd/node/handler.go
index dfe1acf3..0f541051 100644
--- a/services/controlplane/crd/node/handler.go
+++ b/services/controlplane/crd/node/handler.go
@@ -12,23 +12,23 @@ import (
"github.com/google/uuid"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/cluster"
+ "github.com/atlarge-research/apate/pkg/kubernetes"
+ "github.com/atlarge-research/apate/services/controlplane/cluster"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/runner"
+ "github.com/atlarge-research/apate/pkg/runner"
"github.com/golang/protobuf/ptypes/empty"
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/clients/apatelet"
+ "github.com/atlarge-research/apate/pkg/clients/apatelet"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario"
- nodev1 "github.com/atlarge-research/opendc-emulate-kubernetes/internal/crd/node"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
- nodeconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/nodeconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/store"
+ nodev1 "github.com/atlarge-research/apate/internal/crd/node"
+ "github.com/atlarge-research/apate/internal/service"
+ nodeconfigv1 "github.com/atlarge-research/apate/pkg/apis/nodeconfiguration/v1"
+ "github.com/atlarge-research/apate/pkg/env"
+ "github.com/atlarge-research/apate/services/controlplane/store"
)
// ApateletHandler contains utilities to spawn and stop apatelets, and to update them based on a given node configuration
diff --git a/services/controlplane/crd/node/resources.go b/services/controlplane/crd/node/resources.go
index f993e4be..e6ccb365 100644
--- a/services/controlplane/crd/node/resources.go
+++ b/services/controlplane/crd/node/resources.go
@@ -4,9 +4,9 @@ import (
"github.com/google/uuid"
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/crd/node"
- nodeconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/nodeconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/internal/crd/node"
+ nodeconfigv1 "github.com/atlarge-research/apate/pkg/apis/nodeconfiguration/v1"
+ "github.com/atlarge-research/apate/pkg/scenario"
)
func createResources(needed int, base scenario.NodeResources) []scenario.NodeResources {
diff --git a/services/controlplane/crd/node/watcher.go b/services/controlplane/crd/node/watcher.go
index a8915691..e503d165 100644
--- a/services/controlplane/crd/node/watcher.go
+++ b/services/controlplane/crd/node/watcher.go
@@ -6,9 +6,9 @@ import (
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/crd/node"
- nodeconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/nodeconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/kubeconfig"
+ "github.com/atlarge-research/apate/internal/crd/node"
+ nodeconfigv1 "github.com/atlarge-research/apate/pkg/apis/nodeconfiguration/v1"
+ "github.com/atlarge-research/apate/pkg/kubernetes/kubeconfig"
)
// WatchHandler watches a newly created informer for updates and calls functions on apateletHandler on updates
diff --git a/services/controlplane/crd/pod/watcher.go b/services/controlplane/crd/pod/watcher.go
index 9eeab7d9..13275c98 100644
--- a/services/controlplane/crd/pod/watcher.go
+++ b/services/controlplane/crd/pod/watcher.go
@@ -4,8 +4,8 @@ package pod
import (
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/crd/pod"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/kubeconfig"
+ "github.com/atlarge-research/apate/internal/crd/pod"
+ "github.com/atlarge-research/apate/pkg/kubernetes/kubeconfig"
)
// NoopWatchHandler watches a newly created informer for updates and does nothing with this.
diff --git a/services/controlplane/main.go b/services/controlplane/main.go
index 96aeda52..e9c4f231 100644
--- a/services/controlplane/main.go
+++ b/services/controlplane/main.go
@@ -5,13 +5,13 @@ import (
"log"
"net/http"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ "github.com/atlarge-research/apate/pkg/env"
// #nosec exposing debug statistics is not a problem for this application
_ "net/http/pprof"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/runner"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/run"
+ "github.com/atlarge-research/apate/pkg/runner"
+ "github.com/atlarge-research/apate/services/controlplane/run"
)
func main() {
diff --git a/services/controlplane/run/controlplane.go b/services/controlplane/run/controlplane.go
index 1ec2534a..c0510023 100644
--- a/services/controlplane/run/controlplane.go
+++ b/services/controlplane/run/controlplane.go
@@ -10,24 +10,24 @@ import (
"syscall"
"time"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/channel"
+ "github.com/atlarge-research/apate/pkg/channel"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/crd/pod"
+ "github.com/atlarge-research/apate/services/controlplane/crd/pod"
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/kubectl"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/network"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
- nodeconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/nodeconfiguration/v1"
- podconfigv1 "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/apis/podconfiguration/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/runner"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/cluster/watchdog"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/crd/node"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/services"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/store"
+ "github.com/atlarge-research/apate/internal/kubectl"
+ "github.com/atlarge-research/apate/internal/network"
+ "github.com/atlarge-research/apate/internal/service"
+ nodeconfigv1 "github.com/atlarge-research/apate/pkg/apis/nodeconfiguration/v1"
+ podconfigv1 "github.com/atlarge-research/apate/pkg/apis/podconfiguration/v1"
+ "github.com/atlarge-research/apate/pkg/env"
+ "github.com/atlarge-research/apate/pkg/kubernetes"
+ "github.com/atlarge-research/apate/pkg/runner"
+ "github.com/atlarge-research/apate/services/controlplane/cluster/watchdog"
+ "github.com/atlarge-research/apate/services/controlplane/crd/node"
+ "github.com/atlarge-research/apate/services/controlplane/services"
+ "github.com/atlarge-research/apate/services/controlplane/store"
_ "k8s.io/client-go/plugin/pkg/client/auth" // Needed to connect with different providers, such as GKE
)
diff --git a/services/controlplane/services/cluster_operations.go b/services/controlplane/services/cluster_operations.go
index 7d22399d..c8b7fbba 100644
--- a/services/controlplane/services/cluster_operations.go
+++ b/services/controlplane/services/cluster_operations.go
@@ -6,21 +6,21 @@ import (
"log"
"net"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/cluster"
+ "github.com/atlarge-research/apate/services/controlplane/cluster"
"github.com/google/uuid"
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/controlplane"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes"
+ "github.com/atlarge-research/apate/api/controlplane"
+ "github.com/atlarge-research/apate/pkg/kubernetes"
"google.golang.org/grpc/peer"
"github.com/golang/protobuf/ptypes/empty"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/store"
+ "github.com/atlarge-research/apate/internal/service"
+ "github.com/atlarge-research/apate/services/controlplane/store"
)
type clusterOperationService struct {
diff --git a/services/controlplane/services/health.go b/services/controlplane/services/health.go
index 17e4deb6..bfc78d3e 100644
--- a/services/controlplane/services/health.go
+++ b/services/controlplane/services/health.go
@@ -12,9 +12,9 @@ import (
"github.com/golang/protobuf/ptypes/empty"
"github.com/google/uuid"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/health"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/store"
+ "github.com/atlarge-research/apate/api/health"
+ "github.com/atlarge-research/apate/internal/service"
+ "github.com/atlarge-research/apate/services/controlplane/store"
)
type healthService struct {
diff --git a/services/controlplane/services/health_test.go b/services/controlplane/services/health_test.go
index 64768263..a522099d 100644
--- a/services/controlplane/services/health_test.go
+++ b/services/controlplane/services/health_test.go
@@ -1,10 +1,10 @@
package services
import (
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/health"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/health/mock_health"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/store"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/store/mock_store"
+ "github.com/atlarge-research/apate/api/health"
+ "github.com/atlarge-research/apate/api/health/mock_health"
+ "github.com/atlarge-research/apate/services/controlplane/store"
+ "github.com/atlarge-research/apate/services/controlplane/store/mock_store"
"github.com/pkg/errors"
diff --git a/services/controlplane/services/scenario.go b/services/controlplane/services/scenario.go
index cefbcf75..c41637d3 100644
--- a/services/controlplane/services/scenario.go
+++ b/services/controlplane/services/scenario.go
@@ -5,18 +5,18 @@ import (
"log"
"time"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/channel"
+ "github.com/atlarge-research/apate/pkg/channel"
"github.com/pkg/errors"
"github.com/golang/protobuf/ptypes/empty"
"golang.org/x/sync/errgroup"
- apiApatelet "github.com/atlarge-research/opendc-emulate-kubernetes/api/apatelet"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/controlplane"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/clients/apatelet"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/store"
+ apiApatelet "github.com/atlarge-research/apate/api/apatelet"
+ "github.com/atlarge-research/apate/api/controlplane"
+ "github.com/atlarge-research/apate/internal/service"
+ "github.com/atlarge-research/apate/pkg/clients/apatelet"
+ "github.com/atlarge-research/apate/services/controlplane/store"
)
// The amount of seconds to wait with starting the scenario
diff --git a/services/controlplane/services/status.go b/services/controlplane/services/status.go
index 58ddb03e..f9305bd9 100644
--- a/services/controlplane/services/status.go
+++ b/services/controlplane/services/status.go
@@ -5,13 +5,13 @@ import (
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/health"
+ "github.com/atlarge-research/apate/api/health"
"github.com/golang/protobuf/ptypes/empty"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/controlplane"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/store"
+ "github.com/atlarge-research/apate/api/controlplane"
+ "github.com/atlarge-research/apate/internal/service"
+ "github.com/atlarge-research/apate/services/controlplane/store"
)
type statusService struct {
diff --git a/services/controlplane/services/status_test.go b/services/controlplane/services/status_test.go
index ba55c8ec..71f1773f 100644
--- a/services/controlplane/services/status_test.go
+++ b/services/controlplane/services/status_test.go
@@ -8,10 +8,10 @@ import (
"github.com/google/uuid"
"github.com/stretchr/testify/assert"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/health"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/store"
- "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/store/mock_store"
+ "github.com/atlarge-research/apate/api/health"
+ "github.com/atlarge-research/apate/internal/service"
+ "github.com/atlarge-research/apate/services/controlplane/store"
+ "github.com/atlarge-research/apate/services/controlplane/store/mock_store"
)
//go:generate sh -c "cd ../../../ && make mockgen"
diff --git a/services/controlplane/store/mock_store/store_mock.go b/services/controlplane/store/mock_store/store_mock.go
index cda840a1..38667769 100644
--- a/services/controlplane/store/mock_store/store_mock.go
+++ b/services/controlplane/store/mock_store/store_mock.go
@@ -1,14 +1,14 @@
// Code generated by MockGen. DO NOT EDIT.
-// Source: github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/store (interfaces: Store)
+// Source: github.com/atlarge-research/apate/services/controlplane/store (interfaces: Store)
// Package mock_store is a generated GoMock package.
package mock_store
import (
- apatelet "github.com/atlarge-research/opendc-emulate-kubernetes/api/apatelet"
- health "github.com/atlarge-research/opendc-emulate-kubernetes/api/health"
- scenario "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
- store "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/store"
+ apatelet "github.com/atlarge-research/apate/api/apatelet"
+ health "github.com/atlarge-research/apate/api/health"
+ scenario "github.com/atlarge-research/apate/pkg/scenario"
+ store "github.com/atlarge-research/apate/services/controlplane/store"
gomock "github.com/golang/mock/gomock"
uuid "github.com/google/uuid"
reflect "reflect"
diff --git a/services/controlplane/store/node.go b/services/controlplane/store/node.go
index 3408f7f0..4ef871b6 100644
--- a/services/controlplane/store/node.go
+++ b/services/controlplane/store/node.go
@@ -1,9 +1,9 @@
package store
import (
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/health"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/api/health"
+ "github.com/atlarge-research/apate/internal/service"
+ "github.com/atlarge-research/apate/pkg/scenario"
"github.com/google/uuid"
)
diff --git a/services/controlplane/store/store.go b/services/controlplane/store/store.go
index 46598d63..04bc37b8 100644
--- a/services/controlplane/store/store.go
+++ b/services/controlplane/store/store.go
@@ -5,15 +5,15 @@ import (
"container/list"
"sync"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario"
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/health"
+ "github.com/atlarge-research/apate/api/health"
"github.com/google/uuid"
- "github.com/atlarge-research/opendc-emulate-kubernetes/api/apatelet"
+ "github.com/atlarge-research/apate/api/apatelet"
)
//TODO: Multi-master not soon :tm:
diff --git a/services/controlplane/store/store_test.go b/services/controlplane/store/store_test.go
index a891f168..3e5b2b23 100644
--- a/services/controlplane/store/store_test.go
+++ b/services/controlplane/store/store_test.go
@@ -3,12 +3,12 @@ package store
import (
"testing"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/scenario"
+ "github.com/atlarge-research/apate/pkg/scenario"
"github.com/google/uuid"
"github.com/stretchr/testify/assert"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
+ "github.com/atlarge-research/apate/internal/service"
)
// TestEnqueue ensures adding a single node resources results in a single allocation
diff --git a/test/e2e/e2e_test.go b/test/e2e/e2e_test.go
index 897eb12d..ddb9efe2 100644
--- a/test/e2e/e2e_test.go
+++ b/test/e2e/e2e_test.go
@@ -9,20 +9,20 @@ import (
"testing"
"time"
- nodeCrd "github.com/atlarge-research/opendc-emulate-kubernetes/internal/crd/node"
- podCrd "github.com/atlarge-research/opendc-emulate-kubernetes/internal/crd/pod"
+ nodeCrd "github.com/atlarge-research/apate/internal/crd/node"
+ podCrd "github.com/atlarge-research/apate/internal/crd/pod"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/service"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/clients/controlplane"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes"
+ "github.com/atlarge-research/apate/internal/service"
+ "github.com/atlarge-research/apate/pkg/clients/controlplane"
+ "github.com/atlarge-research/apate/pkg/env"
+ "github.com/atlarge-research/apate/pkg/kubernetes"
"github.com/google/uuid"
"github.com/stretchr/testify/assert"
corev1 "k8s.io/api/core/v1"
- cmd "github.com/atlarge-research/opendc-emulate-kubernetes/cmd/apate-cli/run"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/kubeconfig"
+ cmd "github.com/atlarge-research/apate/cmd/apate-cli/run"
+ "github.com/atlarge-research/apate/pkg/kubernetes/kubeconfig"
)
var longTimeout time.Duration
diff --git a/test/e2e/k3s_test.go b/test/e2e/k3s_test.go
index a00e4f07..224efd15 100644
--- a/test/e2e/k3s_test.go
+++ b/test/e2e/k3s_test.go
@@ -10,9 +10,9 @@ import (
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/runner"
- cp "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/run"
+ "github.com/atlarge-research/apate/pkg/env"
+ "github.com/atlarge-research/apate/pkg/runner"
+ cp "github.com/atlarge-research/apate/services/controlplane/run"
)
// K3s DEPLOYMENT
diff --git a/test/e2e/node_test.go b/test/e2e/node_test.go
index c8ec9c6b..0abffe35 100644
--- a/test/e2e/node_test.go
+++ b/test/e2e/node_test.go
@@ -10,17 +10,17 @@ import (
"testing"
"time"
- apateRun "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/run"
+ apateRun "github.com/atlarge-research/apate/services/apatelet/run"
"github.com/stretchr/testify/assert"
corev1 "k8s.io/api/core/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/kubectl"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/kubeconfig"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/runner"
- cp "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/run"
+ "github.com/atlarge-research/apate/internal/kubectl"
+ "github.com/atlarge-research/apate/pkg/env"
+ "github.com/atlarge-research/apate/pkg/kubernetes"
+ "github.com/atlarge-research/apate/pkg/kubernetes/kubeconfig"
+ "github.com/atlarge-research/apate/pkg/runner"
+ cp "github.com/atlarge-research/apate/services/controlplane/run"
)
func TestSimpleNodeDeploymentRoutine(t *testing.T) {
diff --git a/test/e2e/pod_test.go b/test/e2e/pod_test.go
index bfed8ba5..fa4df984 100644
--- a/test/e2e/pod_test.go
+++ b/test/e2e/pod_test.go
@@ -11,12 +11,12 @@ import (
"github.com/stretchr/testify/assert"
corev1 "k8s.io/api/core/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/internal/kubectl"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes/kubeconfig"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/runner"
- cp "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/run"
+ "github.com/atlarge-research/apate/internal/kubectl"
+ "github.com/atlarge-research/apate/pkg/env"
+ "github.com/atlarge-research/apate/pkg/kubernetes"
+ "github.com/atlarge-research/apate/pkg/kubernetes/kubeconfig"
+ "github.com/atlarge-research/apate/pkg/runner"
+ cp "github.com/atlarge-research/apate/services/controlplane/run"
)
// POD DEPLOYMENT
diff --git a/test/e2e/prometheus_test.go b/test/e2e/prometheus_test.go
index 088070ef..5f24eec9 100644
--- a/test/e2e/prometheus_test.go
+++ b/test/e2e/prometheus_test.go
@@ -10,10 +10,10 @@ import (
"github.com/stretchr/testify/assert"
corev1 "k8s.io/api/core/v1"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/runner"
- cp "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/run"
+ "github.com/atlarge-research/apate/pkg/env"
+ "github.com/atlarge-research/apate/pkg/kubernetes"
+ "github.com/atlarge-research/apate/pkg/runner"
+ cp "github.com/atlarge-research/apate/services/controlplane/run"
)
func TestRunPrometheusRoutines(t *testing.T) {
diff --git a/test/e2e/shutdown_test.go b/test/e2e/shutdown_test.go
index 39d521c2..82591272 100644
--- a/test/e2e/shutdown_test.go
+++ b/test/e2e/shutdown_test.go
@@ -10,11 +10,11 @@ import (
"github.com/stretchr/testify/assert"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/kubernetes"
+ "github.com/atlarge-research/apate/pkg/kubernetes"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/runner"
- cp "github.com/atlarge-research/opendc-emulate-kubernetes/services/controlplane/run"
+ "github.com/atlarge-research/apate/pkg/env"
+ "github.com/atlarge-research/apate/pkg/runner"
+ cp "github.com/atlarge-research/apate/services/controlplane/run"
)
func TestShutdownCPRoutines(t *testing.T) {
diff --git a/test/e2e/spawncontainer_test.go b/test/e2e/spawncontainer_test.go
index dec4fe17..900a065c 100644
--- a/test/e2e/spawncontainer_test.go
+++ b/test/e2e/spawncontainer_test.go
@@ -11,8 +11,8 @@ import (
"github.com/stretchr/testify/assert"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/container"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
+ "github.com/atlarge-research/apate/pkg/container"
+ "github.com/atlarge-research/apate/pkg/env"
)
func TestSpawnControlPlaneDocker(t *testing.T) {
diff --git a/test/e2e/testrunner.go b/test/e2e/testrunner.go
index 69ab1181..5d525fca 100644
--- a/test/e2e/testrunner.go
+++ b/test/e2e/testrunner.go
@@ -5,8 +5,8 @@ import (
"github.com/pkg/errors"
- "github.com/atlarge-research/opendc-emulate-kubernetes/pkg/env"
- apateRun "github.com/atlarge-research/opendc-emulate-kubernetes/services/apatelet/run"
+ "github.com/atlarge-research/apate/pkg/env"
+ apateRun "github.com/atlarge-research/apate/services/apatelet/run"
)
// TestRoutineRunner nops the spawning of Apatelets