Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCreateRemoteKubeconfig (0.24 sec)

  1. istioctl/pkg/multicluster/remote_secret_test.go

    	for _, o := range objs {
    		if o.GetKind() == kind && o.GetName() == name {
    			obj = &o
    			break
    		}
    	}
    	if obj == nil {
    		t.Fatalf("expected %v/%v", name, kind)
    	}
    }
    
    func TestCreateRemoteKubeconfig(t *testing.T) {
    	fakeClusterName := "fake-clusterName-0"
    	kubeconfig := strings.ReplaceAll(`apiVersion: v1
    clusters:
    - cluster:
        certificate-authority-data: Y2FEYXRh
        server: https://1.2.3.4
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top