Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Clulow (0.42 sec)

  1. istioctl/pkg/util/configdump/cluster.go

    	clusterDump, err := w.GetClusterConfigDump()
    	if err != nil {
    		return nil, err
    	}
    	dac := clusterDump.GetDynamicActiveClusters()
    	// Allow sorting to work even if we don't have the exact same type
    	for i := range dac {
    		dac[i].Cluster.TypeUrl = v3.ClusterType
    	}
    	sort.Slice(dac, func(i, j int) bool {
    		cluster := &cluster.Cluster{}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin_test.go

    	pod.Spec.Containers = []corev1.Container{app}
    
    	testDoAddRun(t, cniConf, testNSName, pod, ns)
    
    	wasCalled := serverClose()
    	// Currently, we do not allow individual pod opt-in to ambient if namespace is not labeled, so pod
    	// shouls not be added to ambient
    	assert.Equal(t, wasCalled, false)
    }
    
    func TestCmdAddPodInExcludedNamespace(t *testing.T) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  3. istioctl/pkg/authz/authz_test.go

    			WantException:  true,
    		},
    		{
    			Args: []string{"-f", "testdata/configdump.yaml"},
    			ExpectedOutput: `ACTION   AuthorizationPolicy         RULES
    ALLOW    _anonymous_match_nothing_   1
    ALLOW    httpbin.default             1
    `,
    		},
    	}
    
    	authzCmd := checkCmd(cli.NewFakeContext(&cli.NewFakeContextOption{}))
    	for i, c := range cases {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jun 21 14:20:23 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  4. istioctl/cmd/root.go

    	baseName := filepath.Base(root.IstioConfig)
    	configType := filepath.Ext(root.IstioConfig)
    	configName := baseName[0 : len(baseName)-len(configType)]
    	if configType != "" {
    		configType = configType[1:]
    	}
    
    	// Allow users to override some variables through $HOME/.istioctl/config.yaml
    	// and environment variables.
    	viper.SetEnvPrefix("ISTIOCTL")
    	viper.AutomaticEnv()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. istioctl/pkg/multicluster/remote_secret.go

    		AuthPluginConfig: make(map[string]string),
    		Type:             SecretTypeRemote,
    	}
    	c := &cobra.Command{
    		Use:   "create-remote-secret",
    		Short: "Create a secret with credentials to allow Istio to access remote Kubernetes apiservers",
    		Example: `  # Create a secret to access cluster c0's apiserver and install it in cluster c1.
      istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 \
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  6. istioctl/pkg/authz/listener.go

    				}
    			}
    		}
    	}
    
    	buf := strings.Builder{}
    	buf.WriteString("ACTION\tAuthorizationPolicy\tRULES\n")
    	for _, action := range []rbacpb.RBAC_Action{rbacpb.RBAC_DENY, rbacpb.RBAC_ALLOW, rbacpb.RBAC_LOG} {
    		if names, ok := actionToPolicy[action]; ok {
    			sortedNames := make([]string, 0, len(names))
    			for name := range names {
    				sortedNames = append(sortedNames, name)
    			}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/tag.go

    	skipConfirmationFlagHelpStr = `The skipConfirmation determines whether the user is prompted for confirmation.
    If set to true, the user is not prompted and a Yes response is assumed in all cases.`
    	overrideHelpStr = `If true, allow revision tags to be overwritten, otherwise reject revision tag updates that
    overwrite existing revision tags.`
    	revisionHelpStr = "Control plane revision to reference from a given revision tag"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  8. istioctl/pkg/workload/workload_test.go

    				if !strings.Contains(output, noClusterID) {
    					t.Fatal(err)
    				}
    			}
    
    			checkFiles := map[string]bool{
    				// inputs that we allow to exist, if other files seep in unexpectedly we fail the test
    				".gitignore": false, "meshconfig.yaml": false, "workloadgroup.yaml": false,
    			}
    			for k, v := range generated {
    				checkFiles[k] = v
    			}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/listener.go

    }
    
    func getFilterType(filters []*listener.Filter) string {
    	for _, filter := range filters {
    		if filter.Name == HTTPListener {
    			httpProxy := &hcm.HttpConnectionManager{}
    			// Allow Unmarshal to work even if Envoy and istioctl are different
    			filter.GetTypedConfig().TypeUrl = "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/net.go

    type NetServer struct {
    	ztunnelServer        ZtunnelServer
    	currentPodSnapshot   *podNetnsCache
    	iptablesConfigurator *iptables.IptablesConfigurator
    	podNs                PodNetnsFinder
    	// allow overriding for tests
    	netnsRunner        func(fdable NetnsFd, toRun func() error) error
    	hostsideProbeIPSet ipset.IPSet
    }
    
    var _ MeshDataplane = &NetServer{}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
Back to top