Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 156 for Dialer (0.12 sec)

  1. cluster/addons/README.md

    leave `resources` for container unset for Vertical Scaling. The periodic reconcile
    won't clobbered these fields, hence they could be managed by Horizontal / Vertical
    Auto-scaler.
    
    ## Add-on naming
    
    The suggested naming for most of the resources is `<basename>` (with no version number).
    Though resources like `Pod`, `ReplicationController` and `DaemonSet` are exceptional.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 13 20:03:37 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  2. pkg/test/framework/components/gcemetadata/gcemetadata.go

    func New(ctx resource.Context, c Config) (i Instance, err error) {
    	return newKube(ctx, c)
    }
    
    // NewOrFail returns a new GCE Metadata Server instance or fails test.
    func NewOrFail(t test.Failer, ctx resource.Context, c Config) Instance {
    	t.Helper()
    	i, err := New(ctx, c)
    	if err != nil {
    		t.Fatalf("gcemetadata.NewOrFail: %v", err)
    	}
    
    	return i
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 22:47:52 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. pkg/test/util/tmpl/parse.go

    func Parse(tpl string) (*template.Template, error) {
    	t := template.New("test template")
    	return t.Funcs(sprig.TxtFuncMap()).Parse(tpl)
    }
    
    // ParseOrFail calls Parse and fails tests if it returns error.
    func ParseOrFail(t test.Failer, tpl string) *template.Template {
    	t.Helper()
    	tpl2, err := Parse(tpl)
    	if err != nil {
    		t.Fatalf("tmpl.ParseOrFail: %v", err)
    	}
    	return tpl2
    }
    
    // MustParse calls Parse and panics if it returns error.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 01 05:55:48 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. pkg/test/framework/components/registryredirector/registryredirector.go

    func New(ctx resource.Context, c Config) (i Instance, err error) {
    	return newKube(ctx, c)
    }
    
    // NewOrFail returns a new registry redirector instance or fails test.
    func NewOrFail(t test.Failer, ctx resource.Context, c Config) Instance {
    	t.Helper()
    	i, err := New(ctx, c)
    	if err != nil {
    		t.Fatalf("registryredirector.NewOrFail: %v", err)
    	}
    
    	return i
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 12 04:46:04 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. tests/fuzz/utils/utils.go

    func (n NopTester) TempDir() string {
    	tempDir, _ := os.MkdirTemp("", "test")
    	return tempDir
    }
    
    func (n NopTester) Helper() {}
    
    func (n NopTester) Cleanup(f func()) {}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 30 15:31:14 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  6. pkg/test/json.go

    // design decisions https://github.com/golang/protobuf/issues/1373 Instead, use this function to
    // normalize the formatting
    func JSONEquals(t Failer, a, b string) {
    	t.Helper()
    	ba := bytes.Buffer{}
    	if err := json.Compact(&ba, []byte(a)); err != nil {
    		t.Fatal(err)
    	}
    	bb := bytes.Buffer{}
    	if err := json.Compact(&bb, []byte(b)); err != nil {
    		t.Fatal(err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 19 21:53:59 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  7. pkg/test/profile/fgprof.go

    // CPU profile, as it includes both IO blocking and CPU usage in one profile, giving a full view of
    // the application.
    func FullProfile(t test.Failer) {
    	if fprof == "" {
    		return
    	}
    	f, err := os.Create(fprof)
    	if err != nil {
    		t.Fatalf("%v", err)
    	}
    	stop := fgprof.Start(f, fgprof.FormatPprof)
    
    	t.Cleanup(func() {
    		if err := stop(); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 21 21:50:09 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  8. pkg/test/framework/components/namespace/namespace.go

    	cfg.overwriteRevisionIfEmpty(ctx.Settings().Revisions.Default())
    	return claimKube(ctx, cfg)
    }
    
    // ClaimOrFail calls Claim and fails test if it returns error
    func ClaimOrFail(t test.Failer, ctx resource.Context, name string) Instance {
    	t.Helper()
    	nsCfg := Config{
    		Prefix: name,
    		Inject: true,
    	}
    	i, err := Claim(ctx, nsCfg)
    	if err != nil {
    		t.Fatalf("namespace.ClaimOrFail:: %v", err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 18:12:14 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. pkg/test/framework/components/prometheus/prometheus.go

    // New returns a new instance of prometheus.
    func New(ctx resource.Context, c Config) (i Instance, err error) {
    	return newKube(ctx, c)
    }
    
    // NewOrFail returns a new Prometheus instance or fails test.
    func NewOrFail(t test.Failer, ctx resource.Context, c Config) Instance {
    	t.Helper()
    	i, err := New(ctx, c)
    	if err != nil {
    		t.Fatalf("prometheus.NewOrFail: %v", err)
    	}
    
    	return i
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 02 02:57:50 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. pkg/test/util/retry/retry.go

    		}
    
    		return nil, true, nil
    	}, options...)
    
    	return e
    }
    
    // UntilSuccessOrFail calls UntilSuccess, and fails t with Fatalf if it ends up returning an error
    func UntilSuccessOrFail(t test.Failer, fn func() error, options ...Option) {
    	t.Helper()
    	err := UntilSuccess(fn, options...)
    	if err != nil {
    		t.Fatalf("retry.UntilSuccessOrFail: %v", err)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top