// 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_EndpointSlice(in *discoveryv1beta1.EndpointSlice) { … } func SetObjectDefaults_EndpointSliceList(in *discoveryv1beta1.EndpointSliceList) { … }