providersupgradeclient

package
v0.14.0-dev Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

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

func New

func New(cctlClient clusterctl.Client) Client

New returns the ProviderUpgradeClient

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL