Add pod/attach to the APIServer.

This commit is contained in:
Brendan Burns
2015-07-28 15:56:27 -07:00
parent 452bdcae2d
commit e8e756a719
12 changed files with 341 additions and 18 deletions

View File

@@ -470,6 +470,7 @@ func (m *Master) init(c *Config) {
// TODO: Factor out the core API registration
m.storage = map[string]rest.Storage{
"pods": podStorage.Pod,
"pods/attach": podStorage.Attach,
"pods/status": podStorage.Status,
"pods/log": podStorage.Log,
"pods/exec": podStorage.Exec,