fix up event client for namespaces

This commit is contained in:
Daniel Smith
2014-11-13 19:09:03 -08:00
parent d153b98544
commit 3cf022786e
7 changed files with 133 additions and 24 deletions

View File

@@ -33,7 +33,7 @@ type Interface interface {
EndpointsNamespacer
VersionInterface
MinionsInterface
EventsInterface
EventNamespacer
}
func (c *Client) ReplicationControllers(namespace string) ReplicationControllerInterface {
@@ -44,8 +44,8 @@ func (c *Client) Minions() MinionInterface {
return newMinions(c)
}
func (c *Client) Events() EventInterface {
return newEvents(c)
func (c *Client) Events(namespace string) EventInterface {
return newEvents(c, namespace)
}
func (c *Client) Endpoints(namespace string) EndpointsInterface {