Commit Graph

19 Commits

Author SHA1 Message Date
Brian Goff
cd42fdd7b8 Use strongerrors in provider implementations. (#403)
This ensures that we can catch certain types of errors from providers
and handle accordingly in the core. There is still more to do here to
improve that but this resolves an immediate need to know why a Delete
failed.

vic provider was not updated since I could not figure out where to get
this information.
2018-11-07 16:02:48 -08:00
Brian Goff
8091b089a2 Plumb context to providers 2018-09-13 13:49:26 -07:00
Robbie Zhang
b019ec5549 Bug Fixes (#329) 2018-08-27 11:53:59 -07:00
Eric Jadi
89921a08c1 Added clean exec functionality + ACI implementation - V2 (#244)
* Stubs and vkubelet changes

* added dependencies

* Azure provider exec implementation

* added missing dependencies

* added vkubelet imports

* added huawei exec stub

* Fixed exec tab functionality / stdin buffer length

* Removed unused import

* Added provider function GetPodFullName + ACI implementation

* Added error handling in ACI provider exec
2018-07-06 14:12:05 -07:00
Sam J Sharpe
922364ee5f Correct typo kuberentes->kubernetes (#58)
This seems to be a common typo, possibly exacerbated by copy-paste
of comment strings. I spotted it in the README.md at first, so I fixed
that and then checked the rest of the code and fixed a few more. They
are all in comments or documentation, so there's no code issue.

FYI, there's still some in the vendor directory, but I haven't fixed
those as they'd get replaced by any new `go get` I think:

$ ack uberentes
vendor/k8s.io/apimachinery/hack/godep-deps.sh
20:# 2. godep restore based on k8s.io/kuberentes provided manifest

vendor/k8s.io/client-go/CHANGELOG.md
120:* Included bug fixes in k8s.io/kuberentes release-1.5 branch, up to

vendor/k8s.io/client-go/kubernetes/fake/register.go
64://     clientsetscheme "k8s.io/client-go/kuberentes/scheme"

vendor/k8s.io/client-go/kubernetes/scheme/register.go
64://     clientsetscheme "k8s.io/client-go/kuberentes/scheme"

Sorry, this isn't the most exciting commit in the world :-(
2018-01-11 12:37:04 -08:00
Erik St. Martin
e050fea889 Merge pull request #21 from ritazh/feat-logs
Enable kubectl logs
2018-01-04 10:56:35 -05:00
Ara Pulido
8ba9150da2 If the hyper config file is not set, the AuthConfig should be empty 2017-12-28 12:38:28 +01:00
Jimmy Xu
eaba0f3b60 [hyper-provider] 1.support pull image with RegistryAuth 2.optimize code 2017-12-25 11:11:53 +08:00
Rita Zhang
43137d09f7 Use mux to handle req; get tail from req 2017-12-21 21:42:05 -08:00
Jimmy Xu
1b3d6eae82 [hyper-provider] 1. support pull image 2. improve containerJSONToPod() 2017-12-21 22:38:51 +08:00
Rita Zhang
04db926faa Set Status.DaemonEndpoints.KubeletEndpoint.Port to KUBELET_PORT 2017-12-20 19:13:56 -08:00
Jimmy Xu
fb34a8c990 [hyper-provider] 1.add doc 2.support read hyper config file 2017-12-20 17:44:53 +08:00
Jimmy Xu
785d223eee [hyper-provider] 1.fix start container 2.support DeletePod 2017-12-20 10:38:29 +08:00
Jimmy Xu
e588029086 [hyper-provider] fix for HostPort is 0 2017-12-18 17:14:39 +08:00
Jimmy Xu
b870ac2eaa [hyper-provider] 1.fix hyper.NewClient 2.add instanceType 3.fix incrementRefCounters and decrementRefCounters 2017-12-17 22:51:24 +08:00
Rita Zhang
732ee66d87 Update hypersh provider 2017-12-15 17:25:19 -08:00
Rita Zhang
e0c9da5d95 Enable kubectl logs po 2017-12-15 17:25:18 -08:00
Erik St. Martin
0dadbd7898 Prefix ACI container groups with namespace name, also fix for container ports in ACI provider 2017-12-05 17:54:07 -06:00
Ria Bhatia
0075e5b0f3 Initial commit 2017-12-05 17:53:58 -06:00