@@ -120,8 +120,8 @@ type MoveOptions struct {
120
120
Namespace string
121
121
}
122
122
123
- // UpgradePlanOptions carries the options supported by upgrade plan.
124
- type UpgradePlanOptions struct {
123
+ // PlanUpgradeOptions carries the options supported by upgrade plan.
124
+ type PlanUpgradeOptions struct {
125
125
// Kubeconfig file to use for accessing the management cluster. If empty, default rules for kubeconfig discovery will be used.
126
126
Kubeconfig string
127
127
}
@@ -146,12 +146,12 @@ type Client interface {
146
146
// Move moves all the Cluster API objects existing in a namespace (or from all the namespaces if empty) to a target management cluster.
147
147
Move (options MoveOptions ) error
148
148
149
- // Plan returns a set of suggested Upgrade plans for the cluster, and more specifically:
149
+ // PlanUpgrade returns a set of suggested Upgrade plans for the cluster, and more specifically:
150
150
// - Each management group gets separated upgrade plans.
151
- // - For each management group, an upgrade plan will be generated for each ClusterAPIVersion available, e.g.
151
+ // - For each management group, an upgrade plan is generated for each ClusterAPIVersion available, e.g.
152
152
// - Upgrade to the latest version in the the v1alpha2 series: ....
153
153
// - Upgrade to the latest version in the the v1alpha3 series: ....
154
- UpgradePlan (options UpgradePlanOptions ) ([]UpgradePlan , error )
154
+ PlanUpgrade (options PlanUpgradeOptions ) ([]UpgradePlan , error )
155
155
}
156
156
157
157
// clusterctlClient implements Client.
0 commit comments