// RegisterDefaults adds defaulters functions to the given scheme. // Public to allow building arbitrary schemes. // All generated defaulters are covering - they call all nested defaulters. func RegisterDefaults(scheme *runtime.Scheme) error { … } func SetObjectDefaults_Ingress(in *networkingv1beta1.Ingress) { … } func SetObjectDefaults_IngressList(in *networkingv1beta1.IngressList) { … }