code: func addKnownTypes(scheme *runtime.Scheme) error {
  	scheme.AddKnownTypes(SchemeGroupVersion,
  		&Deployment{},
  		&DeploymentList{},
  		&Scale{},
  		&StatefulSet{},
  		&StatefulSetList{},
  		&DaemonSet{},
  		&DaemonSetList{},
  		&ReplicaSet{},
  		&ReplicaSetList{},
  		&ControllerRevision{},
  		&ControllerRevisionList{},
  	)
  	metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
  	return nil
  }
docs: // Adds the list of known types to the given scheme.