Jeff Grafton
64bd79fad7
Convert go_binary linkstamp to x_defs
2017-06-08 14:59:55 -07:00
Jeffrey Regan
7abff879d7
Introduce visibility rules to kubernetes code.
...
**What this PR does / why we need it**:
Visibility rules allow dependency control. The rules currently in
place make all targets public, to override the default state of
private. This PR removes public visibility from kubectl code. It
uses specially named pacakge groups to identify "bad" dependencies on
kubectl code for later refactoring or removal.
**Which issue this PR fixes**
First in a series of PRs to address kubernetes/community#598
**Release note**:
```release-note
NONE
```
2017-05-15 12:50:56 -07:00
Mike Danese
3757e8bb5c
bazel: statically link dockerized components
...
and remove libc from docker images when it's not needed.
2017-04-14 15:51:54 -07:00
Mike Danese
a05c3c0efd
autogenerated
2017-04-14 10:40:57 -07:00
Mike Danese
ba5c2855b3
bazel: implement git build stamping
2017-04-05 11:47:39 -07:00
Eric Chiang
163f37f775
*: update codegen and bazel
2017-02-21 09:26:03 -08:00
Eric Chiang
58dde796ec
client-go: don't import client auth provider packages
2017-02-21 09:26:03 -08:00
grodrigues3
61e9454883
Revert "update kubectl approvers"
2017-01-25 17:32:22 -08:00
deads2k
ce17351ca6
update kubectl approvers
2017-01-25 09:39:23 -05:00
Jeff Grafton
20d221f75c
Enable auto-generating sources rules
2017-01-05 14:14:13 -08:00
Mike Danese
161c391f44
autogenerated
2016-12-29 13:04:10 -08:00
Mike Danese
c87de85347
autoupdate BUILD files
2016-12-12 13:30:07 -08:00
Antoine Pelisse
91393b5123
Move pkg/kubectl reviewers into an alias
2016-10-28 14:54:17 -07:00
Mike Danese
3b6a067afc
autogenerated
2016-10-21 17:32:32 -07:00
Kris
1740358573
Split the version metric out to its own package
2016-08-24 11:47:16 -07:00
Kris
8d6ce0dcc6
Remove implicit Prometheus metrics from client
2016-08-19 10:11:45 -07:00
bindata-mockuser
e07e65d411
Setup logging in kubectl via pkg/util/logs
...
pkg/util/logs.go got its own package in a771578a1c
, but it was not
imported in the kubelet anymore such that its init() func
did not run setting logtostderr to true by default.
2016-08-11 12:19:19 +02:00
k8s-merge-robot
1cf3f1cf03
Merge pull request #29237 from ncdc/fixup-windows-term
...
Automatic merge from submit-queue
Fix Windows terminal handling
Fix some issues with Windows terminal handling with respect to TTYs that came up as part of the
code that adds support for terminal resizing.
cc @smarterclayton @sttts @csrwng
2016-07-21 07:24:13 -07:00
Andy Goldstein
77b0547b3d
Fix Windows terminal handling
...
Fix some issues with Windows terminal handling with respect to TTYs that came up as part of the
code that adds support for terminal resizing.
2016-07-20 13:37:14 -04:00
Lucas Käldström
88ea80b572
Remove GOMAXPROCS() calls because they are unnecessary
2016-07-19 11:08:21 +03:00
Andy Goldstein
3b21a9901b
Support terminal resizing for exec/attach/run
...
Add support for terminal resizing for exec, attach, and run. Note that for Docker, exec sessions
inherit the environment from the primary process, so if the container was created with tty=false,
that means the exec session's TERM variable will default to "dumb". Users can override this by
setting TERM=xterm (or whatever is appropriate) to get the correct "smart" terminal behavior.
2016-07-13 17:06:16 -04:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Colin Hom
fd1771e7ae
Fix hyperkube flag parsing
...
hyperkube kubectl cobra subcommands now work as expected.
Add unit tests with hyperkube subcommands
2016-05-13 15:41:22 -07:00
Brendan Burns
19c582c2b1
Add kubectl to the hyperkube binary
2015-11-12 22:18:16 -08:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
deads2k
6344cf3c3a
refactor to move kubectl.cmd.Factory to kubect/cmd/util
2015-04-07 14:43:50 -04:00
Andy Goldstein
5bd0e9ab05
Add streaming command execution & port forwarding
...
Add streaming command execution & port forwarding via HTTP connection
upgrades (currently using SPDY).
2015-02-20 09:57:02 -05:00
Daniel Smith
fcddefa184
Set GOMAXPROCS. Print errors on stderr.
2015-02-19 10:30:31 -08:00
deads2k
500bb3a7fa
make kubectl factory flag binding optional
2015-01-20 18:12:24 -05:00
Clayton Coleman
831557408b
kubectl is double printing errors
...
cobra/command prints errs that are returned by cmd.Execute(), so
printing it twice does not accomplish anything.
2015-01-14 20:11:51 -05:00
Clayton Coleman
8a4f225941
Make expandResourceShortcuts part of RESTMapper on client
2015-01-09 11:59:11 -05:00
deads2k
480635bb72
Revert "Revert "add kubeconfig types""
...
This reverts commit 02dbad7094
.
2015-01-08 09:42:30 -05:00
Brendan Burns
02dbad7094
Revert "add kubeconfig types"
2015-01-07 12:39:37 -08:00
deads2k
0e688dc271
add kubeconfig file
2015-01-07 13:09:10 -05:00
deads2k
2dbfb80349
add utility for binding flags and building api server clients
2014-11-26 07:50:51 -05:00
Clayton Coleman
09cfa364c5
Refactor Get and Describe to allow extension of types
...
Get should use ResourceMapper, allow Printer to be abstracted,
and extract Describe as *Describer types.
2014-11-04 10:44:56 -05:00
Sam Ghods
4b220f8b0a
kubectl: kubecfg rewrite for better modularity and improved UX
2014-10-15 15:29:54 -07:00