- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for uint64 (0.24 sec)
-
cni/pkg/nodeagent/netns_other.go
// See the License for the specific language governing permissions and // limitations under the License. package nodeagent import "errors" func inodeForFd(n NetnsFd) (uint64, error) { return 0, errors.New("not implemented") } func NetnsSet(n NetnsFd) error { return errors.New("not implemented") } func OpenNetns(nspath string) (NetnsCloser, error) {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Mar 14 09:32:25 GMT 2024 - 1K bytes - Viewed (0) -
cni/pkg/nodeagent/fakes_test.go
} // fakeNs is a mock struct for testing type fakeNs struct { closed *atomic.Bool fd uintptr inode uint64 } func newFakeNs(fd uintptr) *fakeNs { // the fake inode is the fd! magic. return &fakeNs{closed: &atomic.Bool{}, fd: fd, inode: uint64(fd)} } func newFakeNsInode(fd uintptr, inode uint64) *fakeNs { return &fakeNs{closed: &atomic.Bool{}, fd: fd, inode: inode} } // Fd returns the file descriptor
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 3.9K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
} return podUIDNetns, nil } type PodNetnsEntry struct { uid types.UID netns fs.File netnsfd uintptr inode uint64 } func (p *PodNetnsProcFinder) processEntry(proc fs.FS, netnsObserved sets.Set[uint64], filter sets.Set[types.UID], entry fs.DirEntry) (*PodNetnsEntry, error) { if !isProcess(entry) { return nil, nil }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 11K bytes - Viewed (0) -
cni/pkg/nodeagent/netns_linux.go
) type NetnsWrapper struct { innerNetns netns.NetNS inode uint64 } func (n *NetnsWrapper) Inode() uint64 { return n.inode } func (n *NetnsWrapper) Close() error { return n.innerNetns.Close() } func (n *NetnsWrapper) Fd() uintptr { return n.innerNetns.Fd() } func inodeForFd(n NetnsFd) (uint64, error) { stats := &unix.Stat_t{} err := unix.Fstat(int(n.Fd()), stats)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Jan 31 10:05:36 GMT 2024 - 2.7K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns_linux.go
// See the License for the specific language governing permissions and // limitations under the License. package nodeagent import ( "fmt" "io/fs" "syscall" ) func GetInode(fi fs.FileInfo) (uint64, error) { if stat, ok := fi.Sys().(*syscall.Stat_t); ok { return stat.Ino, nil } return 0, fmt.Errorf("unable to get inode")
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 814 bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns_other.go
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 781 bytes - Viewed (0) -
common-protos/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto
// Defaults to 30 seconds. // +optional optional int64 terminationGracePeriodSeconds = 4; // Optional duration in seconds the carp may be active on the node relative to // StartTime before the system will actively try to mark it failed and kill associated containers. // Value must be a positive integer. // +optional optional int64 activeDeadlineSeconds = 5;
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 7.7K 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 01 22:53:12 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 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 1.8K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
} func (c *connMgr) addConn(conn *ZtunnelConnection) { log.Debug("ztunnel connected") c.mu.Lock() defer c.mu.Unlock() c.connectionSet[conn] = struct{}{} c.latestConn = conn ztunnelConnected.RecordInt(int64(len(c.connectionSet))) } func (c *connMgr) LatestConn() *ZtunnelConnection { c.mu.Lock() defer c.mu.Unlock() return c.latestConn } func (c *connMgr) deleteConn(conn *ZtunnelConnection) {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 12.4K bytes - Viewed (0)