func autoConvert_v1beta1_PodDisruptionBudgetSpec_To_policy_PodDisruptionBudgetSpec(in *PodDisruptionBudgetSpec, out *policy.PodDisruptionBudgetSpec, s conversion.Scope) error {
	out.MinAvailable = in.MinAvailable
	out.Selector = (*unversioned.LabelSelector)(unsafe.Pointer(in.Selector))
	return nil
}
Ejemplo n.º 2
0
func autoConvert_v1alpha1_PodDisruptionBudgetSpec_To_policy_PodDisruptionBudgetSpec(in *PodDisruptionBudgetSpec, out *policy.PodDisruptionBudgetSpec, s conversion.Scope) error {
	out.MinAvailable = in.MinAvailable
	out.Selector = in.Selector
	return nil
}