Documentation ¶
Overview ¶
Package providersupgradeclient provides wrapper for clusterctl upgrade functionalities
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
ApplyUpgrade(*clusterctl.ApplyUpgradeOptions) error
}
Client provides interface which is a proxy for clusterctl client's interface ApplyUpgrade method, created to help unit tests TODO: This can be extended as a proxy for all operations of clusterctl client
type ProvidersUpgradeClient ¶
type ProvidersUpgradeClient struct {
// contains filtered or unexported fields
}
ProvidersUpgradeClient implements providers upgrade functionality
func (*ProvidersUpgradeClient) ApplyUpgrade ¶
func (puc *ProvidersUpgradeClient) ApplyUpgrade(pUpgradeApplyOptions *clusterctl.ApplyUpgradeOptions) error
ApplyUpgrade acts as proxy for ClusterCtl ApplyUpgrade method
Click to show internal directories.
Click to hide internal directories.