code: func (s *DeploymentBasicGeneratorV1) StructuredGenerate() (runtime.Object, error) {
  	podSpec, labels, selector, err := s.structuredGenerate()
  	one := int32(1)
  	return &extensionsv1beta1.Deployment{
  		ObjectMeta: metav1.ObjectMeta{
  			Name:   s.Name,
  			Labels: labels,
  		},
  		Spec: extensionsv1beta1.DeploymentSpec{
  			Replicas: &one,
  			Selector: &selector,
  			Template: v1.PodTemplateSpec{
  				ObjectMeta: metav1.ObjectMeta{
  					Labels: labels,
  				},
  				Spec: podSpec,
  			},
  		},
  	}, err
  }
docs: // StructuredGenerate outputs a deployment object using the configured fields