code: func (c TableConvertor) ConvertToTable(ctx context.Context, obj runtime.Object, tableOptions runtime.Object) (*metav1beta1.Table, error) {
  	noHeaders := false
  	if tableOptions != nil {
  		switch t := tableOptions.(type) {
  		case *metav1beta1.TableOptions:
  			if t != nil {
  				noHeaders = t.NoHeaders
  			}
  		default:
  			return nil, fmt.Errorf("unrecognized type %T for table options, can't display tabular output", tableOptions)
  		}
  	}
  	return c.TableGenerator.GenerateTable(obj, printers.PrintOptions{Wide: true, NoHeaders: noHeaders})
  }
docs: // ConvertToTable method - converts objects to metav1beta1.Table objects using TableGenerator