Add a limit range resource

This commit is contained in:
derekwaynecarr
2015-01-22 16:52:40 -05:00
parent 358ace610d
commit 091cbe5fa2
26 changed files with 1208 additions and 16 deletions

View File

@@ -37,6 +37,7 @@ type Interface interface {
VersionInterface
NodesInterface
EventNamespacer
LimitRangesNamespacer
}
func (c *Client) ReplicationControllers(namespace string) ReplicationControllerInterface {
@@ -63,6 +64,10 @@ func (c *Client) Services(namespace string) ServiceInterface {
return newServices(c, namespace)
}
func (c *Client) LimitRanges(namespace string) LimitRangeInterface {
return newLimitRanges(c, namespace)
}
// VersionInterface has a method to retrieve the server version.
type VersionInterface interface {
ServerVersion() (*version.Info, error)