Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Comment (0.2 sec)

  1. cni/pkg/ipset/nldeps_mock.go

    func (m *MockedIpsetDeps) destroySet(name string) error {
    	args := m.Called(name)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	args := m.Called(name, ip, ipProto, comment, replace)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	args := m.Called(name, ip, ipProto)
    	return args.Error(0)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. cni/pkg/ipset/nldeps_linux.go

    		Comment:  comment,
    		IP:       net.IP(ip.AsSlice()),
    		Protocol: &ipProto,
    		Replace:  replace,
    	})
    	if err != nil {
    		return fmt.Errorf("failed to add IP %s with and proto %d to ipset %s: %w", ip, ipProto, name, err)
    	}
    	return nil
    }
    
    func (m *realDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	err := netlink.IpsetDel(name, &netlink.IPSetEntry{
    		IP:       net.IP(ip.AsSlice()),
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. cni/pkg/ipset/ipset.go

    	}
    	return err
    }
    
    func (m *IPSet) AddIP(ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	ipToInsert := ip.Unmap()
    
    	// We have already Unmap'd, so we can do a simple IsV6 y/n check now
    	if ipToInsert.Is6() {
    		return m.Deps.addIP(m.V6Name, ipToInsert, ipProto, comment, replace)
    	}
    	return m.Deps.addIP(m.V4Name, ipToInsert, ipProto, comment, replace)
    }
    
    func (m *IPSet) DeleteIP(ip netip.Addr, ipProto uint8) error {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. istio.deps

    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 20:27:46 GMT 2024
    - 335 bytes
    - Viewed (0)
  5. cni/pkg/ipset/nldeps_unspecified.go

    }
    
    func (m *realDeps) destroySet(name string) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	return errors.New("not implemented on this platform")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMultiset.java

         */
        @CanIgnoreReturnValue
        public Builder<E> addCopies(E element, int occurrences) {
          requireNonNull(contents); // see the comment on the field
          if (occurrences == 0) {
            return this;
          }
          if (buildInvoked) {
            contents = new ObjectCountHashMap<E>(contents);
            isLinkedHash = false;
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  7. internal/auth/credentials.go

    	// Deprecated: In favor of Description - when reading credentials from
    	// storage the value of this field is placed in the Description field above
    	// if the existing Description from storage is empty.
    	Comment string `xml:"-" json:"comment,omitempty"`
    }
    
    func (cred Credentials) String() string {
    	var s strings.Builder
    	s.WriteString(cred.AccessKey)
    	s.WriteString(":")
    	s.WriteString(cred.SecretKey)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. licenses/cloud.google.com/go/auth/oauth2adapt/LICENSE

          boilerplate notice, with the fields enclosed by brackets "[]"
          replaced with your own identifying information. (Don't include
          the brackets!)  The text should be enclosed in the appropriate
          comment syntax for the file format. We also recommend that a
          file or class name and description of purpose be included on the
          same "printed page" as the copyright notice for easier
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 13:56:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. 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
    
    	// For each pod IP
    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)
  10. licenses/cloud.google.com/go/auth/LICENSE

          boilerplate notice, with the fields enclosed by brackets "[]"
          replaced with your own identifying information. (Don't include
          the brackets!)  The text should be enclosed in the appropriate
          comment syntax for the file format. We also recommend that a
          file or class name and description of purpose be included on the
          same "printed page" as the copyright notice for easier
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 13:56:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
Back to top