- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for uint64 (0.16 sec)
-
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 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 1.8K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_linux.go
"golang.org/x/sys/unix" ) func RealNlDeps() NetlinkIpsetDeps { return &realDeps{} } type realDeps struct{} func (m *realDeps) ipsetIPHashCreate(name string, v6 bool) error { var family uint8 if v6 { family = unix.AF_INET6 } else { family = unix.AF_INET } err := netlink.IpsetCreate(name, "hash:ip", netlink.IpsetCreateOptions{Comments: true, Replace: true, Family: family})
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) -
cni/pkg/nodeagent/net_test.go
Namespace: "bar", UID: "123", } podIP := netip.MustParseAddr("99.9.9.9") podIPs := []netip.Addr{podIP} fixture.ipsetDeps.On("addIP", "foo-v4", netip.MustParseAddr("99.9.9.9"), uint8(unix.IPPROTO_TCP), string(podMeta.UID), true, ).Return(nil) err := netServer.AddPodToMesh(ctx, &corev1.Pod{ObjectMeta: podMeta}, podIPs, "fakenetns") assert.NoError(t, err)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_mock.go
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 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 1.8K bytes - Viewed (0) -
cni/pkg/ipset/ipset.go
V6Name = "%s-v6" ) type NetlinkIpsetDeps interface { ipsetIPHashCreate(name string, v6 bool) error destroySet(name string) error addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error deleteIP(name string, ip netip.Addr, ipProto uint8) error flush(name string) error clearEntriesWithComment(name string, comment string) error clearEntriesWithIP(name string, ip netip.Addr) error
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) -
istioctl/pkg/writer/envoy/configdump/endpoint.go
"sigs.k8s.io/yaml" "istio.io/istio/istioctl/pkg/util/proto" "istio.io/istio/pilot/pkg/networking/util" ) type EndpointFilter struct { Address string Port uint32 Cluster string Status string } // Verify returns true if the passed host matches the filter fields func (e *EndpointFilter) Verify(ep *endpoint.LbEndpoint, cluster string) bool {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 5.6K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/api.go
DestinationIps []string `json:"destinationIps,omitempty"` NotDestinationIps []string `json:"notDestinationIps,omitempty"` DestinationPorts []uint16 `json:"destinationPorts,omitempty"` NotDestinationPorts []uint16 `json:"notDestinationPorts,omitempty"` } type StringMatch struct { Exact string `json:"Exact,omitempty"` Suffix string `json:"Suffix,omitempty"`
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 25 02:16:06 GMT 2024 - 5.2K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
for _, o := range objs.kind(name.HPAStr).objSlice { ou := o.Unstructured() g.Expect(ou).Should(HavePathValueEqual(PathValue{"spec.minReplicas", int64(1)})) g.Expect(ou).Should(HavePathValueEqual(PathValue{"spec.maxReplicas", int64(5)})) } checkRoleBindingsReferenceRoles(g, objs) } } func TestManifestGenerateWithDuplicateMutatingWebhookConfig(t *testing.T) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 43.5K bytes - Viewed (0)