Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for topproto (0.12 sec)

  1. pkg/config/kube/conversion_test.go

    			portName:      "http-something",
    			expectedProto: protocol.HTTP,
    		},
    		{
    			name:          "prefers appProto over portName",
    			portName:      "http-something",
    			appProto:      &https,
    			expectedProto: protocol.HTTPS,
    		},
    		{
    			name:          "resolves from appProto",
    			portName:      "something-httpx",
    			appProto:      &https,
    			expectedProto: protocol.HTTPS,
    		},
    		{
    			name:          "resolves grpc-web",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 28 15:30:30 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. 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)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. cni/pkg/ipset/nldeps_mock.go

    	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)
    }
    
    func (m *MockedIpsetDeps) flush(name string) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. pkg/config/kube/conversion.go

    func ConvertProtocol(port int32, portName string, proto corev1.Protocol, appProto *string) protocol.Instance {
    	if proto == corev1.ProtocolUDP {
    		return protocol.UDP
    	}
    
    	// If application protocol is set, we will use that
    	// If not, use the port name
    	name := portName
    	if appProto != nil {
    		name = *appProto
    		// Kubernetes has a few AppProtocol specific standard names defined in the Service spec
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. cni/pkg/ipset/nldeps_linux.go

    	err := netlink.IpsetDestroy(name)
    	return err
    }
    
    func (m *realDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	err := netlink.IpsetAdd(name, &netlink.IPSetEntry{
    		Comment:  comment,
    		IP:       net.IP(ip.AsSlice()),
    		Protocol: &ipProto,
    		Replace:  replace,
    	})
    	if err != nil {
    		return fmt.Errorf("failed to add IP %s to ipset %s: %w", ip, name, err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 30 18:07:05 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. cni/pkg/ipset/nldeps_unspecified.go

    	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")
    }
    
    func (m *realDeps) flush(name string) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/syscall/ztypes_freebsd_arm.go

    	Ierrors     uint32
    	Opackets    uint32
    	Oerrors     uint32
    	Collisions  uint32
    	Ibytes      uint32
    	Obytes      uint32
    	Imcasts     uint32
    	Omcasts     uint32
    	Iqdrops     uint32
    	Noproto     uint32
    	Hwassist    uint64
    	Epoch       int64
    	Lastchange  Timeval
    }
    
    type IfData struct {
    	Type        uint8
    	Physical    uint8
    	Addrlen     uint8
    	Hdrlen      uint8
    	Link_state  uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
  8. src/syscall/ztypes_freebsd_arm64.go

    	Ierrors     uint64
    	Opackets    uint64
    	Oerrors     uint64
    	Collisions  uint64
    	Ibytes      uint64
    	Obytes      uint64
    	Imcasts     uint64
    	Omcasts     uint64
    	Iqdrops     uint64
    	Noproto     uint64
    	Hwassist    uint64
    	Epoch       int64
    	Lastchange  Timeval
    }
    
    type IfData struct {
    	Type        uint8
    	Physical    uint8
    	Addrlen     uint8
    	Hdrlen      uint8
    	Link_state  uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
  9. src/syscall/ztypes_freebsd_386.go

    	Ierrors     uint32
    	Opackets    uint32
    	Oerrors     uint32
    	Collisions  uint32
    	Ibytes      uint32
    	Obytes      uint32
    	Imcasts     uint32
    	Omcasts     uint32
    	Iqdrops     uint32
    	Noproto     uint32
    	Hwassist    uint64
    	Epoch       int32
    	Lastchange  Timeval
    }
    
    type IfData struct {
    	Type        uint8
    	Physical    uint8
    	Addrlen     uint8
    	Hdrlen      uint8
    	Link_state  uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
  10. src/syscall/ztypes_freebsd_riscv64.go

    	Ierrors     uint64
    	Opackets    uint64
    	Oerrors     uint64
    	Collisions  uint64
    	Ibytes      uint64
    	Obytes      uint64
    	Imcasts     uint64
    	Omcasts     uint64
    	Iqdrops     uint64
    	Noproto     uint64
    	Hwassist    uint64
    	Epoch       int64
    	Lastchange  Timeval
    }
    
    type IfData struct {
    	Type        uint8
    	Physical    uint8
    	Addrlen     uint8
    	Hdrlen      uint8
    	Link_state  uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:39:46 UTC 2022
    - 8K bytes
    - Viewed (0)
Back to top