Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for append (0.21 sec)

  1. cni/pkg/iptables/iptables.go

    	}
    
    	var delErrs []error
    
    	iptablesVariant := []dep.IptablesVersion{}
    	iptablesVariant = append(iptablesVariant, cfg.iptV)
    
    	if cfg.cfg.EnableIPv6 {
    		iptablesVariant = append(iptablesVariant, cfg.ipt6V)
    	}
    
    	for _, iptVer := range iptablesVariant {
    		for _, cmd := range deleteCmds {
    			delErrs = append(delErrs, cfg.ext.Run(iptablesconstants.IPTables, &iptVer, nil, cmd...))
    		}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  2. operator/cmd/mesh/install.go

    			}
    			if enabled {
    				enabledComponents = append(enabledComponents, name.UserFacingComponentName(c))
    			}
    		}
    		for _, c := range iop.Spec.Components.IngressGateways {
    			if c.Enabled.GetValue() {
    				enabledComponents = append(enabledComponents, name.UserFacingComponentName(name.IngressComponentName))
    				break
    			}
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  3. istioctl/pkg/waypoint/waypoint.go

    			})
    			filteredGws := make([]gateway.Gateway, 0)
    			for _, gw := range gws.Items {
    				if gw.Spec.GatewayClassName != constants.WaypointGatewayClassName {
    					continue
    				}
    				filteredGws = append(filteredGws, gw)
    			}
    			if allNamespaces {
    				fmt.Fprintln(w, "NAMESPACE\tNAME\tREVISION\tPROGRAMMED")
    			} else {
    				fmt.Fprintln(w, "NAME\tREVISION\tPROGRAMMED")
    			}
    			for _, gw := range filteredGws {
    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)
  4. cni/pkg/plugin/plugin_test.go

    			Labels:    map[string]string{},
    		},
    	}
    
    	return fakePod, fakeNS
    }
    
    func (mrdir *mockInterceptRuleMgr) Program(podName, netns string, redirect *Redirect) error {
    	mrdir.lastRedirect = append(mrdir.lastRedirect, redirect)
    	return nil
    }
    
    // returns the test server URL and a dispose func for the test server
    func setupCNIEventClientWithMockServer(serverErr bool) (string, func() bool) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/informers.go

    		if ns == nil {
    			log.Warnf("failed to find namespace %s for pod %s", pod.Namespace, pod.Name)
    		}
    
    		if !util.IsZtunnelPod(s.systemNamespace, pod) && util.PodRedirectionEnabled(ns, pod) {
    			pods = append(pods, pod)
    		}
    	}
    	return pods
    }
    
    // EnqueueNamespace takes a Namespace and enqueues all Pod objects that make need an update
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  6. cni/pkg/util/podutil.go

    	var podIPs []netip.Addr
    	if len(pod.Status.PodIPs) != 0 {
    		for _, pip := range pod.Status.PodIPs {
    			ip := netip.MustParseAddr(pip.IP)
    			podIPs = append(podIPs, ip)
    		}
    	} else if len(pod.Status.PodIP) != 0 {
    		ip := netip.MustParseAddr(pod.Status.PodIP)
    		podIPs = append(podIPs, ip)
    	}
    	return podIPs
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. Makefile.core.mk

    export ISTIO_GO
    SHELL := /bin/bash -o pipefail
    
    # Version can be defined:
    # (1) in a $VERSION shell variable, which takes precedence; or
    # (2) in the VERSION file, in which we will append "-dev" to it
    ifeq ($(VERSION),)
    VERSION_FROM_FILE := $(shell cat VERSION)
    ifeq ($(VERSION_FROM_FILE),)
    $(error VERSION not detected. Make sure it's stored in the VERSION file or defined in VERSION variable)
    endif
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  8. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    				if err == nil {
    					_, _ = fmt.Fprintf(c.OutOrStdout(), "%v.%v:\n%v\n", podName, podNamespace, resp)
    				} else {
    					errs = multierror.Append(fmt.Errorf("%v.%v: %v", podName, podNamespace, err))
    				}
    			}
    			if err := multierror.Flatten(errs.ErrorOrNil()); err != nil {
    				return err
    			}
    			return nil
    		},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  9. manifests/charts/istio-cni/templates/daemonset.yaml

                  # CAP_SYS_ADMIN is required for both ambient and repair, in order to open
                  # network namespaces in `/proc` to obtain descriptors for entering pod netnamespaces.
                  # There does not appear to be a more granular capability for this.
                  - SYS_ADMIN
    {{- if .Values.cni.seccompProfile }}
                seccompProfile:
    {{ toYaml .Values.cni.seccompProfile | trim | indent 14 }}
    {{- end }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top