k3s/pkg/printers
Kubernetes Submit Queue 89a1ce2c1f Merge pull request #48807 from jsafrane/fc-describe
Automatic merge from submit-queue (batch tested with PRs 46094, 48544, 48807, 49102, 44174)

Implement kubectl describe <fibre-channel PV>

kubectl did not show any details about Fibre Channel volumes, someone just forgot to implement it.

Tested with:

```shell
$ kubectl create -f - <<EOF
apiVersion: v1
kind: PersistentVolume
metadata:
  name: myfc
spec:
  capacity:
    storage: 100Gi
  accessModes:
    - ReadWriteOnce
  persistentVolumeReclaimPolicy: Delete
  fc:
       targetWWNs: ['500a0982991b8dc5', '500a0982891b8dc5']
       lun: 2
       fsType: ext4
       readOnly: true
EOF

$ kubectl describe pv myfc
Name:		myfc
Labels:		<none>
Annotations:	<none>
StorageClass:	
Status:		Available
Claim:		
Reclaim Policy:	Delete
Access Modes:	RWO
Capacity:	100Gi
Message:	
Source:
    Type:	FC (a Fibre Channel disk)
    TargetWWNs:	500a0982991b8dc5, 500a0982891b8dc5
    LUN:	2
    FSType:	ext4
    ReadOnly:	true
Events:		<none>
```

```release-note
NONE
```
@kubernetes/sig-cli-pr-reviews
2017-07-18 11:20:54 -07:00
..
internalversion Merge pull request #48807 from jsafrane/fc-describe 2017-07-18 11:20:54 -07:00
storage Refactor printers to support rendering as a Table 2017-05-29 18:30:10 -04:00
.import-restrictions
BUILD Add a new default printer handler for HumanReadable 2017-07-05 00:31:41 -04:00
OWNERS
common.go Fixed a tiny issue for ShortHumanDuration printer. 2017-04-18 16:11:41 +08:00
customcolumn.go Get cmd uses print-column extn from Openapi schema 2017-06-06 13:30:24 -07:00
customcolumn_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
humanreadable.go Add a new default printer handler for HumanReadable 2017-07-05 00:31:41 -04:00
interface.go Get cmd uses print-column extn from Openapi schema 2017-06-06 13:30:24 -07:00
json.go Denote if a printer is generic. 2017-05-31 13:02:23 +05:30
jsonpath.go Denote if a printer is generic. 2017-05-31 13:02:23 +05:30
name.go Denote if a printer is generic. 2017-05-31 13:02:23 +05:30
printers.go remove duplicated word file in error 2017-07-14 18:01:51 +08:00
tabwriter.go
template.go Denote if a printer is generic. 2017-05-31 13:02:23 +05:30
versioned.go Denote if a printer is generic. 2017-05-31 13:02:23 +05:30