Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 82 for deleteOption (0.16 sec)

  1. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/action_string.go

    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[NoneAction-0]
    	_ = x[DeleteAction-1]
    	_ = x[DeleteVersionAction-2]
    	_ = x[TransitionAction-3]
    	_ = x[TransitionVersionAction-4]
    	_ = x[DeleteRestoredAction-5]
    	_ = x[DeleteRestoredVersionAction-6]
    	_ = x[DeleteAllVersionsAction-7]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/policy/v1/generated.proto

    message Eviction {
      // ObjectMeta describes the pod that is being evicted.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // DeleteOptions may be provided
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;
    }
    
    // PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
    message PodDisruptionBudget {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  5. cmd/storage-datatypes.go

    	"github.com/minio/minio/internal/grid"
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    //msgp:clearomitted
    
    //go:generate msgp -file=$GOFILE
    
    // DeleteOptions represents the disk level delete options available for the APIs
    type DeleteOptions struct {
    	BaseOptions
    	Recursive bool `msg:"r"`
    	Immediate bool `msg:"i"`
    	UndoWrite bool `msg:"u"`
    	// OldDataDir of the previous object
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. cmd/storage-rest-client.go

    		UpdateOpts: opts,
    		FI:         fi,
    	})
    	return toStorageErr(err)
    }
    
    func (client *storageRESTClient) DeleteVersion(ctx context.Context, volume, path string, fi FileInfo, forceDelMarker bool, opts DeleteOptions) (err error) {
    	ctx, cancel := context.WithTimeout(ctx, globalDriveConfig.GetMaxTimeout())
    	defer cancel()
    
    	_, err = storageDeleteVersionRPC.Call(ctx, client.gridConn, &DeleteVersionHandlerParams{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  7. cmd/xl-storage_windows_test.go

    			if err != nil && test.pass {
    				t.Error(err)
    			} else if err == nil && !test.pass {
    				t.Error(err)
    			}
    			fs.Delete(context.Background(), "voldir", test.objName, DeleteOptions{
    				Recursive: false,
    				Immediate: false,
    			})
    		})
    	}
    }
    
    // Test to validate xlStorage behavior on windows when a non-final path component is a file.
    func TestUNCPathENOTDIR(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/policy/v1beta1/generated.proto

    message Eviction {
      // ObjectMeta describes the pod that is being evicted.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // DeleteOptions may be provided
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;
    }
    
    // FSGroupStrategyOptions defines the strategy type and options used to create the strategy.
    message FSGroupStrategyOptions {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    			Recursive: false,
    			Immediate: false,
    		}); err != errFileAccessDenied {
    			t.Errorf("expected: %s, got: %s", errFileAccessDenied, err)
    		}
    	}
    
    	// TestXLStorage for delete on an removed disk.
    	// should fail with disk not found.
    	err = xlStorageDeletedStorage.Delete(context.Background(), "del-vol", "my-file", DeleteOptions{
    		Recursive: false,
    		Immediate: false,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  10. istioctl/pkg/tag/util.go

    	if err != nil {
    		return err
    	}
    	var result error
    	for _, wh := range webhooks {
    		result = multierror.Append(result, client.AdmissionregistrationV1().MutatingWebhookConfigurations().Delete(ctx, wh.Name, metav1.DeleteOptions{})).ErrorOrNil()
    	}
    	return result
    }
    
    // PreviousInstallExists checks whether there is an existing Istio installation. Should be used in installer when deciding
    // whether to make an installation the default.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top