Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for deleteOption (0.14 sec)

  1. pkg/controller/podgc/gc_controller_test.go

    			var patchAction clienttesting.PatchAction
    			var deleteAction clienttesting.DeleteAction
    
    			for _, action := range actions {
    				if action.GetVerb() == "patch" {
    					patchAction = action.(clienttesting.PatchAction)
    				}
    
    				if action.GetVerb() == "delete" {
    					deleteAction = action.(clienttesting.DeleteAction)
    				}
    			}
    
    			if patchAction != nil && test.expectedPatchedPod == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  2. pkg/registry/core/pod/storage/eviction_test.go

    							t.Fatal(err)
    						}
    					})
    					deleteOptions = tc.makeDeleteOptions(createdObj.(*api.Pod))
    				} else {
    					deleteOptions = tc.makeDeleteOptions(nil)
    				}
    				if deleteOptions == nil {
    					deleteOptions = &metav1.DeleteOptions{}
    				}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (1)
  3. pkg/test/framework/components/istio/cleanup.go

    		if e := c.Kube().CoreV1().Secrets(i.cfg.SystemNamespace).DeleteCollection(
    			context.Background(), metav1.DeleteOptions{}, metav1.ListOptions{}); e != nil {
    			err = multierror.Append(err, e)
    		}
    		if e := c.Kube().CoreV1().ConfigMaps(i.cfg.SystemNamespace).DeleteCollection(
    			context.Background(), metav1.DeleteOptions{}, metav1.ListOptions{}); e != nil {
    			err = multierror.Append(err, e)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    			Spec:       example.PodSpec{NodeName: "machine"},
    		}
    	}
    	trueVar, falseVar := true, false
    	orphanOptions := &metav1.DeleteOptions{OrphanDependents: &trueVar}
    	nonOrphanOptions := &metav1.DeleteOptions{OrphanDependents: &falseVar}
    	nilOrphanOptions := &metav1.DeleteOptions{}
    
    	// defaultDeleteStrategy doesn't implement rest.GarbageCollectionDeleteStrategy.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  5. cmd/storage-interface.go

    	// Metadata operations
    	DeleteVersion(ctx context.Context, volume, path string, fi FileInfo, forceDelMarker bool, opts DeleteOptions) error
    	DeleteVersions(ctx context.Context, volume string, versions []FileInfoVersions, opts DeleteOptions) []error
    	WriteMetadata(ctx context.Context, origvolume, volume, path string, fi FileInfo) error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
    	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
    	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.CustomResourceDefinition, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    	Update(ctx context.Context, example *v1.Example, opts metav1.UpdateOptions) (*v1.Example, error)
    	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
    	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
    	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Example, error)
    	List(ctx context.Context, opts metav1.ListOptions) (*v1.ExampleList, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
    	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
    	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.CustomResourceDefinition, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. cmd/naughty-disk_test.go

    }
    
    func (d *naughtyDisk) Delete(ctx context.Context, volume string, path string, deleteOpts DeleteOptions) (err error) {
    	if err := d.calcError(); err != nil {
    		return err
    	}
    	return d.disk.Delete(ctx, volume, path, deleteOpts)
    }
    
    func (d *naughtyDisk) DeleteVersions(ctx context.Context, volume string, versions []FileInfoVersions, opts DeleteOptions) []error {
    	if err := d.calcError(); err != nil {
    		errs := make([]error, len(versions))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. cmd/erasure-healing_test.go

    			t.Fatalf("Failed to getLatestFileInfo - %v", err)
    		}
    
    		for i := 0; i < nfi.Erasure.ParityBlocks; i++ {
    			erasureDisks[i].Delete(context.Background(), bucket, pathJoin(object, xlStorageFormatFile), DeleteOptions{
    				Recursive: false,
    				Immediate: false,
    			})
    		}
    
    		// Try healing now, it should heal the content properly.
    		_, err = objLayer.HealObject(ctx, bucket, object, "", hopts)
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
Back to top