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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.