Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 156 for Dialer (0.16 sec)

  1. pkg/test/framework/components/echo/match/matchers_test.go

    func (f fakeInstance) Addresses() []string {
    	panic("implement me")
    }
    
    func (f fakeInstance) Workloads() (echo.Workloads, error) {
    	panic("implement me")
    }
    
    func (f fakeInstance) WorkloadsOrFail(test.Failer) echo.Workloads {
    	panic("implement me")
    }
    
    func (f fakeInstance) MustWorkloads() echo.Workloads {
    	panic("implement me")
    }
    
    func (f fakeInstance) Clusters() cluster.Clusters {
    	panic("implement me")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. pkg/monitoring/monitortest/test.go

    		return nil, err
    	}
    	return reg, nil
    })
    
    func TestRegistry(t test.Failer) prometheus.Gatherer {
    	r, err := reg.Get()
    	if err != nil {
    		t.Fatal(err)
    	}
    	return r
    }
    
    func New(t test.Failer) *MetricsTest {
    	r := TestRegistry(t)
    	mt := &MetricsTest{t: t, reg: r, deltas: computeDeltas(t, r)}
    	return mt
    }
    
    func computeDeltas(t test.Failer, reg prometheus.Gatherer) map[metricKey]float64 {
    	res := map[metricKey]float64{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 13 16:04:48 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. pkg/test/framework/config.go

    					c.StableName(), err, s))
    			}
    		}
    	}
    	return outErr
    }
    
    func (c *configFactory) WaitForConfigOrFail(ctx resource.Context, t test.Failer, ns string, yamlText ...string) {
    	err := c.WaitForConfig(ctx, ns, yamlText...)
    	if err != nil {
    		// TODO(https://github.com/istio/istio/issues/37148) fail hard in this case
    		t.Log(err)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue44688.go

    // license that can be found in the LICENSE file.
    
    package P
    
    type A1[T any] struct{}
    
    func (*A1[T]) m1(T) {}
    
    type A2[T any] interface {
    	m2(T)
    }
    
    type B1[T any] struct {
    	filler int
    	*A1[T]
    	A2[T]
    }
    
    type B2[T any] interface {
    	A2[T]
    }
    
    type C[T any] struct {
    	filler1 int
    	filler2 int
    	B1[T]
    }
    
    type D[T any] struct {
    	filler1 int
    	filler2 int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 1K bytes
    - Viewed (0)
  5. pkg/revisions/default_watcher_test.go

    		TypeMeta: metav1.TypeMeta{},
    		ObjectMeta: metav1.ObjectMeta{
    			Name: defaultTagWebhookName,
    			Labels: map[string]string{
    				label.IoIstioRev.Name: revision,
    			},
    		},
    	}
    }
    
    func expectRevision(t test.Failer, watcher DefaultWatcher, expected string) {
    	t.Helper()
    	retry.UntilSuccessOrFail(t, func() error {
    		got := watcher.GetDefault()
    		if got != expected {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 23 17:46:59 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. pkg/test/framework/components/echo/util/traffic/generator.go

    func NewGenerator(t test.Failer, cfg Config) Generator {
    	fillInDefaults(&cfg)
    	return &generator{
    		Config:  cfg,
    		t:       t,
    		stop:    make(chan struct{}),
    		stopped: make(chan struct{}),
    	}
    }
    
    var _ Generator = &generator{}
    
    type generator struct {
    	Config
    	t       test.Failer
    	result  Result
    	stop    chan struct{}
    	stopped chan struct{}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 22:50:35 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  7. pkg/test/util/yml/file.go

    	WriteYAML(filenamePrefix string, contents ...string) ([]string, error)
    
    	// WriteYAMLOrFail calls WriteYAML and fails the test if an error occurs.
    	WriteYAMLOrFail(t test.Failer, filenamePrefix string, contents ...string) []string
    }
    
    type writerImpl struct {
    	workDir string
    }
    
    // NewFileWriter creates a new FileWriter that stores files under workDir.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 07 14:33:54 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. pkg/ptr/pointer_test.go

    package ptr
    
    import (
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	"istio.io/istio/pkg/test"
    )
    
    // Cannot use assert.assertEqual due to import loop
    func assertEqual[T any](t test.Failer, a, b T) {
    	t.Helper()
    	if !cmp.Equal(a, b) {
    		t.Fatalf("Left: %v\nRight: %v", a, b)
    	}
    }
    
    func TestEmpty(t *testing.T) {
    	type ts struct{}
    	assertEqual(t, Empty[string](), "")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 23:31:08 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/caller.go

    	From      Caller
    	Opts      CallOptions
    	Responses echo.Responses
    }
    
    type Caller interface {
    	// Call from this Instance to a target Instance.
    	Call(options CallOptions) (CallResult, error)
    	CallOrFail(t test.Failer, options CallOptions) CallResult
    }
    
    type Callers []Caller
    
    // Instances returns an Instances if all callers are Instance, otherwise returns nil.
    func (c Callers) Instances() Instances {
    	var out Instances
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 22:50:35 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  10. pkg/test/util/tmpl/execute.go

    	if err := t.Execute(&b, data); err != nil {
    		return "", err
    	}
    
    	return b.String(), nil
    }
    
    // ExecuteOrFail calls Execute and fails the test if it returns an error.
    func ExecuteOrFail(t test.Failer, t2 *template.Template, data any) string {
    	t.Helper()
    	s, err := Execute(t2, data)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return s
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top