upgrade

package
v2.19.3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client is a client for the upgrade agent.

func NewClient

func NewClient() *Client

NewClient creates a new upgrade agent client connecting to the default upgrade-agent Unix socket.

func (*Client) Upgrade

func (c *Client) Upgrade(ctx context.Context, kubernetesComponents components.Components, WantedKubernetesVersion string) error

Upgrade upgrades the Constellation node to the given Kubernetes version.

type Dialer

type Dialer interface {
	DialContext(ctx context.Context, network string, address string) (net.Conn, error)
}

Dialer is a dialer for the upgrade agent.

Jump to

Keyboard shortcuts

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