Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 114 for Franke (0.14 sec)

  1. cni/pkg/util/podutil_test.go

    			name: "pod has sidecar, pod has ambient mode label",
    			args: args{
    				namespace: unlabelledNamespace,
    				pod:       podWithSidecarAndAmbientEnabledLabel,
    			},
    			want: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := PodRedirectionEnabled(tt.args.namespace, tt.args.pod); got != tt.want {
    				t.Errorf("PodRedirectionEnabled() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    					return err
    				}
    			} else {
    				if podNames, podNamespace, err = getPodNames(ctx, args[0], ctx.Namespace()); err != nil {
    					return err
    				}
    			}
    			for _, pod := range podNames {
    				loggerName, err = setupEnvoyLogConfig(kubeClient, "", pod, podNamespace)
    				if err != nil {
    					return err
    				}
    			}
    
    			destLoggerLevels := map[string]Level{}
    			if reset {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/configdump.go

    	}
    	secretDump, err := c.configDump.GetSecretConfigDump()
    	if err != nil {
    		return "", fmt.Errorf("sidecar doesn't support secrets: %v", err)
    	}
    	for _, secret := range secretDump.DynamicActiveSecrets {
    		// check the ROOTCA from secret dump
    		if secret.Name == "ROOTCA" {
    			var returnStr string
    			var returnErr error
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 29 20:46:41 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/ztunnelserver_test.go

    	if err != nil {
    		panic(err)
    	}
    
    	// we should get 0 or 1 oob messages
    	if len(msgs) != 0 {
    		assert.Equal(t, len(msgs), 1)
    	}
    
    	var fdss []int
    	for _, msg := range msgs {
    		fds, err := unix.ParseUnixRights(&msg)
    		if err != nil {
    			panic(err)
    		}
    		fdss = append(fdss, fds...)
    	}
    	return m, fdss
    }
    
    func sendAck(c *net.UnixConn) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  5. cni/pkg/iptables/iptables_linux.go

    func forEachInpodMarkIPRule(cfg *Config, f func(*netlink.Rule) error) error {
    	var rules []*netlink.Rule
    	families := []int{unix.AF_INET}
    	if cfg.EnableIPv6 {
    		families = append(families, unix.AF_INET6)
    	}
    	for _, family := range families {
    		// Equiv:
    		// ip rule add fwmark 0x111/0xfff pref 32764 lookup 100
    		//
    		// Adds in-pod rules for marking packets with the istio-specific TPROXY mark.
    		// A very similar mechanism is used for sidecar TPROXY.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  6. istioctl/pkg/util/configdump/listener.go

    	for _, l := range listenerDump.DynamicListeners {
    		// If a listener was reloaded, it would contain both the active and draining state
    		// delete the draining state for proper comparison
    		l.DrainingState = nil
    		if l.ActiveState != nil {
    			dal = append(dal, l)
    		}
    	}
    
    	// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    	for i := range dal {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  7. istioctl/pkg/writer/envoy/configdump/configdump_test.go

    		inputFile   string
    		wantErr     bool
    	}{
    		{
    			name:        "errors if unable to unmarshal bytes",
    			inputFile:   "",
    			wantConfigs: 0,
    			wantErr:     true,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			cw := &ConfigWriter{}
    			cd, _ := os.ReadFile(tt.inputFile)
    			err := cw.Prime(cd)
    			if cw.configDump == nil {
    				if tt.wantConfigs != 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 03 23:08:06 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. istioctl/pkg/waypoint/waypoint.go

    				defer ticker.Stop()
    				for range ticker.C {
    					programmed := false
    					gwc, err := kubeClient.GatewayAPI().GatewayV1().Gateways(ctx.NamespaceOrDefault(ctx.Namespace())).Get(context.TODO(), gw.Name, metav1.GetOptions{})
    					if err == nil {
    						// Check if gateway has Programmed condition set to true
    						for _, cond := range gwc.Status.Conditions {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  9. istioctl/pkg/util/configdump/util.go

    )
    
    // getSection takes a TypeURL and returns the types.Any from the config dump corresponding to that URL
    func (w *Wrapper) getSection(sectionTypeURL configTypeURL) (*anypb.Any, error) {
    	var dumpAny *anypb.Any
    	for _, conf := range w.Configs {
    		if conf.TypeUrl == string(sectionTypeURL) {
    			dumpAny = conf
    		}
    	}
    	if dumpAny == nil {
    		return nil, fmt.Errorf("config dump has no configuration type %s", sectionTypeURL)
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Dec 24 08:16:26 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  10. istioctl/pkg/tag/util.go

    		LabelSelector: fmt.Sprintf("%s=%s", label.IoIstioRev.Name, tag),
    	})
    	if err != nil {
    		return nil, err
    	}
    
    	nsNames := make([]string, len(namespaces.Items))
    	for i, ns := range namespaces.Items {
    		nsNames[i] = ns.Name
    	}
    	return nsNames, nil
    }
    
    // GetWebhookTagName extracts tag name from webhook object.
    func GetWebhookTagName(wh admitv1.MutatingWebhookConfiguration) string {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
Back to top