Documentation
¶
Index ¶
Constants ¶
View Source
const ( WeightCRD = -100 WeightNamespace = 0 WeightClusterRole = 5 WeightClusterRoleBinding = 5 WeightServiceAccount = 10 WeightRole = 10 WeightRoleBinding = 10 WeightSecret = 15 WeightConfigMap = 15 WeightStorageClass = 20 WeightPersistentVolume = 20 WeightPVC = 20 WeightService = 50 WeightDeployment = 100 WeightStatefulSet = 100 WeightDaemonSet = 100 WeightJob = 110 WeightCronJob = 110 WeightIngress = 150 WeightNetworkPolicy = 150 WeightHPA = 200 WeightVPA = 200 WeightPDB = 200 WeightWebhook = 500 WeightDefault = 1000 )
Resource ordering weights for Kubernetes apply operations. Lower weights are applied first.
Variables ¶
This section is empty.
Functions ¶
func GetWeight ¶
func GetWeight(gvk schema.GroupVersionKind) int
GetWeight returns the ordering weight for a GVK. Lower weights are applied first.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.