Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConfigContainerName = "config" SyncBlobName = "sync" MasterStartupBlobName = "master-startup" WorkerStartupBlobName = "worker-startup" 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)
HashSyncPod(cs *api.OpenShiftManagedCluster) ([]byte, error)
}
type Upgrader ¶
type Upgrader interface {
CreateOrUpdateConfigStorageAccount(ctx context.Context, cs *api.OpenShiftManagedCluster) error
EnrichCSFromVault(ctx context.Context, cs *api.OpenShiftManagedCluster) error
EnrichCSStorageAccountKeys(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
CreateOrUpdateSyncPod(ctx context.Context, cs *api.OpenShiftManagedCluster) error
EtcdBlobExists(ctx context.Context, blobName string) error
EtcdRestoreDeleteMasterScaleSet(ctx context.Context, cs *api.OpenShiftManagedCluster) *api.PluginError
EtcdRestoreDeleteMasterScaleSetHashes(ctx context.Context, cs *api.OpenShiftManagedCluster) *api.PluginError
ResetUpdateBlob(cs *api.OpenShiftManagedCluster) error
Reimage(ctx context.Context, cs *api.OpenShiftManagedCluster, scaleset, instanceID string) error
ListVMHostnames(ctx context.Context, cs *api.OpenShiftManagedCluster) ([]string, error)
RunCommand(ctx context.Context, cs *api.OpenShiftManagedCluster, scaleset, instanceID, command string) error
WriteStartupBlobs(cs *api.OpenShiftManagedCluster) error
kubeclient.Kubeclient
}
Upgrader is the public interface to the upgrade module used by the plugin.
func NewSimpleUpgrader ¶
func NewSimpleUpgrader(ctx context.Context, log *logrus.Entry, cs *api.OpenShiftManagedCluster, initializeStorageClients, disableKeepAlives bool, testConfig api.TestConfig) (Upgrader, error)
NewSimpleUpgrader creates a new upgrader instance
Source Files
¶
Click to show internal directories.
Click to hide internal directories.