Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for dry (0.16 sec)

  1. cmd/peer-rest-common.go

    	peerRESTHost           = "host"
    	peerRESTJobID          = "job-id"
    	peerRESTDepID          = "depID"
    	peerRESTStartRebalance = "start-rebalance"
    	peerRESTMetrics        = "metrics"
    	peerRESTDryRun         = "dry-run"
    
    	peerRESTURL         = "url"
    	peerRESTSha256Sum   = "sha256sum"
    	peerRESTReleaseInfo = "releaseinfo"
    
    	peerRESTListenBucket = "bucket"
    	peerRESTListenPrefix = "prefix"
    	peerRESTListenSuffix = "suffix"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. errors.go

    	// ErrInvalidField invalid field
    	ErrInvalidField = errors.New("invalid field")
    	// ErrEmptySlice empty slice found
    	ErrEmptySlice = errors.New("empty slice found")
    	// ErrDryRunModeUnsupported dry run mode unsupported
    	ErrDryRunModeUnsupported = errors.New("dry run mode unsupported")
    	// ErrInvalidDB invalid db
    	ErrInvalidDB = errors.New("invalid db")
    	// ErrInvalidValue invalid value
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 02:53:17 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. cmd/peer-s3-server.go

    		Type:      madmin.HealItemBucket,
    		Bucket:    bucket,
    		DiskCount: len(localDrives),
    		SetCount:  -1, // explicitly set an invalid value -1, for bucket heal scenario
    	}
    
    	// mutate only if not a dry-run
    	if opts.DryRun {
    		return res, nil
    	}
    
    	for i := range beforeState {
    		res.Before.Drives = append(res.Before.Drives, madmin.HealDriveInfo{
    			UUID:     "",
    			Endpoint: localDrives[i].String(),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  4. operator/cmd/mesh/install.go

    	} else if processed {
    		p.Println("Made this installation the default for injection and validation.")
    	}
    
    	if iArgs.Verify {
    		if rootArgs.DryRun {
    			l.LogAndPrint("Control plane health check is not applicable in dry-run mode")
    			return nil
    		}
    		l.LogAndPrint("\n\nVerifying installation:")
    		installationVerifier, err := verifier.NewStatusVerifier(kubeClient, client, iop.Namespace, iArgs.ManifestsPath,
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    			bucket, object, versionID), err
    	}
    
    	if disksToHealCount == 0 {
    		// Nothing to heal!
    		return result, nil
    	}
    
    	// After this point, only have to repair data on disk - so
    	// return if it is a dry-run
    	if dryRun {
    		return result, nil
    	}
    
    	if !latestMeta.XLV1 && !latestMeta.Deleted && disksToHealCount > latestMeta.Erasure.ParityBlocks {
    		// Allow for dangling deletes, on versions that have DataDir missing etc.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  6. operator/cmd/mesh/profile-list_test.go

    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/env"
    )
    
    func TestProfileList(t *testing.T) {
    	g := NewWithT(t)
    	args := []string{"profile", "list", "--dry-run", "--manifests", filepath.Join(env.IstioSrc, "manifests")}
    
    	kubeClientFunc = func() (kube.CLIClient, error) {
    		return nil, nil
    	}
    	rootCmd := GetRootCmd(cli.NewFakeContext(&cli.NewFakeContextOption{
    		Version: "25",
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  7. operator/cmd/mesh/operator_test.go

    			watchedNamespaces: "test4, test5",
    		},
    	}
    
    	kubeClients = MockKubernetesClients
    
    	for _, test := range tests {
    		t.Run("", func(t *testing.T) {
    			args := []string{"operator", "init", "--dry-run"}
    			if test.operatorNamespace != "" {
    				args = append(args, "--operatorNamespace", test.operatorNamespace)
    			}
    			if test.watchedNamespaces != "" {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  8. tests/sql_builder_test.go

    	}
    	DB.Create(&users)
    
    	var user User
    	DB.Raw("select * from users WHERE id = ?", users[1].ID).First(&user)
    	CheckUser(t, user, *users[1])
    }
    
    func TestDryRun(t *testing.T) {
    	user := *GetUser("dry-run", Config{})
    
    	dryRunDB := DB.Session(&gorm.Session{DryRun: true})
    
    	stmt := dryRunDB.Create(&user).Statement
    	if stmt.SQL.String() == "" || len(stmt.Vars) != 9 {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrMethodNotAllowed), r.URL)
    		return
    	}
    
    	vars := mux.Vars(r)
    	updateURL := vars["updateURL"]
    	dryRun := r.Form.Get("dry-run") == "true"
    
    	mode := getMinioMode()
    	if updateURL == "" {
    		updateURL = minioReleaseInfoURL
    		if runtime.GOOS == globalWindowsOSName {
    			updateURL = minioReleaseWindowsInfoURL
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  10. operator/cmd/mesh/root.go

    	// DryRun performs all steps except actually applying the manifests or creating output dirs/files.
    	DryRun bool
    }
    
    func addFlags(cmd *cobra.Command, rootArgs *RootArgs) {
    	cmd.PersistentFlags().BoolVarP(&rootArgs.DryRun, "dry-run", "",
    		false, "Console/log output only, make no changes.")
    }
    
    // GetRootCmd returns the root of the cobra command-tree.
    func GetRootCmd(ctx cli.Context, args []string) *cobra.Command {
    	rootCmd := &cobra.Command{
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top