Documentation ¶
Overview ¶
Package defaulter is an interface for setting default values for a resource.
Package defaulter sets default values for the fleet resources.
Index ¶
Constants ¶
View Source
const ( // DefaultMaxSurgeValue is the default value of MaxSurge in the rolling update config. DefaultMaxSurgeValue = "25%" DefaultUnavailablePeriodSeconds = 60 // DefaultMaxSkewValue is the default degree to which resources may be unevenly distributed. DefaultMaxSkewValue = 1 // DefaultRevisionHistoryLimitValue is the default value of RevisionHistoryLimit. DefaultRevisionHistoryLimitValue = 10 )DefaultMaxUnavailableValue = "25%"
Variables ¶
This section is empty.
Functions ¶
func SetDefaultsClusterResourcePlacement ¶ added in v0.9.7
func SetDefaultsClusterResourcePlacement(obj *fleetv1beta1.ClusterResourcePlacement)
SetDefaultsClusterResourcePlacement sets the default values for ClusterResourcePlacement.
func SetDefaultsWork ¶
func SetDefaultsWork(w *placementv1beta1.Work)
SetDefaultsWork sets the default values for the Work resource.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.