-
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.NewController
intoedl.New
, - rename
controller.New
intoedl.newAutoscaler
, which should be called byedl.New
, - rename
controller.NewCluster
intoedl.newCluster
, which should be called byedl.New
too.
Metadata
Metadata
Assignees
Labels
No labels