Versions in this module Expand all Collapse all v0 v0.1.4 Jun 27, 2019 Changes in this version + const DefaultMachineDeploymentUniqueLabelKey + const DesiredReplicasAnnotation + const FailedMSCreateReason + const FoundNewMSReason + const MaxReplicasAnnotation + const MinimumReplicasAvailable + const MinimumReplicasUnavailable + const PausedDeployReason + const RevisionAnnotation + const RevisionHistoryAnnotation + func CloneAndAddLabel(labels map[string]string, labelKey, labelValue string) map[string]string + func CloneSelectorAndAddLabel(selector *metav1.LabelSelector, labelKey, labelValue string) *metav1.LabelSelector + func ComputeHash(template *v1alpha1.MachineTemplateSpec) uint32 + func DeepHashObject(hasher hash.Hash, objectToWrite interface{}) + func DeploymentComplete(deployment *v1alpha1.MachineDeployment, ...) bool + func EqualIgnoreHash(template1, template2 *v1alpha1.MachineTemplateSpec) bool + func FilterActiveMachineSets(machineSets []*v1alpha1.MachineSet) []*v1alpha1.MachineSet + func FilterMachineSets(MSes []*v1alpha1.MachineSet, filterFn filterMS) []*v1alpha1.MachineSet + func FindNewMachineSet(deployment *v1alpha1.MachineDeployment, msList []*v1alpha1.MachineSet) *v1alpha1.MachineSet + func FindOldMachineSets(deployment *v1alpha1.MachineDeployment, msList []*v1alpha1.MachineSet) ([]*v1alpha1.MachineSet, []*v1alpha1.MachineSet) + func FindOneActiveOrLatest(newMS *v1alpha1.MachineSet, oldMSs []*v1alpha1.MachineSet) *v1alpha1.MachineSet + func GetActualReplicaCountForMachineSets(machineSets []*v1alpha1.MachineSet) int32 + func GetAvailableReplicaCountForMachineSets(machineSets []*v1alpha1.MachineSet) int32 + func GetDesiredReplicasAnnotation(ms *v1alpha1.MachineSet) (int32, bool) + func GetProportion(ms *v1alpha1.MachineSet, d v1alpha1.MachineDeployment, ...) int32 + func GetReadyReplicaCountForMachineSets(machineSets []*v1alpha1.MachineSet) int32 + func GetReplicaCountForMachineSets(machineSets []*v1alpha1.MachineSet) int32 + func IsRollingUpdate(deployment *v1alpha1.MachineDeployment) bool + func IsSaturated(deployment *v1alpha1.MachineDeployment, ms *v1alpha1.MachineSet) bool + func MaxRevision(allMSs []*v1alpha1.MachineSet) int64 + func MaxSurge(deployment v1alpha1.MachineDeployment) int32 + func MaxUnavailable(deployment v1alpha1.MachineDeployment) int32 + func NewMSNewReplicas(deployment *v1alpha1.MachineDeployment, allMSs []*v1alpha1.MachineSet, ...) (int32, error) + func ReplicasAnnotationsNeedUpdate(ms *v1alpha1.MachineSet, desiredReplicas, maxReplicas int32) bool + func ResolveFenceposts(maxSurge, maxUnavailable *intstrutil.IntOrString, desired int32) (int32, int32, error) + func Revision(obj runtime.Object) (int64, error) + func SetDeploymentRevision(deployment *v1alpha1.MachineDeployment, revision string) bool + func SetNewMachineSetAnnotations(deployment *v1alpha1.MachineDeployment, newMS *v1alpha1.MachineSet, ...) bool + func SetReplicasAnnotations(ms *v1alpha1.MachineSet, desiredReplicas, maxReplicas int32) bool + type MachineSetsByCreationTimestamp []*v1alpha1.MachineSet + func (o MachineSetsByCreationTimestamp) Len() int + func (o MachineSetsByCreationTimestamp) Less(i, j int) bool + func (o MachineSetsByCreationTimestamp) Swap(i, j int) + type MachineSetsBySizeNewer []*v1alpha1.MachineSet + func (o MachineSetsBySizeNewer) Len() int + func (o MachineSetsBySizeNewer) Less(i, j int) bool + func (o MachineSetsBySizeNewer) Swap(i, j int) + type MachineSetsBySizeOlder []*v1alpha1.MachineSet + func (o MachineSetsBySizeOlder) Len() int + func (o MachineSetsBySizeOlder) Less(i, j int) bool + func (o MachineSetsBySizeOlder) Swap(i, j int)