func (c *FakeDeployments) Rollback(deploymentRollback *v1beta1.DeploymentRollback) error { action := testing.CreateActionImpl{} action.Verb = "create" action.Resource = deploymentsResource action.Subresource = "rollback" action.Object = deploymentRollback _, err := c.Fake.Invokes(action, deploymentRollback) return err }
func (c *FakePods) Evict(eviction *policy.Eviction) error { action := testing.CreateActionImpl{} action.Verb = "create" action.Resource = podsResource action.Subresource = "eviction" action.Object = eviction _, err := c.Fake.Invokes(action, eviction) return err }
func (c *FakePods) Bind(binding *v1.Binding) error { action := testing.CreateActionImpl{} action.Verb = "create" action.Resource = podsResource action.Subresource = "bindings" action.Object = binding _, err := c.Fake.Invokes(action, binding) return err }
func (c *FakeNamespaces) Finalize(namespace *v1.Namespace) (*v1.Namespace, error) { action := testing.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.(*v1.Namespace), err }