func (c *FakeDeployments) Rollback(deploymentRollback *v1beta1.DeploymentRollback) error { action := core.CreateActionImpl{} action.Verb = "create" action.Resource = deploymentsResource action.Subresource = "rollback" action.Object = deploymentRollback _, err := c.Fake.Invokes(action, deploymentRollback) return err }
func (c *FakeNamespaces) Finalize(namespace *api.Namespace) (*api.Namespace, error) { action := core.CreateActionImpl{} action.Verb = "create" action.Resource = namespacesResource action.Subresource = "finalize" action.Object = namespace obj, err := c.Fake.Invokes(action, namespace) if obj == nil { return nil, err } return obj.(*api.Namespace), err }