// Adds the list of known types to Schema.
Adds the list of known types to Schema.
// Adds the list of known types to Schema .
func addKnownTypes(scheme *runtime.Scheme) error {
	scheme.AddKnownTypes(
		SchemeGroupVersion,
		&LandscaperDeployment{},
		&LandscaperDeploymentList{},
		&Instance{},
		&InstanceList{},
		&ServiceTargetConfig{},
		&ServiceTargetConfigList{})
	if err := RegisterConversions(scheme); err != nil {
		return err
	}
	metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
	return nil
}
func addKnownTypes ( scheme * runtime . Scheme ) error { scheme . AddKnownTypes ( SchemeGroupVersion , & LandscaperDeployment { } , & LandscaperDeploymentList { } , & Instance { } , & InstanceList { } , & ServiceTargetConfig { } , & ServiceTargetConfigList { } ) if err := RegisterConversions ( scheme ) ; err != nil { return err } metav1 . AddToGroupVersion ( scheme , SchemeGroupVersion ) return nil }
Adds the list of known types to Schema.
Adds the list of known types to Schema .