k3s/pkg/printers
Kubernetes Submit Queue 74c23bdf68 Merge pull request #41805 from aanm/adding-ipv6-brackets-in-kubectl-endpoint
Automatic merge from submit-queue

kubectl: Adding IPv6 brackets for IPv6 endpoints

This fixes the lack of IPv6 when printing the IP:Port tuple with kubectl
describe command.

Signed-off-by: André Martins <aanm90@gmail.com>

**What this PR does / why we need it**: This adds IPv6 brackets on IPv6 endpoints when using `kubectl describe service`

**Special notes for your reviewer**: Since the IP is a string I think the fastest way to detect if it's an IPv6 was to check for the presence of : in it. Let me know what you think.
2017-04-02 07:57:08 -07:00
..
internalversion Merge pull request #41805 from aanm/adding-ipv6-brackets-in-kubectl-endpoint 2017-04-02 07:57:08 -07:00
.import-restrictions Restrict imports for printers 2017-02-23 00:28:31 -05:00
BUILD generated: bazel 2017-02-23 00:28:32 -05:00
OWNERS Add pkg/printers OWNERS 2017-03-07 22:28:27 -05:00
common.go
customcolumn.go
customcolumn_test.go
humanreadable.go Fix error printing objects from kubectl get -w 2017-02-28 22:36:26 -05:00
interface.go
json.go
jsonpath.go
name.go NamePrinter should not hardcode scheme 2017-02-23 00:28:31 -05:00
printers.go
tabwriter.go
template.go
versioned.go