Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for dryRun (0.19 sec)

  1. cni/pkg/plugin/plugin_dryrun_test.go

    Ben Leggett <******@****.***> 1707525115 -0500
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  2. operator/cmd/mesh/root.go

    )
    
    type RootArgs struct {
    	// 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.")
    }
    
    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)
  3. operator/cmd/mesh/manifest-generate.go

    func RenderToDir(manifests name.ManifestMap, outputDir string, dryRun bool, l clog.Logger) error {
    	l.LogAndPrintf("Component dependencies tree: \n%s", helmreconciler.InstallTreeString())
    	l.LogAndPrintf("Rendering manifests to output dir %s", outputDir)
    	return renderRecursive(manifests, helmreconciler.InstallTree, outputDir, dryRun, l)
    }
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  4. operator/cmd/mesh/operator-init.go

    	}
    
    	installerScope.Debugf("Installing operator charts with the following values:\n%s", vals)
    	installerScope.Debugf("Using the following manifest to install operator:\n%s\n", mstr)
    
    	opts := &applyOptions{
    		DryRun: args.DryRun,
    	}
    
    	// If CR was passed, we must create a namespace for it and install CR into it.
    	customResource, istioNamespace, err := getCRAndNamespaceFromFile(oiArgs.inFilename, l)
    	if err != nil {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. tests/sql_builder_test.go

    		t.Errorf("The first join condition is over written instead of combining")
    	}
    }
    
    func TestToSQL(t *testing.T) {
    	// By default DB.DryRun should false
    	if DB.DryRun {
    		t.Fatal("Failed expect DB.DryRun to be false")
    	}
    
    	if DB.Dialector.Name() == "sqlserver" {
    		t.Skip("Skip SQL Server for this test, because it too difference with other dialects.")
    	}
    
    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)
  6. operator/cmd/mesh/install.go

    	if err := InstallManifests(iop, iArgs.Force, rootArgs.DryRun, kubeClient, client, iArgs.ReadinessTimeout, l); err != nil {
    		return fmt.Errorf("failed to install manifests: %v", err)
    	}
    	opts := &helmreconciler.ProcessDefaultWebhookOptions{
    		Namespace: ns,
    		DryRun:    rootArgs.DryRun,
    	}
    	if processed, err := helmreconciler.ProcessDefaultWebhook(kubeClient, iop, exists, opts); err != nil {
    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)
  7. operator/cmd/mesh/shared.go

    type applyOptions struct {
    	// Path to the kubeconfig file.
    	Kubeconfig string
    	// ComponentName of the kubeconfig context to use.
    	Context string
    	// DryRun performs all steps except actually applying the manifests or creating output dirs/files.
    	DryRun bool
    	// Maximum amount of time to wait for resources to be ready after install when Wait=true.
    	WaitTimeout time.Duration
    }
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. gorm.go

    	FullSaveAssociations bool
    	// Logger
    	Logger logger.Interface
    	// NowFunc the function to be used when creating a new timestamp
    	NowFunc func() time.Time
    	// DryRun generate sql without execute
    	DryRun bool
    	// PrepareStmt executes the given query in cached statement
    	PrepareStmt bool
    	// DisableAutomaticPing
    	DisableAutomaticPing bool
    	// DisableForeignKeyConstraintWhenMigrating
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  9. operator/cmd/mesh/operator-remove.go

    		iop, err = translate.IOPStoIOP(emptyiops, "", "")
    		if err != nil {
    			l.LogAndFatal(err)
    		}
    	}
    	reconciler, err := helmreconciler.NewHelmReconciler(client, kubeClient, iop, &helmreconciler.Options{DryRun: args.DryRun, Log: l})
    	if err != nil {
    		l.LogAndFatal(err)
    	}
    	rs, err := reconciler.GetPrunedResources(orArgs.revision, false, string(name.IstioOperatorComponentName))
    	if err != nil {
    		l.LogAndFatal(err)
    	}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  10. cmd/erasure-healing.go

    func (er *erasureObjects) healObject(ctx context.Context, bucket string, object string, versionID string, opts madmin.HealOpts) (result madmin.HealResultItem, err error) {
    	dryRun := opts.DryRun
    	scanMode := opts.ScanMode
    
    	storageDisks := er.getDisks()
    	storageEndpoints := er.getEndpoints()
    
    	defer func() {
    		auditHealObject(ctx, bucket, object, versionID, result, err)
    	}()
    
    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)
Back to top