Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestController (0.13 sec)

  1. pilot/pkg/serviceregistry/kube/controller/endpoint_builder_test.go

    	cases := []struct {
    		name      string
    		ctl       testController
    		podLabels labels.Instance
    		expected  labels.Instance
    	}{
    		{
    			name:      "empty",
    			ctl:       testController{},
    			podLabels: nil,
    			expected:  labels.Instance{},
    		},
    		{
    			name: "region only",
    			ctl: testController{
    				locality: "myregion",
    			},
    			podLabels: labels.Instance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. pkg/kube/multicluster/secretcontroller_test.go

    	return kube.NewFakeClient(), nil
    }
    
    type testController struct {
    	controller *Controller
    	client     kube.Client
    	component  *Component[testHandler]
    	t          *testing.T
    	secrets    clienttest.TestWriter[*v1.Secret]
    }
    
    func buildTestController(t *testing.T, synced bool) testController {
    	tc := testController{
    		client: kube.NewFakeClient(),
    		t:      t,
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/controller/controller_test.go

    	"k8s.io/client-go/util/workqueue"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	"k8s.io/component-base/metrics/legacyregistry"
    	"k8s.io/component-base/metrics/testutil"
    )
    
    func TestController(t *testing.T) {
    	origMinKMSPluginCloseGracePeriod := minKMSPluginCloseGracePeriod
    	t.Cleanup(func() { minKMSPluginCloseGracePeriod = origMinKMSPluginCloseGracePeriod })
    	minKMSPluginCloseGracePeriod = 300 * time.Millisecond
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. tests/integration/operator/switch_cr_test.go

    	// ManifestPathContainer is path of manifests in the operator container for controller to work with.
    	ManifestPathContainer = "/var/lib/istio/manifests"
    	iopCRFile             = ""
    )
    
    func TestController(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{})
    			workDir, err := t.CreateTmpDirectory("operator-controller-test")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top