Add an api object for the kubelet, and a versioned endpoint.

This commit is contained in:
Brendan Burns
2014-12-12 15:00:48 -08:00
parent 7cf0c4d7d7
commit d4b9979382
16 changed files with 122 additions and 44 deletions

View File

@@ -62,7 +62,7 @@ var (
type fakeKubeletClient struct{}
func (fakeKubeletClient) GetPodInfo(host, podNamespace, podID string) (api.PodInfo, error) {
func (fakeKubeletClient) GetPodInfo(host, podNamespace, podID string) (api.PodContainerInfo, error) {
// This is a horrible hack to get around the fact that we can't provide
// different port numbers per kubelet...
var c client.PodInfoGetter