Fix client structs to be package private

This commit is contained in:
derekwaynecarr
2014-10-24 11:45:16 -04:00
parent ce30b2657a
commit b7be298f54
7 changed files with 66 additions and 66 deletions

View File

@@ -36,27 +36,27 @@ type Interface interface {
}
func (c *Client) ReplicationControllers(namespace string) ReplicationControllerInterface {
return NewReplicationControllersClient(c, namespace)
return newReplicationControllers(c, namespace)
}
func (c *Client) Minions() MinionInterface {
return NewMinionsClient(c)
return newMinions(c)
}
func (c *Client) Events() EventInterface {
return NewEventsClient(c)
return newEvents(c)
}
func (c *Client) Endpoints(namespace string) EndpointsInterface {
return NewEndpointsClient(c, namespace)
return newEndpoints(c, namespace)
}
func (c *Client) Pods(namespace string) PodInterface {
return NewPodsClient(c, namespace)
return newPods(c, namespace)
}
func (c *Client) Services(namespace string) ServiceInterface {
return NewServicesClient(c, namespace)
return newServices(c, namespace)
}
// VersionInterface has a method to retrieve the server version.