Add patch status to Node internalclientset

This commit is contained in:
saadali
2016-06-15 23:59:44 -07:00
parent e3e919ca20
commit 926bb4cca0
5 changed files with 86 additions and 2 deletions

View File

@@ -157,6 +157,11 @@ func (m *FakeNodeHandler) UpdateStatus(node *api.Node) (*api.Node, error) {
return node, nil
}
func (m *FakeNodeHandler) PatchStatus(nodeName string, data []byte) (*api.Node, error) {
m.RequestCount++
return &api.Node{}, nil
}
func (m *FakeNodeHandler) Watch(opts api.ListOptions) (watch.Interface, error) {
return nil, nil
}