mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 05:01:46 +00:00
fix up event client for namespaces
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user