Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for entri (0.14 sec)

  1. istioctl/pkg/workload/workload_test.go

    			args:              strings.Split("entry configure --name foo -o temp --clusterID cid", " "),
    			expectedException: true,
    			expectedOutput:    "Error: expecting a WorkloadGroup artifact file or the name and namespace of an existing WorkloadGroup\n",
    		},
    		{
    			description:       "Invalid command args - missing valid input spec",
    			args:              strings.Split("entry configure -n bar -o temp --clusterID cid", " "),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net.go

    // 2. Get all pod ips (might be several, v6/v4)
    // 3. update ipsets accordingly
    func addPodToHostNSIpset(pod *corev1.Pod, podIPs []netip.Addr, hostsideProbeSet *ipset.IPSet) error {
    	// Add the pod UID as an ipset entry comment, so we can (more) easily find and delete
    	// all relevant entries for a pod later.
    	podUID := string(pod.ObjectMeta.UID)
    	ipProto := uint8(unix.IPPROTO_TCP)
    
    	var ipsetAddrErrs []error
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  3. cni/pkg/log/uds.go

    		return
    	}
    	messages := make([]cniLog, 0, len(cniLogs))
    	for _, l := range cniLogs {
    		var msg cniLog
    		if err := json.Unmarshal([]byte(l), &msg); err != nil {
    			log.Debugf("Failed to unmarshal CNI plugin log entry: %v", err)
    			continue
    		}
    		msg.Msg = strings.TrimSpace(msg.Msg)
    		messages = append(messages, msg)
    	}
    	// Lock log message printing to prevent log messages from different CNI
    	// processes interleave.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 01:05:12 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  4. cni/pkg/install/cniconfig.go

    	if cfg.chainedCNIPlugin {
    		if !file.Exists(cniConfigFilepath) {
    			return "", fmt.Errorf("CNI config file %s removed during configuration", cniConfigFilepath)
    		}
    		// This section overwrites an existing plugins list entry for istio-cni
    		existingCNIConfig, err := os.ReadFile(cniConfigFilepath)
    		if err != nil {
    			return "", err
    		}
    		cniConfig, err = insertCNIConfig(cniConfig, existingCNIConfig)
    		if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. cni/pkg/ipset/nldeps_linux.go

    	res, err := netlink.IpsetList(name)
    	if err != nil {
    		return fmt.Errorf("failed to list ipset %s: %w", name, err)
    	}
    	for _, entry := range res.Entries {
    		if entry.Comment == comment {
    			err := netlink.IpsetDel(name, &entry)
    			if err != nil {
    				return fmt.Errorf("failed to delete IP %s from ipset %s: %w", entry.IP, name, err)
    			}
    		}
    	}
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/podcgroupns.go

    		return nil, err
    	}
    
    	desiredUIDs := sets.New(maps.Keys(pods)...)
    	for _, entry := range entries {
    		// we can't break here because we need to close all the netns we opened
    		// plus we want to return whatever we can to the user.
    		res, err := p.processEntry(p.proc, netnsObserved, desiredUIDs, entry)
    		if err != nil {
    			log.Debugf("error processing entry: %s %v", entry.Name(), err)
    			continue
    		}
    		if res == nil {
    			continue
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. istioctl/pkg/workload/workload.go

    		Example: `  # workload group yaml generation
      istioctl x workload group create
    
      # workload entry configuration generation
      istioctl x workload entry configure`,
    	}
    	workloadCmd.AddCommand(groupCommand(ctx))
    	workloadCmd.AddCommand(entryCommand(ctx))
    	return workloadCmd
    }
    
    func groupCommand(ctx cli.Context) *cobra.Command {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
Back to top