k3s/pkg/printers
Kubernetes Submit Queue bd28e6d0ea
Merge pull request #46951 from aanm/kubectl-describe-netpol
Automatic merge from submit-queue (batch tested with PRs 54761, 54748, 53991, 54485, 46951). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Enhanced the network policy describer.

**Which issue this PR fixes**: Fixes https://github.com/kubernetes/kubectl/issues/17

**Special notes for your reviewer**: I need help to set up the right clientset for the unt tests

@kubernetes/sig-network-pr-reviews 

ping @adohe 

As suggested in https://github.com/kubernetes/kubectl/issues/17 , the output is similar to:
```
Name:           access-backend
Namespace:      default
Created on:     2017-06-04 21:45:56 -0700 PDT
Labels:         <none>
Annotations:    <none>
Spec:
  Pod Selector:     foo in (bar1,bar2),foo2 notin (bar1,bar2),id=app1,id2=app3
  Allowing ingress traffic:
    To Port: 80/TCP
    To Port: 82/TCP
    From Pod Selector: id=app2,id2=app3
    From Namespace Selector: id=app2,id2=app3
    From Namespace Selector: foo in (bar1,bar2),id=app2,id2=app3
    ----------
    To Port: <any> (traffic allowed to all ports)
    From: <any> (traffic not restricted by source)
```
2017-10-30 15:38:36 -07:00
..
internalversion Merge pull request #46951 from aanm/kubectl-describe-netpol 2017-10-30 15:38:36 -07:00
storage update BUILD files 2017-10-15 18:18:13 -07:00
.import-restrictions Restrict imports for printers 2017-02-23 00:28:31 -05:00
BUILD fix issue(51245)kubectl printObj should not print header when occur error 2017-10-20 18:01:09 +08:00
OWNERS Add pkg/printers OWNERS 2017-03-07 22:28:27 -05:00
common.go Fixed a tiny issue for ShortHumanDuration printer. 2017-04-18 16:11:41 +08:00
customcolumn.go outputs <none> for colums not found 2017-09-27 11:27:55 -07:00
customcolumn_test.go pkg/api/legacyscheme: fixup imports 2017-10-18 17:23:55 +02:00
humanreadable.go fix issue(51245)kubectl printObj should not print header when occur error 2017-10-20 18:01:09 +08:00
humanreadable_test.go fix issue(51245)kubectl printObj should not print header when occur error 2017-10-20 18:01:09 +08: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