// RegisterDefaults adds defaulters functions to the given scheme.
// Public to allow building arbitrary schemes.
// All generated defaulters are covering - they call all nested defaulters.
RegisterDefaults adds defaulters functions to the given scheme.
Public to allow building arbitrary schemes.
All generated defaulters are covering - they call all nested defaulters.
// 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 {
	scheme.AddTypeDefaultingFunc(&Instance{}, func(obj interface{}) { SetObjectDefaults_Instance(obj.(*Instance)) })
	scheme.AddTypeDefaultingFunc(&InstanceList{}, func(obj interface{}) { SetObjectDefaults_InstanceList(obj.(*InstanceList)) })
	scheme.AddTypeDefaultingFunc(&LandscaperDeployment{}, func(obj interface{}) { SetObjectDefaults_LandscaperDeployment(obj.(*LandscaperDeployment)) })
	scheme.AddTypeDefaultingFunc(&LandscaperDeploymentList{}, func(obj interface{}) { SetObjectDefaults_LandscaperDeploymentList(obj.(*LandscaperDeploymentList)) })
	scheme.AddTypeDefaultingFunc(&ServiceTargetConfig{}, func(obj interface{}) { SetObjectDefaults_ServiceTargetConfig(obj.(*ServiceTargetConfig)) })
	scheme.AddTypeDefaultingFunc(&ServiceTargetConfigList{}, func(obj interface{}) { SetObjectDefaults_ServiceTargetConfigList(obj.(*ServiceTargetConfigList)) })
	return nil
}
func RegisterDefaults ( scheme * runtime . Scheme ) error { scheme . AddTypeDefaultingFunc ( & Instance { } , func ( obj interface { } ) { SetObjectDefaults_Instance ( obj . ( * Instance ) ) } ) scheme . AddTypeDefaultingFunc ( & InstanceList { } , func ( obj interface { } ) { SetObjectDefaults_InstanceList ( obj . ( * InstanceList ) ) } ) scheme . AddTypeDefaultingFunc ( & LandscaperDeployment { } , func ( obj interface { } ) { SetObjectDefaults_LandscaperDeployment ( obj . ( * LandscaperDeployment ) ) } ) scheme . AddTypeDefaultingFunc ( & LandscaperDeploymentList { } , func ( obj interface { } ) { SetObjectDefaults_LandscaperDeploymentList ( obj . ( * LandscaperDeploymentList ) ) } ) scheme . AddTypeDefaultingFunc ( & ServiceTargetConfig { } , func ( obj interface { } ) { SetObjectDefaults_ServiceTargetConfig ( obj . ( * ServiceTargetConfig ) ) } ) scheme . AddTypeDefaultingFunc ( & ServiceTargetConfigList { } , func ( obj interface { } ) { SetObjectDefaults_ServiceTargetConfigList ( obj . ( * ServiceTargetConfigList ) ) } ) return nil }
RegisterDefaults adds defaulters functions to the given scheme.
RegisterDefaults adds defaulters functions to the given scheme .