caasoperatorupgrader

package
v0.0.0-...-0a82276 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: AGPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(registry facade.FacadeRegistry)

Register is called to expose a package of facades onto a given registry.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

func NewCAASOperatorUpgraderAPI

func NewCAASOperatorUpgraderAPI(
	authorizer facade.Authorizer,
	broker caas.Upgrader,
	logger corelogger.Logger,
) (*API, error)

NewCAASOperatorUpgraderAPI returns a new CAAS operator upgrader API facade.

func (*API) UpgradeOperator

func (api *API) UpgradeOperator(ctx context.Context, arg params.KubernetesUpgradeArg) (params.ErrorResult, error)

UpgradeOperator upgrades the operator for the specified agents.

Jump to

Keyboard shortcuts

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