upgraderesponder

package
v1.9.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UpgradeResponderAddress = "https://epinio.version.rancher.io/v1/checkupgrade"
)

Variables

This section is empty.

Functions

func NewChecker

func NewChecker(ctx context.Context, logger logr.Logger, upgradeResponderAddress string) (*client.UpgradeChecker, error)

Types

type EpinioUpgradeRequester

type EpinioUpgradeRequester struct {
	Logger              logr.Logger
	EpinioVersion       string
	EpinioServerVersion string
	KubernetesPlatform  string
	KubernetesVersion   string
}

func (*EpinioUpgradeRequester) GetCurrentVersion

func (e *EpinioUpgradeRequester) GetCurrentVersion() string

func (*EpinioUpgradeRequester) GetExtraInfo

func (e *EpinioUpgradeRequester) GetExtraInfo() map[string]string

func (*EpinioUpgradeRequester) ProcessUpgradeResponse

func (e *EpinioUpgradeRequester) ProcessUpgradeResponse(resp *client.CheckUpgradeResponse, err error)

Jump to

Keyboard shortcuts

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