Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup: rename repo #93

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/latest-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
- name: build and publish image
run: |
export KO_DOCKER_REPO=public.ecr.aws/cloudpilotai/alibabacloud/karpenter
ko build --bare github.com/cloudpilot-ai/karpenter-provider-alicloud/cmd/controller
ko build --bare github.com/cloudpilot-ai/karpenter-provider-alibabacloud/cmd/controller
2 changes: 1 addition & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ linters-settings:
locale: US
ignore-words: []
goimports:
local-prefixes: github.com/cloudpilot-ai/karpenter-provider-alicloud
local-prefixes: github.com/cloudpilot-ai/karpenter-provider-alibabacloud
gci:
sections:
- standard # Standard section: captures all standard packages.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ verify: ## Verify code. Includes linting, formatting, etc
golangci-lint run

image: ## Build the Karpenter controller images using ko build
$(eval CONTROLLER_IMG=$(shell $(WITH_GOFLAGS) KOCACHE=$(KOCACHE) KO_DOCKER_REPO="$(KO_DOCKER_REPO)" ko build --bare github.com/cloudpilot-ai/karpenter-provider-alicloud/cmd/controller))
$(eval CONTROLLER_IMG=$(shell $(WITH_GOFLAGS) KOCACHE=$(KOCACHE) KO_DOCKER_REPO="$(KO_DOCKER_REPO)" ko build --bare github.com/cloudpilot-ai/karpenter-provider-alibabacloud/cmd/controller))
$(eval IMG_REPOSITORY=$(shell echo $(CONTROLLER_IMG) | cut -d "@" -f 1 | cut -d ":" -f 1))
$(eval IMG_TAG=$(shell echo $(CONTROLLER_IMG) | cut -d "@" -f 1 | cut -d ":" -f 2 -s))
$(eval IMG_DIGEST=$(shell echo $(CONTROLLER_IMG) | cut -d "@" -f 2))
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![GitHub stars](https://img.shields.io/github/stars/cloudpilot-ai/karpenter-provider-alicloud)
![GitHub forks](https://img.shields.io/github/forks/cloudpilot-ai/karpenter-provider-alicloud)
[![GitHub License](https://img.shields.io/badge/License-Apache%202.0-ff69b4.svg)](https://github.com/cloudpilot-ai/karpenter-provider-alicloud/blob/main/LICENSE)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/cloudpilot-ai/karpenter-provider-alicloud/issues)
![GitHub stars](https://img.shields.io/github/stars/cloudpilot-ai/karpenter-provider-alibabacloud)
![GitHub forks](https://img.shields.io/github/forks/cloudpilot-ai/karpenter-provider-alibabacloud)
[![GitHub License](https://img.shields.io/badge/License-Apache%202.0-ff69b4.svg)](https://github.com/cloudpilot-ai/karpenter-provider-alibabacloud/blob/main/LICENSE)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/cloudpilot-ai/karpenter-provider-alibabacloud/issues)

<p align="center">
<img src="docs/images/banner.png" height="200" />
Expand Down
6 changes: 3 additions & 3 deletions cmd/controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
corecontrollers "sigs.k8s.io/karpenter/pkg/controllers"
coreoperator "sigs.k8s.io/karpenter/pkg/operator"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/cloudprovider"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/controllers"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/operator"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/cloudprovider"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/controllers"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/operator"
)

func main() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.4
name: ecsnodeclasses.karpenter.k8s.alicloud
name: ecsnodeclasses.karpenter.k8s.alibabacloud
spec:
group: karpenter.k8s.alicloud
group: karpenter.k8s.alibabacloud
names:
categories:
- karpenter
Expand Down
2 changes: 1 addition & 1 deletion examples/nodepool/ecsnodeclass.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: karpenter.k8s.alicloud/v1alpha1
apiVersion: karpenter.k8s.alibabacloud/v1alpha1
kind: ECSNodeClass
metadata:
name: defaultnodeclass
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/cloudpilot-ai/karpenter-provider-alicloud
module github.com/cloudpilot-ai/karpenter-provider-alibabacloud

go 1.23

Expand Down
4 changes: 2 additions & 2 deletions hack/update-generated.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cleanup() {
}
trap "cleanup" EXIT SIGINT

KARPENTER_GO_PACKAGE="github.com/cloudpilot-ai/karpenter-provider-alicloud"
KARPENTER_GO_PACKAGE="github.com/cloudpilot-ai/karpenter-provider-alibabacloud"
GO_PKG_DIR=$(dirname "${GOPATH}/src/${KARPENTER_GO_PACKAGE}")
mkdir -p "${GO_PKG_DIR}"

Expand All @@ -26,4 +26,4 @@ fi
deepcopy-gen \
--go-header-file hack/boilerplate.go.txt \
--output-file-base zz_generated.deepcopy \
--input-dirs github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/apis/v1alpha1
--input-dirs github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/apis/v1alpha1
2 changes: 1 addition & 1 deletion pkg/apis/apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
)

var (
Group = "karpenter.k8s.alicloud"
Group = "karpenter.k8s.alibabacloud"
CompatibilityGroup = "compatibility." + Group
CRDs = apis.CRDs // object.Unmarshal[apiextensionsv1.CustomResourceDefinition](crds.ECSNodeClassCRD)
)
4 changes: 2 additions & 2 deletions pkg/apis/v1alpha1/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ limitations under the License.

// +k8s:openapi-gen=true
// +k8s:deepcopy-gen=package,register
// +groupName=karpenter.k8s.alicloud
// +groupName=karpenter.k8s.alibabacloud
package v1alpha1

import (
corev1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/client-go/kubernetes/scheme"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/apis"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/apis"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/v1alpha1/labels.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
coreapis "sigs.k8s.io/karpenter/pkg/apis"
karpv1 "sigs.k8s.io/karpenter/pkg/apis/v1"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/apis"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/apis"
)

func init() {
Expand Down
12 changes: 6 additions & 6 deletions pkg/cloudprovider/cloudprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ import (
"sigs.k8s.io/karpenter/pkg/scheduling"
"sigs.k8s.io/karpenter/pkg/utils/resources"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/apis"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/apis/v1alpha1"
cloudproviderevents "github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/cloudprovider/events"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/instance"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/instancetype"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/utils"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/apis"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/apis/v1alpha1"
cloudproviderevents "github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/cloudprovider/events"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/instance"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/instancetype"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/utils"
)

const CloudProviderName = "alibabacloud"
Expand Down
6 changes: 3 additions & 3 deletions pkg/cloudprovider/drift.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import (
karpv1 "sigs.k8s.io/karpenter/pkg/apis/v1"
"sigs.k8s.io/karpenter/pkg/cloudprovider"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/instance"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/utils"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/instance"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/utils"
)

const (
Expand Down
32 changes: 16 additions & 16 deletions pkg/controllers/controllers.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ import (
"sigs.k8s.io/karpenter/pkg/cloudprovider"
"sigs.k8s.io/karpenter/pkg/events"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/cache"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/controllers/interruption"
nodeclaimgarbagecollection "github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/controllers/nodeclaim/garbagecollection"
nodeclaimtagging "github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/controllers/nodeclaim/tagging"
nodeclasshash "github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/controllers/nodeclass/hash"
nodeclaasstatus "github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/controllers/nodeclass/status"
nodeclasstermination "github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/controllers/nodeclass/termination"
providersinstancetype "github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/controllers/providers/instancetype"
controllerspricing "github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/controllers/providers/pricing"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/operator/options"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/imagefamily"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/instance"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/instancetype"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/pricing"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/securitygroup"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/vswitch"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/cache"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/controllers/interruption"
nodeclaimgarbagecollection "github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/controllers/nodeclaim/garbagecollection"
nodeclaimtagging "github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/controllers/nodeclaim/tagging"
nodeclasshash "github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/controllers/nodeclass/hash"
nodeclaasstatus "github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/controllers/nodeclass/status"
nodeclasstermination "github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/controllers/nodeclass/termination"
providersinstancetype "github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/controllers/providers/instancetype"
controllerspricing "github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/controllers/providers/pricing"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/operator/options"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/imagefamily"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/instance"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/instancetype"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/pricing"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/securitygroup"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/vswitch"
)

func NewControllers(ctx context.Context, mgr manager.Manager, clk clock.Clock,
Expand Down
4 changes: 2 additions & 2 deletions pkg/controllers/interruption/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import (
karpv1 "sigs.k8s.io/karpenter/pkg/apis/v1"
"sigs.k8s.io/karpenter/pkg/events"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/cache"
interruptionevents "github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/controllers/interruption/events"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/cache"
interruptionevents "github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/controllers/interruption/events"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/nodeclaim/garbagecollection/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (
"sigs.k8s.io/karpenter/pkg/cloudprovider"
"sigs.k8s.io/karpenter/pkg/operator/injection"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/instance"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/instance"
)

type Controller struct {
Expand Down
8 changes: 4 additions & 4 deletions pkg/controllers/nodeclaim/tagging/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ import (
"sigs.k8s.io/karpenter/pkg/cloudprovider"
"sigs.k8s.io/karpenter/pkg/operator/injection"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/operator/options"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/instance"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/utils"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/operator/options"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/instance"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/utils"
)

type Controller struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/nodeclass/hash/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
karpv1 "sigs.k8s.io/karpenter/pkg/apis/v1"
"sigs.k8s.io/karpenter/pkg/operator/injection"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/apis/v1alpha1"
)

type Controller struct {
Expand Down
8 changes: 4 additions & 4 deletions pkg/controllers/nodeclass/status/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ import (
"sigs.k8s.io/karpenter/pkg/operator/injection"
"sigs.k8s.io/karpenter/pkg/utils/result"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/imagefamily"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/securitygroup"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/vswitch"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/imagefamily"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/securitygroup"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/vswitch"
)

type nodeClassStatusReconciler interface {
Expand Down
4 changes: 2 additions & 2 deletions pkg/controllers/nodeclass/status/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import (
"sigs.k8s.io/controller-runtime/pkg/reconcile"
karpv1 "sigs.k8s.io/karpenter/pkg/apis/v1"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/imagefamily"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/imagefamily"
)

type Image struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/controllers/nodeclass/status/securitygroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import (
"github.com/samber/lo"
"sigs.k8s.io/controller-runtime/pkg/reconcile"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/securitygroup"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/securitygroup"
)

type SecurityGroup struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/controllers/nodeclass/status/vswitch.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import (
"github.com/samber/lo"
"sigs.k8s.io/controller-runtime/pkg/reconcile"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/vswitch"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/vswitch"
)

type VSwitch struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/nodeclass/termination/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import (
"sigs.k8s.io/karpenter/pkg/events"
"sigs.k8s.io/karpenter/pkg/operator/injection"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/apis/v1alpha1"
)

type Controller struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/controllers/nodeclass/termination/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
corev1 "k8s.io/api/core/v1"
"sigs.k8s.io/karpenter/pkg/events"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/utils"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/utils"
)

func WaitingOnNodeClaimTerminationEvent(nodeClass *v1alpha1.ECSNodeClass, names []string) events.Event {
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/providers/instancetype/instancetype.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/reconcile"
"sigs.k8s.io/karpenter/pkg/operator/injection"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/instancetype"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/instancetype"
)

type Controller struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/providers/pricing/controllers.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/reconcile"
"sigs.k8s.io/karpenter/pkg/operator/injection"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/pricing"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/pricing"
)

type Controller struct {
Expand Down
22 changes: 11 additions & 11 deletions pkg/operator/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ import (
"sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/karpenter/pkg/operator"

alicache "github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/cache"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/operator/options"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/ack"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/imagefamily"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/instance"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/instancetype"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/pricing"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/securitygroup"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/version"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/vswitch"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/utils/client"
alicache "github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/cache"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/operator/options"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/ack"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/imagefamily"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/instance"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/instancetype"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/pricing"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/securitygroup"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/version"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/vswitch"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/utils/client"
)

// Operator is injected into the AliCloud CloudProvider's factories
Expand Down
2 changes: 1 addition & 1 deletion pkg/operator/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
coreoptions "sigs.k8s.io/karpenter/pkg/operator/options"
"sigs.k8s.io/karpenter/pkg/utils/env"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/utils"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/utils"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/providers/ack/ack.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/log"
karpv1 "sigs.k8s.io/karpenter/pkg/apis/v1"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/apis/v1alpha1"
)

type Provider interface {
Expand Down
2 changes: 1 addition & 1 deletion pkg/providers/ack/ack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/alibabacloud-go/tea/tea"
"github.com/stretchr/testify/assert"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/apis/v1alpha1"
)

func Test_convertNodeClassKubeletConfigToACKNodeConfig(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/providers/imagefamily/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (
corev1 "k8s.io/api/core/v1"
"sigs.k8s.io/karpenter/pkg/scheduling"

"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alicloud/pkg/providers/version"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/apis/v1alpha1"
"github.com/cloudpilot-ai/karpenter-provider-alibabacloud/pkg/providers/version"
)

type Provider interface {
Expand Down
Loading