Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CreateTmpDirectory (0.45 sec)

  1. pkg/test/framework/components/istio/cleanup.go

    		f.Close()
    	}
    	return nil
    }
    
    func (i *istioImpl) Dump(ctx resource.Context) {
    	scopes.Framework.Errorf("=== Dumping Istio Deployment State for %v...", ctx.ID())
    	ns := i.cfg.SystemNamespace
    	d, err := ctx.CreateTmpDirectory("istio-state")
    	if err != nil {
    		scopes.Framework.Errorf("Unable to create directory for dumping Istio contents: %v", err)
    		return
    	}
    	g := errgroup.Group{}
    	g.Go(func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. tests/integration/helm/install_test.go

    	check func(t framework.TestContext), revision string,
    ) func(t framework.TestContext) {
    	return func(t framework.TestContext) {
    		workDir, err := t.CreateTmpDirectory("helm-install-test")
    		if err != nil {
    			t.Fatal("failed to create test directory")
    		}
    		cs := t.Clusters().Default().(*kubecluster.Cluster)
    		h := helm.New(cs.Filename())
    		s := t.Settings()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. pkg/test/framework/components/namespace/kube.go

    		scopes.Framework.Debugf("=== Skip dumping Namespace %s State for %v...", n.name, ctx.ID())
    		return
    	}
    	scopes.Framework.Errorf("=== Dumping Namespace %s State for %v...", n.name, ctx.ID())
    
    	d, err := ctx.CreateTmpDirectory(n.name + "-state")
    	if err != nil {
    		scopes.Framework.Errorf("Unable to create directory for dumping %s contents: %v", n.name, err)
    		return
    	}
    
    	kube2.DumpPods(n.ctx, d, n.name, []string{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. tests/integration/security/ca_custom_root/main_test.go

    			serverNakedFooAlt = apps.EchoNamespace.All[index]
    		}
    	}
    	return nil
    }
    
    func SetupApps(ctx resource.Context, customNs namespace.Getter, customCfg *[]echo.Config) error {
    	tmpdir, err := ctx.CreateTmpDirectory("ca-custom-root")
    	if err != nil {
    		return err
    	}
    
    	// Create testing certs using runtime namespace.
    	err = generateCerts(tmpdir, customNs.Get().Name())
    	if err != nil {
    		return err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top