func (c *FakePersistentVolumes) UpdateStatus(persistentVolume *api.PersistentVolume) (*api.PersistentVolume, error) { obj, err := c.Fake. Invokes(core.NewRootUpdateSubresourceAction("persistentvolumes", "status", persistentVolume), &api.PersistentVolume{}) if obj == nil { return nil, err } return obj.(*api.PersistentVolume), err }
func (c *FakeNamespaces) UpdateStatus(namespace *api.Namespace) (*api.Namespace, error) { obj, err := c.Fake. Invokes(core.NewRootUpdateSubresourceAction("namespaces", "status", namespace), &api.Namespace{}) if obj == nil { return nil, err } return obj.(*api.Namespace), err }