caasoperatorupgrader

package
v0.0.0-...-b9bb202 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WithTracer = base.WithTracer

WithTracer returns an Option that configures the Client to use the supplied tracer.

Functions

This section is empty.

Types

type Client

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

Client allows access to the CAAS operator upgrader API endpoint.

func NewClient

func NewClient(caller base.APICaller, options ...Option) *Client

NewClient returns a client used to access the CAAS Operator Upgrader API.

func (*Client) Upgrade

func (c *Client) Upgrade(ctx context.Context, agentTag string, v version.Number) error

Upgrade upgrades the operator for the specified agent tag to v.

type Option

type Option = base.Option

Option is a function that can be used to configure a Client.

Jump to

Keyboard shortcuts

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