Skip to content

Commit

Permalink
Fix the CreateCluster API's args
Browse files Browse the repository at this point in the history
  • Loading branch information
powerkimhub committed Sep 3, 2022
1 parent 15b7b7c commit 4ea659b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ type AddonsInfo struct {
type ClusterHandler interface {

//------ Cluster Management
CreateCluster(clusterReqInfo ClusterInfo, nodeReqInfo NodeGroupInfo) (ClusterInfo, error)
CreateCluster(clusterReqInfo ClusterInfo) (ClusterInfo, error)
ListCluster() ([]*ClusterInfo, error)
GetCluster(clusterIID IID) (ClusterInfo, error)
DeleteCluster(clusterIID IID) (bool, error)
Expand All @@ -101,6 +101,7 @@ type ClusterHandler interface {
AddNodeGroup(clusterIID IID, nodeGroupReqInfo NodeGroupInfo) (NodeGroupInfo, error)
ListNodeGroup(clusterIID IID) ([]*NodeGroupInfo, error)
GetNodeGroup(clusterIID IID, nodeGroupIID IID) (NodeGroupInfo, error)
SetNodeGroupAutoScaling(clusterIID IID, nodeGroupIID IID, on bool) (bool, error)
ChangeNodeGroupScaling(clusterIID IID, nodeGroupIID IID,
DesiredNodeSize int, MinNodeSize int, MaxNodeSize int) (NodeGroupInfo, error)
RemoveNodeGroup(clusterIID IID, nodeGroupIID IID) (bool, error)
Expand Down

0 comments on commit 4ea659b

Please sign in to comment.