Versions in this module Expand all Collapse all v0 v0.4.0 Jun 23, 2016 v0.3.0 Mar 16, 2016 Changes in this version + func MakeTransport(config *KubeletClientConfig) (http.RoundTripper, error) + type ConnectionInfoGetter interface + GetConnectionInfo func(ctx api.Context, nodeName string) (scheme string, port uint, transport http.RoundTripper, err error) + type FakeKubeletClient struct + func (c FakeKubeletClient) GetConnectionInfo(ctx api.Context, nodeName string) (string, uint, http.RoundTripper, error) + type HTTPKubeletClient struct + Client *http.Client + Config *KubeletClientConfig + func (c *HTTPKubeletClient) GetConnectionInfo(ctx api.Context, nodeName string) (string, uint, http.RoundTripper, error) + type KubeletClient interface + func NewStaticKubeletClient(config *KubeletClientConfig) (KubeletClient, error) + type KubeletClientConfig struct + BearerToken string + Dial func(net, addr string) (net.Conn, error) + EnableHttps bool + HTTPTimeout time.Duration + Port uint