- Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Description
We need to rename some functions in the controller (to be renamed edl) package. The motivation comes from the current main function:
cluster := controller.NewCluster(clientset) as := controller.New(cluster, controller.WithMaxLoadDesired(*maxLoadDesired)) controller, err := controller.NewController(client, clientset, as) if err != nil { panic(err) }should be
ctl, err = edl.New(client, clientset, *maxLoadDesired)as
- we rename
controller.NewControllerintoedl.New, - rename
controller.Newintoedl.newAutoscaler, which should be called byedl.New, - rename
controller.NewClusterintoedl.newCluster, which should be called byedl.Newtoo.
Metadata
Metadata
Assignees
Labels
No labels