Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for nss (0.25 sec)

  1. operator/cmd/mesh/operator_test.go

    	return extendedClient, kubeClient, nil
    }
    
    func TestOperatorInitDryRun(t *testing.T) {
    	tests := []struct {
    		operatorNamespace string
    		watchedNamespaces string
    	}{
    		{
    			// default nss
    			operatorNamespace: "",
    			watchedNamespaces: "",
    		},
    		{
    			operatorNamespace: "test",
    			watchedNamespaces: "test1",
    		},
    		{
    			operatorNamespace: "",
    			watchedNamespaces: "test4, test5",
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  2. istioctl/pkg/injector/injector-list_test.go

    	createNamespace := func(name string, labels map[string]string) *corev1.Namespace {
    		return &corev1.Namespace{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:   name,
    				Labels: labels,
    			},
    		}
    	}
    	nss := []runtime.Object{
    		createNamespace("default", nil),
    		createNamespace("kube-system", nil),
    		createNamespace("istio-system", nil),
    		createNamespace("ambient", map[string]string{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. istioctl/pkg/injector/injector-list.go

    			})
    			return printHooks(cmd.OutOrStdout(), nslist, hooks, injectedImages)
    		},
    	}
    
    	return cmd
    }
    
    func filterSystemNamespaces(nss []corev1.Namespace, istioNamespace string) []corev1.Namespace {
    	filtered := make([]corev1.Namespace, 0)
    	for _, ns := range nss {
    		if inject.IgnoredNamespaces.Contains(ns.Name) || ns.Name == istioNamespace {
    			continue
    		}
    		filtered = append(filtered, ns)
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top