Documentation
¶
Index ¶
Constants ¶
View Source
const ( StatusNone string = "None" // finished and quit StatusRetry string = "Retry" // running StatusFailed string = "Failed" // failed and exited StatusFailedAndRetry string = "FailedAndRetry" // failed but can be retried )
Variables ¶
This section is empty.
Functions ¶
func HasLegacyConfigManagerRuntime ¶
func HasLegacyConfigManagerRuntime(its *workloads.InstanceSet) bool
func ValidateLegacyConfigManagerRuntime ¶
func ValidateLegacyConfigManagerRuntime(its *workloads.InstanceSet) error
ValidateLegacyConfigManagerRuntime checks whether an existing workload still carries the legacy config-manager runtime required by ParametersDefinition.reloadAction.
Types ¶
type Context ¶
type Context struct {
intctrlutil.RequestCtx
Client client.Client
ConfigTemplate appsv1.ComponentFileTemplate
ConfigHash *string // the hash of the new configuration content
Cluster *appsv1.Cluster
ClusterComponent *appsv1.ClusterComponentSpec
ITS *workloads.InstanceSet // TODO: use cluster or component API?
ConfigDescription *parametersv1alpha1.ComponentConfigDescription
ParametersDef *parametersv1alpha1.ParametersDefinitionSpec
Patch *core.ConfigPatchInfo
}
Click to show internal directories.
Click to hide internal directories.