Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewDeleteActionWithOptions (0.18 sec)

  1. pkg/controller/bootstrap/tokencleaner_test.go

    	addSecretExpiration(secret, timeString(-time.Hour))
    	secrets.Informer().GetIndexer().Add(secret)
    
    	cleaner.evalSecret(context.TODO(), secret)
    
    	expected := []core.Action{
    		core.NewDeleteActionWithOptions(
    			schema.GroupVersionResource{Version: "v1", Resource: "secrets"},
    			api.NamespaceSystem,
    			secret.ObjectMeta.Name,
    			metav1.DeleteOptions{
    				Preconditions: metav1.NewUIDPreconditions(string(secret.UID)),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/fake/fake_example.go

    // Delete takes name of the example and deletes it. Returns an error if one occurs.
    func (c *FakeExamples) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error {
    	_, err := c.Fake.
    		Invokes(testing.NewDeleteActionWithOptions(examplesResource, c.ns, name, opts), &v1.Example{})
    
    	return err
    }
    
    // DeleteCollection deletes a collection of objects.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top