cluster

package
v2.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2019 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigContainerName     = "config"
	ConfigBlobName          = "config"
	EtcdBackupContainerName = "etcd"
)

here follow well known container and blob names

Variables

This section is empty.

Functions

This section is empty.

Types

type Hasher

type Hasher interface {
	HashScaleSet(*api.OpenShiftManagedCluster, *api.AgentPoolProfile) ([]byte, error)
}

type Upgrader

type Upgrader interface {
	CreateClients(ctx context.Context, cs *api.OpenShiftManagedCluster, disableKeepAlives bool) error
	Initialize(ctx context.Context, cs *api.OpenShiftManagedCluster) error
	InitializeUpdateBlob(cs *api.OpenShiftManagedCluster, suffix string) error
	WaitForHealthzStatusOk(ctx context.Context, cs *api.OpenShiftManagedCluster) error
	HealthCheck(ctx context.Context, cs *api.OpenShiftManagedCluster) *api.PluginError
	SortedAgentPoolProfilesForRole(cs *api.OpenShiftManagedCluster, role api.AgentPoolProfileRole) []api.AgentPoolProfile
	WaitForNodesInAgentPoolProfile(ctx context.Context, cs *api.OpenShiftManagedCluster, app *api.AgentPoolProfile, suffix string) error
	UpdateMasterAgentPool(ctx context.Context, cs *api.OpenShiftManagedCluster, app *api.AgentPoolProfile) *api.PluginError
	UpdateWorkerAgentPool(ctx context.Context, cs *api.OpenShiftManagedCluster, app *api.AgentPoolProfile, suffix string) *api.PluginError
	EtcdRestoreDeleteMasterScaleSet(ctx context.Context, cs *api.OpenShiftManagedCluster) *api.PluginError
	EtcdRestoreDeleteMasterScaleSetHashes(ctx context.Context, cs *api.OpenShiftManagedCluster) *api.PluginError
}

Upgrader is the public interface to the upgrade module used by the plugin.

func NewSimpleUpgrader

func NewSimpleUpgrader(log *logrus.Entry, pluginConfig *api.PluginConfig) Upgrader

NewSimpleUpgrader creates a new upgrader instance

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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