Skip to content

Commit

Permalink
chore: restruct workspace controller code - part 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Fei-Guo committed Nov 9, 2024
1 parent 3c873ec commit 5286872
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/workspace/controllers/workspace_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ import (
"github.com/aws/karpenter-core/pkg/apis/v1alpha5"
"github.com/go-logr/logr"
kaitov1alpha1 "github.com/kaito-project/kaito/api/v1alpha1"
manifests "github.com/kaito-project/kaito/pkg/resources"
"github.com/kaito-project/kaito/pkg/utils"
"github.com/kaito-project/kaito/pkg/utils/machine"
"github.com/kaito-project/kaito/pkg/utils/plugin"
"github.com/kaito-project/kaito/pkg/utils/resources"
"github.com/kaito-project/kaito/pkg/workspace/inference"
"github.com/kaito-project/kaito/pkg/workspace/manifests"
"github.com/samber/lo"
appsv1 "k8s.io/api/apps/v1"
corev1 "k8s.io/api/core/v1"
Expand Down
2 changes: 1 addition & 1 deletion pkg/workspace/inference/preset-inferences.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (

kaitov1alpha1 "github.com/kaito-project/kaito/api/v1alpha1"
"github.com/kaito-project/kaito/pkg/model"
manifests "github.com/kaito-project/kaito/pkg/resources"
"github.com/kaito-project/kaito/pkg/utils/resources"
"github.com/kaito-project/kaito/pkg/workspace/manifests"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
"k8s.io/apimachinery/pkg/util/intstr"
Expand Down
2 changes: 1 addition & 1 deletion pkg/workspace/inference/template_inference.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"context"

kaitov1alpha1 "github.com/kaito-project/kaito/api/v1alpha1"
manifests "github.com/kaito-project/kaito/pkg/resources"
"github.com/kaito-project/kaito/pkg/utils/resources"
"github.com/kaito-project/kaito/pkg/workspace/manifests"
"sigs.k8s.io/controller-runtime/pkg/client"
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

package resources
package manifests

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

package resources
package manifests

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion pkg/workspace/tuning/preset-tuning.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import (

kaitov1alpha1 "github.com/kaito-project/kaito/api/v1alpha1"
"github.com/kaito-project/kaito/pkg/model"
manifests "github.com/kaito-project/kaito/pkg/resources"
"github.com/kaito-project/kaito/pkg/utils"
"github.com/kaito-project/kaito/pkg/utils/resources"
"github.com/kaito-project/kaito/pkg/workspace/manifests"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors"
"k8s.io/klog/v2"
Expand Down

0 comments on commit 5286872

Please sign in to comment.