alpha

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package alpha implements clusterctl alpha functionality.

Index

Constants

View Source
const MachineDeployment = "machinedeployment"

MachineDeployment is a resource type.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Rollout() Rollout
}

Client is the alpha client.

func New

func New(options ...Option) Client

New returns a Client.

type Option

type Option func(*alphaClient)

Option is a configuration option supplied to New.

func InjectRollout

func InjectRollout(rollout Rollout) Option

InjectRollout allows to override the rollout implementation to use.

type Rollout

type Rollout interface {
	ObjectRestarter(cluster.Proxy, corev1.ObjectReference) error
	ObjectPauser(cluster.Proxy, corev1.ObjectReference) error
	ObjectResumer(cluster.Proxy, corev1.ObjectReference) error
	ObjectRollbacker(cluster.Proxy, corev1.ObjectReference, int64) error
}

Rollout defines the behavior of a rollout implementation.

Jump to

Keyboard shortcuts

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