Documentation ¶
Index ¶
- Variables
- type PassThrough
- func (h *PassThrough) GetEnabled() bool
- func (h *PassThrough) GetName() string
- func (h *PassThrough) GetPath() string
- func (h *PassThrough) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *PassThrough) GetResourcesList() []string
- func (h *PassThrough) GetService() domain.HandlerServiceIface
- func (h *PassThrough) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *PassThrough) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *PassThrough) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *PassThrough) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *PassThrough) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *PassThrough) SetEnabled(b bool)
- func (h *PassThrough) SetService(hs domain.HandlerServiceIface)
- func (h *PassThrough) Setattr(n domain.IOnodeIface, req *domain.HandlerRequest) error
- func (h *PassThrough) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type ProcSwaps
- func (h *ProcSwaps) GetEnabled() bool
- func (h *ProcSwaps) GetName() string
- func (h *ProcSwaps) GetPath() string
- func (h *ProcSwaps) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *ProcSwaps) GetResourcesList() []string
- func (h *ProcSwaps) GetService() domain.HandlerServiceIface
- func (h *ProcSwaps) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *ProcSwaps) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *ProcSwaps) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *ProcSwaps) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *ProcSwaps) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *ProcSwaps) SetEnabled(b bool)
- func (h *ProcSwaps) SetService(hs domain.HandlerServiceIface)
- func (h *ProcSwaps) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type ProcSys
- func (h *ProcSys) GetEnabled() bool
- func (h *ProcSys) GetName() string
- func (h *ProcSys) GetPath() string
- func (h *ProcSys) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *ProcSys) GetResourcesList() []string
- func (h *ProcSys) GetService() domain.HandlerServiceIface
- func (h *ProcSys) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *ProcSys) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *ProcSys) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *ProcSys) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *ProcSys) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *ProcSys) SetEnabled(b bool)
- func (h *ProcSys) SetService(hs domain.HandlerServiceIface)
- func (h *ProcSys) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type ProcSysFs
- func (h *ProcSysFs) GetEnabled() bool
- func (h *ProcSysFs) GetName() string
- func (h *ProcSysFs) GetPath() string
- func (h *ProcSysFs) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *ProcSysFs) GetResourcesList() []string
- func (h *ProcSysFs) GetService() domain.HandlerServiceIface
- func (h *ProcSysFs) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *ProcSysFs) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *ProcSysFs) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *ProcSysFs) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *ProcSysFs) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *ProcSysFs) SetEnabled(b bool)
- func (h *ProcSysFs) SetService(hs domain.HandlerServiceIface)
- func (h *ProcSysFs) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type ProcSysKernel
- func (h *ProcSysKernel) GetEnabled() bool
- func (h *ProcSysKernel) GetName() string
- func (h *ProcSysKernel) GetPath() string
- func (h *ProcSysKernel) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *ProcSysKernel) GetResourcesList() []string
- func (h *ProcSysKernel) GetService() domain.HandlerServiceIface
- func (h *ProcSysKernel) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *ProcSysKernel) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *ProcSysKernel) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *ProcSysKernel) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *ProcSysKernel) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *ProcSysKernel) SetEnabled(b bool)
- func (h *ProcSysKernel) SetService(hs domain.HandlerServiceIface)
- func (h *ProcSysKernel) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type ProcSysKernelYama
- func (h *ProcSysKernelYama) GetEnabled() bool
- func (h *ProcSysKernelYama) GetName() string
- func (h *ProcSysKernelYama) GetPath() string
- func (h *ProcSysKernelYama) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *ProcSysKernelYama) GetResourcesList() []string
- func (h *ProcSysKernelYama) GetService() domain.HandlerServiceIface
- func (h *ProcSysKernelYama) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *ProcSysKernelYama) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *ProcSysKernelYama) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *ProcSysKernelYama) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *ProcSysKernelYama) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *ProcSysKernelYama) SetEnabled(b bool)
- func (h *ProcSysKernelYama) SetService(hs domain.HandlerServiceIface)
- func (h *ProcSysKernelYama) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type ProcSysNetCore
- func (h *ProcSysNetCore) GetEnabled() bool
- func (h *ProcSysNetCore) GetName() string
- func (h *ProcSysNetCore) GetPath() string
- func (h *ProcSysNetCore) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *ProcSysNetCore) GetResourcesList() []string
- func (h *ProcSysNetCore) GetService() domain.HandlerServiceIface
- func (h *ProcSysNetCore) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *ProcSysNetCore) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *ProcSysNetCore) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *ProcSysNetCore) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *ProcSysNetCore) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *ProcSysNetCore) SetEnabled(b bool)
- func (h *ProcSysNetCore) SetService(hs domain.HandlerServiceIface)
- func (h *ProcSysNetCore) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type ProcSysNetIpv4
- func (h *ProcSysNetIpv4) GetEnabled() bool
- func (h *ProcSysNetIpv4) GetName() string
- func (h *ProcSysNetIpv4) GetPath() string
- func (h *ProcSysNetIpv4) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *ProcSysNetIpv4) GetResourcesList() []string
- func (h *ProcSysNetIpv4) GetService() domain.HandlerServiceIface
- func (h *ProcSysNetIpv4) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *ProcSysNetIpv4) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *ProcSysNetIpv4) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *ProcSysNetIpv4) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *ProcSysNetIpv4) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *ProcSysNetIpv4) SetEnabled(b bool)
- func (h *ProcSysNetIpv4) SetService(hs domain.HandlerServiceIface)
- func (h *ProcSysNetIpv4) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type ProcSysNetIpv4Neigh
- func (h *ProcSysNetIpv4Neigh) GetEnabled() bool
- func (h *ProcSysNetIpv4Neigh) GetName() string
- func (h *ProcSysNetIpv4Neigh) GetPath() string
- func (h *ProcSysNetIpv4Neigh) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *ProcSysNetIpv4Neigh) GetResourcesList() []string
- func (h *ProcSysNetIpv4Neigh) GetService() domain.HandlerServiceIface
- func (h *ProcSysNetIpv4Neigh) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *ProcSysNetIpv4Neigh) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *ProcSysNetIpv4Neigh) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *ProcSysNetIpv4Neigh) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *ProcSysNetIpv4Neigh) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *ProcSysNetIpv4Neigh) SetEnabled(b bool)
- func (h *ProcSysNetIpv4Neigh) SetService(hs domain.HandlerServiceIface)
- func (h *ProcSysNetIpv4Neigh) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type ProcSysNetIpv4Vs
- func (h *ProcSysNetIpv4Vs) GetEnabled() bool
- func (h *ProcSysNetIpv4Vs) GetName() string
- func (h *ProcSysNetIpv4Vs) GetPath() string
- func (h *ProcSysNetIpv4Vs) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *ProcSysNetIpv4Vs) GetResourcesList() []string
- func (h *ProcSysNetIpv4Vs) GetService() domain.HandlerServiceIface
- func (h *ProcSysNetIpv4Vs) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *ProcSysNetIpv4Vs) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *ProcSysNetIpv4Vs) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *ProcSysNetIpv4Vs) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *ProcSysNetIpv4Vs) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *ProcSysNetIpv4Vs) SetEnabled(b bool)
- func (h *ProcSysNetIpv4Vs) SetService(hs domain.HandlerServiceIface)
- func (h *ProcSysNetIpv4Vs) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type ProcSysNetNetfilter
- func (h *ProcSysNetNetfilter) GetEnabled() bool
- func (h *ProcSysNetNetfilter) GetName() string
- func (h *ProcSysNetNetfilter) GetPath() string
- func (h *ProcSysNetNetfilter) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *ProcSysNetNetfilter) GetResourcesList() []string
- func (h *ProcSysNetNetfilter) GetService() domain.HandlerServiceIface
- func (h *ProcSysNetNetfilter) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *ProcSysNetNetfilter) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *ProcSysNetNetfilter) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *ProcSysNetNetfilter) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *ProcSysNetNetfilter) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *ProcSysNetNetfilter) SetEnabled(b bool)
- func (h *ProcSysNetNetfilter) SetService(hs domain.HandlerServiceIface)
- func (h *ProcSysNetNetfilter) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type ProcSysNetUnix
- func (h *ProcSysNetUnix) GetEnabled() bool
- func (h *ProcSysNetUnix) GetName() string
- func (h *ProcSysNetUnix) GetPath() string
- func (h *ProcSysNetUnix) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *ProcSysNetUnix) GetResourcesList() []string
- func (h *ProcSysNetUnix) GetService() domain.HandlerServiceIface
- func (h *ProcSysNetUnix) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *ProcSysNetUnix) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *ProcSysNetUnix) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *ProcSysNetUnix) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *ProcSysNetUnix) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *ProcSysNetUnix) SetEnabled(b bool)
- func (h *ProcSysNetUnix) SetService(hs domain.HandlerServiceIface)
- func (h *ProcSysNetUnix) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type ProcSysVm
- func (h *ProcSysVm) GetEnabled() bool
- func (h *ProcSysVm) GetName() string
- func (h *ProcSysVm) GetPath() string
- func (h *ProcSysVm) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *ProcSysVm) GetResourcesList() []string
- func (h *ProcSysVm) GetService() domain.HandlerServiceIface
- func (h *ProcSysVm) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *ProcSysVm) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *ProcSysVm) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *ProcSysVm) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *ProcSysVm) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *ProcSysVm) SetEnabled(b bool)
- func (h *ProcSysVm) SetService(hs domain.HandlerServiceIface)
- func (h *ProcSysVm) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type ProcUptime
- func (h *ProcUptime) GetEnabled() bool
- func (h *ProcUptime) GetName() string
- func (h *ProcUptime) GetPath() string
- func (h *ProcUptime) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *ProcUptime) GetResourcesList() []string
- func (h *ProcUptime) GetService() domain.HandlerServiceIface
- func (h *ProcUptime) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *ProcUptime) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *ProcUptime) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *ProcUptime) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *ProcUptime) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *ProcUptime) SetEnabled(b bool)
- func (h *ProcUptime) SetService(hs domain.HandlerServiceIface)
- func (h *ProcUptime) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type Root
- func (h *Root) GetEnabled() bool
- func (h *Root) GetName() string
- func (h *Root) GetPath() string
- func (h *Root) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *Root) GetResourcesList() []string
- func (h *Root) GetService() domain.HandlerServiceIface
- func (h *Root) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *Root) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *Root) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *Root) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *Root) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *Root) SetEnabled(b bool)
- func (h *Root) SetService(hs domain.HandlerServiceIface)
- func (h *Root) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type SysDevicesVirtual
- func (h *SysDevicesVirtual) GetEnabled() bool
- func (h *SysDevicesVirtual) GetName() string
- func (h *SysDevicesVirtual) GetPath() string
- func (h *SysDevicesVirtual) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *SysDevicesVirtual) GetResourcesList() []string
- func (h *SysDevicesVirtual) GetService() domain.HandlerServiceIface
- func (h *SysDevicesVirtual) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *SysDevicesVirtual) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *SysDevicesVirtual) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *SysDevicesVirtual) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *SysDevicesVirtual) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *SysDevicesVirtual) SetEnabled(b bool)
- func (h *SysDevicesVirtual) SetService(hs domain.HandlerServiceIface)
- func (h *SysDevicesVirtual) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type SysDevicesVirtualDmi
- func (h *SysDevicesVirtualDmi) GetEnabled() bool
- func (h *SysDevicesVirtualDmi) GetName() string
- func (h *SysDevicesVirtualDmi) GetPath() string
- func (h *SysDevicesVirtualDmi) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *SysDevicesVirtualDmi) GetResourcesList() []string
- func (h *SysDevicesVirtualDmi) GetService() domain.HandlerServiceIface
- func (h *SysDevicesVirtualDmi) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *SysDevicesVirtualDmi) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *SysDevicesVirtualDmi) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *SysDevicesVirtualDmi) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *SysDevicesVirtualDmi) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *SysDevicesVirtualDmi) SetEnabled(b bool)
- func (h *SysDevicesVirtualDmi) SetService(hs domain.HandlerServiceIface)
- func (h *SysDevicesVirtualDmi) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type SysDevicesVirtualDmiId
- func (h *SysDevicesVirtualDmiId) CreateCntrUuid(cntr domain.ContainerIface) string
- func (h *SysDevicesVirtualDmiId) GetEnabled() bool
- func (h *SysDevicesVirtualDmiId) GetName() string
- func (h *SysDevicesVirtualDmiId) GetPath() string
- func (h *SysDevicesVirtualDmiId) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *SysDevicesVirtualDmiId) GetResourcesList() []string
- func (h *SysDevicesVirtualDmiId) GetService() domain.HandlerServiceIface
- func (h *SysDevicesVirtualDmiId) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *SysDevicesVirtualDmiId) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *SysDevicesVirtualDmiId) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *SysDevicesVirtualDmiId) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *SysDevicesVirtualDmiId) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *SysDevicesVirtualDmiId) SetEnabled(b bool)
- func (h *SysDevicesVirtualDmiId) SetService(hs domain.HandlerServiceIface)
- func (h *SysDevicesVirtualDmiId) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type SysKernel
- func (h *SysKernel) GetEnabled() bool
- func (h *SysKernel) GetName() string
- func (h *SysKernel) GetPath() string
- func (h *SysKernel) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *SysKernel) GetResourcesList() []string
- func (h *SysKernel) GetService() domain.HandlerServiceIface
- func (h *SysKernel) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *SysKernel) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *SysKernel) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *SysKernel) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *SysKernel) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *SysKernel) SetEnabled(b bool)
- func (h *SysKernel) SetService(hs domain.HandlerServiceIface)
- func (h *SysKernel) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- type SysModuleNfconntrackParameters
- func (h *SysModuleNfconntrackParameters) GetEnabled() bool
- func (h *SysModuleNfconntrackParameters) GetName() string
- func (h *SysModuleNfconntrackParameters) GetPath() string
- func (h *SysModuleNfconntrackParameters) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
- func (h *SysModuleNfconntrackParameters) GetResourcesList() []string
- func (h *SysModuleNfconntrackParameters) GetService() domain.HandlerServiceIface
- func (h *SysModuleNfconntrackParameters) Lookup(n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
- func (h *SysModuleNfconntrackParameters) Open(n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
- func (h *SysModuleNfconntrackParameters) Read(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
- func (h *SysModuleNfconntrackParameters) ReadDirAll(n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
- func (h *SysModuleNfconntrackParameters) ReadLink(n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
- func (h *SysModuleNfconntrackParameters) SetEnabled(b bool)
- func (h *SysModuleNfconntrackParameters) SetService(hs domain.HandlerServiceIface)
- func (h *SysModuleNfconntrackParameters) Write(n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
Constants ¶
This section is empty.
Variables ¶
var PassThrough_Handler = &PassThrough{ domain.HandlerBase{ Name: "PassThrough", Path: "*", Enabled: true, }, }
var ProcSwaps_Handler = &ProcSwaps{ domain.HandlerBase{ Name: "ProcSwaps", Path: "/proc/swaps", Enabled: true, }, }
var ProcSysFs_Handler = &ProcSysFs{ domain.HandlerBase{ Name: "ProcSysFs", Path: "/proc/sys/fs", Enabled: true, EmuResourceMap: map[string]*domain.EmuResource{ "file-max": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 1024, }, "nr_open": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 1024, }, "protected_hardlinks": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0600)), Enabled: true, Size: 1024, }, "protected_symlinks": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0600)), Enabled: true, Size: 1024, }, }, }, }
var ProcSysKernelYama_Handler = &ProcSysKernelYama{ domain.HandlerBase{ Name: "ProcSysKernelYama", Path: "/proc/sys/kernel/yama", Enabled: true, EmuResourceMap: map[string]*domain.EmuResource{ "ptrace_scope": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 2, }, }, }, }
var ProcSysKernel_Handler = &ProcSysKernel{ domain.HandlerBase{ Name: "ProcSysKernel", Path: "/proc/sys/kernel", Enabled: true, EmuResourceMap: map[string]*domain.EmuResource{ "domainname": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 4096, }, "hostname": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 4096, }, "kptr_restrict": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 2, }, "dmesg_restrict": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 2, }, "ngroups_max": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0444)), Enabled: true, Size: 1024, }, "cap_last_cap": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0444)), Enabled: true, Size: 1024, }, "panic": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 4096, }, "panic_on_oops": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 2, }, "printk": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 1024, }, "sysrq": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 1024, }, "pid_max": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 1024, }, }, }, }
var ProcSysNetCore_Handler = &ProcSysNetCore{ domain.HandlerBase{ Name: "ProcSysNetCore", Path: "/proc/sys/net/core", Enabled: true, EmuResourceMap: map[string]*domain.EmuResource{ "default_qdisc": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 1024, }, "somaxconn": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 1024, }, }, }, }
var ProcSysNetIpv4Neigh_Handler = &ProcSysNetIpv4Neigh{ domain.HandlerBase{ Name: "ProcSysNetIpv4Neigh", Path: "/proc/sys/net/ipv4/neigh", Enabled: true, EmuResourceMap: map[string]*domain.EmuResource{ "default": { Kind: domain.DirEmuResource, Mode: os.FileMode(uint32(0555)), Enabled: true, }, "default/gc_thresh1": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 1024, }, "default/gc_thresh2": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 1024, }, "default/gc_thresh3": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 1024, }, }, }, }
var ProcSysNetIpv4Vs_Handler = &ProcSysNetIpv4Vs{ domain.HandlerBase{ Name: "ProcSysNetIpv4Vs", Path: "/proc/sys/net/ipv4/vs", Enabled: true, EmuResourceMap: map[string]*domain.EmuResource{ "conntrack": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 2, }, "conn_reuse_mode": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 2, }, "expire_nodest_conn": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 2, }, "expire_quiescent_template": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 2, }, }, }, }
var ProcSysNetIpv4_Handler = &ProcSysNetIpv4{ domain.HandlerBase{ Name: "ProcSysNetIpv4", Path: "/proc/sys/net/ipv4", Enabled: true, EmuResourceMap: map[string]*domain.EmuResource{ "ping_group_range": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 1024, }, }, }, }
var ProcSysNetNetfilter_Handler = &ProcSysNetNetfilter{ domain.HandlerBase{ Name: "ProcSysNetNetfilter", Path: "/proc/sys/net/netfilter", Enabled: true, EmuResourceMap: map[string]*domain.EmuResource{ "nf_conntrack_max": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 1024, }, "nf_conntrack_generic_timeout": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 1024, }, "nf_conntrack_tcp_be_liberal": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 2, }, "nf_conntrack_tcp_timeout_established": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 1024, }, "nf_conntrack_tcp_timeout_close_wait": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 1024, }, }, }, }
var ProcSysNetUnix_Handler = &ProcSysNetUnix{ domain.HandlerBase{ Name: "ProcSysNetUnix", Path: "/proc/sys/net/unix", Enabled: true, EmuResourceMap: map[string]*domain.EmuResource{ "max_dgram_qlen": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 1024, }, }, }, }
var ProcSysVm_Handler = &ProcSysVm{ domain.HandlerBase{ Name: "ProcSysVm", Path: "/proc/sys/vm", Enabled: true, EmuResourceMap: map[string]*domain.EmuResource{ "overcommit_memory": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 2, }, "mmap_min_addr": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0644)), Enabled: true, Size: 1024, }, }, }, }
var ProcSys_Handler = &ProcSys{ domain.HandlerBase{ Name: "ProcSys", Path: "/proc/sys", Enabled: true, EmuResourceMap: map[string]*domain.EmuResource{ ".": { Kind: domain.DirEmuResource, Mode: os.ModeDir | os.FileMode(uint32(0555)), Enabled: true, }, }, }, }
var ProcUptime_Handler = &ProcUptime{ domain.HandlerBase{ Name: "ProcUptime", Path: "/proc/uptime", Enabled: true, }, }
var Root_Handler = &Root{ domain.HandlerBase{ Name: "root", Path: "/", Enabled: true, }, }
var SysDevicesVirtualDmiId_Handler = &SysDevicesVirtualDmiId{ domain.HandlerBase{ Name: "SysDevicesVirtualDmiId", Path: "/sys/devices/virtual/dmi/id", Enabled: true, EmuResourceMap: map[string]*domain.EmuResource{ ".": { Kind: domain.DirEmuResource, Mode: os.ModeDir | os.FileMode(uint32(0755)), Enabled: true, }, "product_uuid": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0400)), Size: 4096, Enabled: true, }, }, }, }
var SysDevicesVirtualDmi_Handler = &SysDevicesVirtualDmi{ domain.HandlerBase{ Name: "SysDevicesVirtualDmi", Path: "/sys/devices/virtual/dmi", Enabled: true, EmuResourceMap: map[string]*domain.EmuResource{ ".": { Kind: domain.DirEmuResource, Mode: os.ModeDir | os.FileMode(uint32(0755)), Enabled: true, }, "id": { Kind: domain.DirEmuResource, Mode: os.ModeDir | os.FileMode(uint32(0755)), Enabled: true, }, }, }, }
var SysDevicesVirtual_Handler = &SysDevicesVirtual{ domain.HandlerBase{ Name: "SysDevicesVirtual", Path: "/sys/devices/virtual", Enabled: true, EmuResourceMap: map[string]*domain.EmuResource{ ".": { Kind: domain.DirEmuResource, Mode: os.ModeDir | os.FileMode(uint32(0755)), Enabled: true, }, "dmi": { Kind: domain.DirEmuResource, Mode: os.ModeDir | os.FileMode(uint32(0755)), Enabled: true, }, }, }, map[string]bool{ "net": true, }, }
var SysKernel_Handler = &SysKernel{ domain.HandlerBase{ Name: "SysKernel", Path: "/sys/kernel", Enabled: true, EmuResourceMap: map[string]*domain.EmuResource{ "config": { Kind: domain.DirEmuResource, Mode: os.ModeDir | os.FileMode(uint32(0755)), Enabled: true, }, "debug": { Kind: domain.DirEmuResource, Mode: os.ModeDir | os.FileMode(uint32(0700)), Enabled: true, }, "tracing": { Kind: domain.DirEmuResource, Mode: os.ModeDir | os.FileMode(uint32(0700)), Enabled: true, }, "security": { Kind: domain.DirEmuResource, Mode: os.ModeDir | os.FileMode(uint32(0755)), Enabled: true, }, }, }, }
var SysModuleNfconntrackParameters_Handler = &SysModuleNfconntrackParameters{ domain.HandlerBase{ Name: "SysModuleNfconntrackParameters", Path: "/sys/module/nf_conntrack/parameters", Enabled: true, EmuResourceMap: map[string]*domain.EmuResource{ "hashsize": { Kind: domain.FileEmuResource, Mode: os.FileMode(uint32(0600)), Size: 4096, Enabled: true, }, }, }, }
Functions ¶
This section is empty.
Types ¶
type PassThrough ¶
type PassThrough struct {
domain.HandlerBase
}
func (*PassThrough) GetEnabled ¶
func (h *PassThrough) GetEnabled() bool
func (*PassThrough) GetName ¶
func (h *PassThrough) GetName() string
func (*PassThrough) GetPath ¶
func (h *PassThrough) GetPath() string
func (*PassThrough) GetResourceMutex ¶
func (h *PassThrough) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*PassThrough) GetResourcesList ¶
func (h *PassThrough) GetResourcesList() []string
func (*PassThrough) GetService ¶
func (h *PassThrough) GetService() domain.HandlerServiceIface
func (*PassThrough) Lookup ¶
func (h *PassThrough) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*PassThrough) Open ¶
func (h *PassThrough) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*PassThrough) Read ¶
func (h *PassThrough) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*PassThrough) ReadDirAll ¶
func (h *PassThrough) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*PassThrough) ReadLink ¶
func (h *PassThrough) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*PassThrough) SetEnabled ¶
func (h *PassThrough) SetEnabled(b bool)
func (*PassThrough) SetService ¶
func (h *PassThrough) SetService(hs domain.HandlerServiceIface)
func (*PassThrough) Setattr ¶
func (h *PassThrough) Setattr( n domain.IOnodeIface, req *domain.HandlerRequest) error
func (*PassThrough) Write ¶
func (h *PassThrough) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type ProcSwaps ¶
type ProcSwaps struct {
domain.HandlerBase
}
func (*ProcSwaps) GetEnabled ¶
func (*ProcSwaps) GetResourceMutex ¶
func (h *ProcSwaps) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*ProcSwaps) GetResourcesList ¶
func (*ProcSwaps) GetService ¶
func (h *ProcSwaps) GetService() domain.HandlerServiceIface
func (*ProcSwaps) Lookup ¶
func (h *ProcSwaps) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*ProcSwaps) Open ¶
func (h *ProcSwaps) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*ProcSwaps) Read ¶
func (h *ProcSwaps) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*ProcSwaps) ReadDirAll ¶
func (h *ProcSwaps) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*ProcSwaps) ReadLink ¶
func (h *ProcSwaps) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*ProcSwaps) SetEnabled ¶
func (*ProcSwaps) SetService ¶
func (h *ProcSwaps) SetService(hs domain.HandlerServiceIface)
func (*ProcSwaps) Write ¶
func (h *ProcSwaps) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type ProcSys ¶
type ProcSys struct {
domain.HandlerBase
}
func (*ProcSys) GetEnabled ¶
func (*ProcSys) GetResourceMutex ¶
func (h *ProcSys) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*ProcSys) GetResourcesList ¶
func (*ProcSys) GetService ¶
func (h *ProcSys) GetService() domain.HandlerServiceIface
func (*ProcSys) Lookup ¶
func (h *ProcSys) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*ProcSys) Open ¶
func (h *ProcSys) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*ProcSys) Read ¶
func (h *ProcSys) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*ProcSys) ReadDirAll ¶
func (h *ProcSys) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*ProcSys) ReadLink ¶
func (h *ProcSys) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*ProcSys) SetEnabled ¶
func (*ProcSys) SetService ¶
func (h *ProcSys) SetService(hs domain.HandlerServiceIface)
func (*ProcSys) Write ¶
func (h *ProcSys) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type ProcSysFs ¶
type ProcSysFs struct {
domain.HandlerBase
}
func (*ProcSysFs) GetEnabled ¶
func (*ProcSysFs) GetResourceMutex ¶
func (h *ProcSysFs) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*ProcSysFs) GetResourcesList ¶
func (*ProcSysFs) GetService ¶
func (h *ProcSysFs) GetService() domain.HandlerServiceIface
func (*ProcSysFs) Lookup ¶
func (h *ProcSysFs) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*ProcSysFs) Open ¶
func (h *ProcSysFs) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*ProcSysFs) Read ¶
func (h *ProcSysFs) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*ProcSysFs) ReadDirAll ¶
func (h *ProcSysFs) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*ProcSysFs) ReadLink ¶
func (h *ProcSysFs) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*ProcSysFs) SetEnabled ¶
func (*ProcSysFs) SetService ¶
func (h *ProcSysFs) SetService(hs domain.HandlerServiceIface)
func (*ProcSysFs) Write ¶
func (h *ProcSysFs) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type ProcSysKernel ¶
type ProcSysKernel struct {
domain.HandlerBase
}
func (*ProcSysKernel) GetEnabled ¶
func (h *ProcSysKernel) GetEnabled() bool
func (*ProcSysKernel) GetName ¶
func (h *ProcSysKernel) GetName() string
func (*ProcSysKernel) GetPath ¶
func (h *ProcSysKernel) GetPath() string
func (*ProcSysKernel) GetResourceMutex ¶
func (h *ProcSysKernel) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*ProcSysKernel) GetResourcesList ¶
func (h *ProcSysKernel) GetResourcesList() []string
func (*ProcSysKernel) GetService ¶
func (h *ProcSysKernel) GetService() domain.HandlerServiceIface
func (*ProcSysKernel) Lookup ¶
func (h *ProcSysKernel) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*ProcSysKernel) Open ¶
func (h *ProcSysKernel) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*ProcSysKernel) Read ¶
func (h *ProcSysKernel) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*ProcSysKernel) ReadDirAll ¶
func (h *ProcSysKernel) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*ProcSysKernel) ReadLink ¶
func (h *ProcSysKernel) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*ProcSysKernel) SetEnabled ¶
func (h *ProcSysKernel) SetEnabled(b bool)
func (*ProcSysKernel) SetService ¶
func (h *ProcSysKernel) SetService(hs domain.HandlerServiceIface)
func (*ProcSysKernel) Write ¶
func (h *ProcSysKernel) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type ProcSysKernelYama ¶
type ProcSysKernelYama struct {
domain.HandlerBase
}
func (*ProcSysKernelYama) GetEnabled ¶
func (h *ProcSysKernelYama) GetEnabled() bool
func (*ProcSysKernelYama) GetName ¶
func (h *ProcSysKernelYama) GetName() string
func (*ProcSysKernelYama) GetPath ¶
func (h *ProcSysKernelYama) GetPath() string
func (*ProcSysKernelYama) GetResourceMutex ¶
func (h *ProcSysKernelYama) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*ProcSysKernelYama) GetResourcesList ¶
func (h *ProcSysKernelYama) GetResourcesList() []string
func (*ProcSysKernelYama) GetService ¶
func (h *ProcSysKernelYama) GetService() domain.HandlerServiceIface
func (*ProcSysKernelYama) Lookup ¶
func (h *ProcSysKernelYama) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*ProcSysKernelYama) Open ¶
func (h *ProcSysKernelYama) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*ProcSysKernelYama) Read ¶
func (h *ProcSysKernelYama) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*ProcSysKernelYama) ReadDirAll ¶
func (h *ProcSysKernelYama) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*ProcSysKernelYama) ReadLink ¶
func (h *ProcSysKernelYama) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*ProcSysKernelYama) SetEnabled ¶
func (h *ProcSysKernelYama) SetEnabled(b bool)
func (*ProcSysKernelYama) SetService ¶
func (h *ProcSysKernelYama) SetService(hs domain.HandlerServiceIface)
func (*ProcSysKernelYama) Write ¶
func (h *ProcSysKernelYama) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type ProcSysNetCore ¶
type ProcSysNetCore struct {
domain.HandlerBase
}
/proc/sys/net/core handler
Emulated resources:
* /proc/sys/net/core/default_qdisc
Documentation: The default queuing discipline to use for network devices. This allows overriding the default of pfifo_fast with an alternative. Since the default queuing discipline is created without additional parameters so is best suited to queuing disciplines that work well without configuration like stochastic fair queue (sfq), CoDel (codel) or fair queue CoDel (fq_codel). Don’t use queuing disciplines like Hierarchical Token Bucket or Deficit Round Robin which require setting up classes and bandwidths. Note that physical multiqueue interfaces still use mq as root qdisc, which in turn uses this default for its leaves. Virtual devices (like e.g. lo or veth) ignore this setting and instead default to noqueue. Default: pfifo_fast.
Supported schedulers (https://github.com/torvalds/linux/blob/master/net/sched/Kconfig#L478):
- "pfifo_fast"
- "fq"
- "fq_codel"
- "sfq"
- "pfifo_fast"
As this is a system-wide attribute with mutually-exclusive values, changes will be only made superficially (at sys-container level). IOW, the host FS value will be left untouched.
* /proc/sys/net/core/somaxconn
Description: Limit of socket listen() backlog, known in userspace as SOMAXCONN. Somaxconn refers to the maximum number of clients that the server can accept to process data, that is, to complete the connection limit. Defaults to 128.
func (*ProcSysNetCore) GetEnabled ¶
func (h *ProcSysNetCore) GetEnabled() bool
func (*ProcSysNetCore) GetName ¶
func (h *ProcSysNetCore) GetName() string
func (*ProcSysNetCore) GetPath ¶
func (h *ProcSysNetCore) GetPath() string
func (*ProcSysNetCore) GetResourceMutex ¶
func (h *ProcSysNetCore) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*ProcSysNetCore) GetResourcesList ¶
func (h *ProcSysNetCore) GetResourcesList() []string
func (*ProcSysNetCore) GetService ¶
func (h *ProcSysNetCore) GetService() domain.HandlerServiceIface
func (*ProcSysNetCore) Lookup ¶
func (h *ProcSysNetCore) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*ProcSysNetCore) Open ¶
func (h *ProcSysNetCore) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*ProcSysNetCore) Read ¶
func (h *ProcSysNetCore) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*ProcSysNetCore) ReadDirAll ¶
func (h *ProcSysNetCore) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*ProcSysNetCore) ReadLink ¶
func (h *ProcSysNetCore) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*ProcSysNetCore) SetEnabled ¶
func (h *ProcSysNetCore) SetEnabled(b bool)
func (*ProcSysNetCore) SetService ¶
func (h *ProcSysNetCore) SetService(hs domain.HandlerServiceIface)
func (*ProcSysNetCore) Write ¶
func (h *ProcSysNetCore) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type ProcSysNetIpv4 ¶
type ProcSysNetIpv4 struct {
domain.HandlerBase
}
func (*ProcSysNetIpv4) GetEnabled ¶
func (h *ProcSysNetIpv4) GetEnabled() bool
func (*ProcSysNetIpv4) GetName ¶
func (h *ProcSysNetIpv4) GetName() string
func (*ProcSysNetIpv4) GetPath ¶
func (h *ProcSysNetIpv4) GetPath() string
func (*ProcSysNetIpv4) GetResourceMutex ¶
func (h *ProcSysNetIpv4) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*ProcSysNetIpv4) GetResourcesList ¶
func (h *ProcSysNetIpv4) GetResourcesList() []string
func (*ProcSysNetIpv4) GetService ¶
func (h *ProcSysNetIpv4) GetService() domain.HandlerServiceIface
func (*ProcSysNetIpv4) Lookup ¶
func (h *ProcSysNetIpv4) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*ProcSysNetIpv4) Open ¶
func (h *ProcSysNetIpv4) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*ProcSysNetIpv4) Read ¶
func (h *ProcSysNetIpv4) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*ProcSysNetIpv4) ReadDirAll ¶
func (h *ProcSysNetIpv4) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*ProcSysNetIpv4) ReadLink ¶
func (h *ProcSysNetIpv4) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*ProcSysNetIpv4) SetEnabled ¶
func (h *ProcSysNetIpv4) SetEnabled(b bool)
func (*ProcSysNetIpv4) SetService ¶
func (h *ProcSysNetIpv4) SetService(hs domain.HandlerServiceIface)
func (*ProcSysNetIpv4) Write ¶
func (h *ProcSysNetIpv4) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type ProcSysNetIpv4Neigh ¶
type ProcSysNetIpv4Neigh struct {
domain.HandlerBase
}
func (*ProcSysNetIpv4Neigh) GetEnabled ¶
func (h *ProcSysNetIpv4Neigh) GetEnabled() bool
func (*ProcSysNetIpv4Neigh) GetName ¶
func (h *ProcSysNetIpv4Neigh) GetName() string
func (*ProcSysNetIpv4Neigh) GetPath ¶
func (h *ProcSysNetIpv4Neigh) GetPath() string
func (*ProcSysNetIpv4Neigh) GetResourceMutex ¶
func (h *ProcSysNetIpv4Neigh) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*ProcSysNetIpv4Neigh) GetResourcesList ¶
func (h *ProcSysNetIpv4Neigh) GetResourcesList() []string
func (*ProcSysNetIpv4Neigh) GetService ¶
func (h *ProcSysNetIpv4Neigh) GetService() domain.HandlerServiceIface
func (*ProcSysNetIpv4Neigh) Lookup ¶
func (h *ProcSysNetIpv4Neigh) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*ProcSysNetIpv4Neigh) Open ¶
func (h *ProcSysNetIpv4Neigh) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*ProcSysNetIpv4Neigh) Read ¶
func (h *ProcSysNetIpv4Neigh) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*ProcSysNetIpv4Neigh) ReadDirAll ¶
func (h *ProcSysNetIpv4Neigh) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*ProcSysNetIpv4Neigh) ReadLink ¶
func (h *ProcSysNetIpv4Neigh) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*ProcSysNetIpv4Neigh) SetEnabled ¶
func (h *ProcSysNetIpv4Neigh) SetEnabled(b bool)
func (*ProcSysNetIpv4Neigh) SetService ¶
func (h *ProcSysNetIpv4Neigh) SetService(hs domain.HandlerServiceIface)
func (*ProcSysNetIpv4Neigh) Write ¶
func (h *ProcSysNetIpv4Neigh) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type ProcSysNetIpv4Vs ¶
type ProcSysNetIpv4Vs struct {
domain.HandlerBase
}
func (*ProcSysNetIpv4Vs) GetEnabled ¶
func (h *ProcSysNetIpv4Vs) GetEnabled() bool
func (*ProcSysNetIpv4Vs) GetName ¶
func (h *ProcSysNetIpv4Vs) GetName() string
func (*ProcSysNetIpv4Vs) GetPath ¶
func (h *ProcSysNetIpv4Vs) GetPath() string
func (*ProcSysNetIpv4Vs) GetResourceMutex ¶
func (h *ProcSysNetIpv4Vs) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*ProcSysNetIpv4Vs) GetResourcesList ¶
func (h *ProcSysNetIpv4Vs) GetResourcesList() []string
func (*ProcSysNetIpv4Vs) GetService ¶
func (h *ProcSysNetIpv4Vs) GetService() domain.HandlerServiceIface
func (*ProcSysNetIpv4Vs) Lookup ¶
func (h *ProcSysNetIpv4Vs) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*ProcSysNetIpv4Vs) Open ¶
func (h *ProcSysNetIpv4Vs) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*ProcSysNetIpv4Vs) Read ¶
func (h *ProcSysNetIpv4Vs) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*ProcSysNetIpv4Vs) ReadDirAll ¶
func (h *ProcSysNetIpv4Vs) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*ProcSysNetIpv4Vs) ReadLink ¶
func (h *ProcSysNetIpv4Vs) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*ProcSysNetIpv4Vs) SetEnabled ¶
func (h *ProcSysNetIpv4Vs) SetEnabled(b bool)
func (*ProcSysNetIpv4Vs) SetService ¶
func (h *ProcSysNetIpv4Vs) SetService(hs domain.HandlerServiceIface)
func (*ProcSysNetIpv4Vs) Write ¶
func (h *ProcSysNetIpv4Vs) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type ProcSysNetNetfilter ¶
type ProcSysNetNetfilter struct {
domain.HandlerBase
}
func (*ProcSysNetNetfilter) GetEnabled ¶
func (h *ProcSysNetNetfilter) GetEnabled() bool
func (*ProcSysNetNetfilter) GetName ¶
func (h *ProcSysNetNetfilter) GetName() string
func (*ProcSysNetNetfilter) GetPath ¶
func (h *ProcSysNetNetfilter) GetPath() string
func (*ProcSysNetNetfilter) GetResourceMutex ¶
func (h *ProcSysNetNetfilter) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*ProcSysNetNetfilter) GetResourcesList ¶
func (h *ProcSysNetNetfilter) GetResourcesList() []string
func (*ProcSysNetNetfilter) GetService ¶
func (h *ProcSysNetNetfilter) GetService() domain.HandlerServiceIface
func (*ProcSysNetNetfilter) Lookup ¶
func (h *ProcSysNetNetfilter) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*ProcSysNetNetfilter) Open ¶
func (h *ProcSysNetNetfilter) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*ProcSysNetNetfilter) Read ¶
func (h *ProcSysNetNetfilter) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*ProcSysNetNetfilter) ReadDirAll ¶
func (h *ProcSysNetNetfilter) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*ProcSysNetNetfilter) ReadLink ¶
func (h *ProcSysNetNetfilter) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*ProcSysNetNetfilter) SetEnabled ¶
func (h *ProcSysNetNetfilter) SetEnabled(b bool)
func (*ProcSysNetNetfilter) SetService ¶
func (h *ProcSysNetNetfilter) SetService(hs domain.HandlerServiceIface)
func (*ProcSysNetNetfilter) Write ¶
func (h *ProcSysNetNetfilter) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type ProcSysNetUnix ¶
type ProcSysNetUnix struct {
domain.HandlerBase
}
func (*ProcSysNetUnix) GetEnabled ¶
func (h *ProcSysNetUnix) GetEnabled() bool
func (*ProcSysNetUnix) GetName ¶
func (h *ProcSysNetUnix) GetName() string
func (*ProcSysNetUnix) GetPath ¶
func (h *ProcSysNetUnix) GetPath() string
func (*ProcSysNetUnix) GetResourceMutex ¶
func (h *ProcSysNetUnix) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*ProcSysNetUnix) GetResourcesList ¶
func (h *ProcSysNetUnix) GetResourcesList() []string
func (*ProcSysNetUnix) GetService ¶
func (h *ProcSysNetUnix) GetService() domain.HandlerServiceIface
func (*ProcSysNetUnix) Lookup ¶
func (h *ProcSysNetUnix) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*ProcSysNetUnix) Open ¶
func (h *ProcSysNetUnix) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*ProcSysNetUnix) Read ¶
func (h *ProcSysNetUnix) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*ProcSysNetUnix) ReadDirAll ¶
func (h *ProcSysNetUnix) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*ProcSysNetUnix) ReadLink ¶
func (h *ProcSysNetUnix) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*ProcSysNetUnix) SetEnabled ¶
func (h *ProcSysNetUnix) SetEnabled(b bool)
func (*ProcSysNetUnix) SetService ¶
func (h *ProcSysNetUnix) SetService(hs domain.HandlerServiceIface)
func (*ProcSysNetUnix) Write ¶
func (h *ProcSysNetUnix) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type ProcSysVm ¶
type ProcSysVm struct {
domain.HandlerBase
}
func (*ProcSysVm) GetEnabled ¶
func (*ProcSysVm) GetResourceMutex ¶
func (h *ProcSysVm) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*ProcSysVm) GetResourcesList ¶
func (*ProcSysVm) GetService ¶
func (h *ProcSysVm) GetService() domain.HandlerServiceIface
func (*ProcSysVm) Lookup ¶
func (h *ProcSysVm) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*ProcSysVm) Open ¶
func (h *ProcSysVm) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*ProcSysVm) Read ¶
func (h *ProcSysVm) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*ProcSysVm) ReadDirAll ¶
func (h *ProcSysVm) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*ProcSysVm) ReadLink ¶
func (h *ProcSysVm) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*ProcSysVm) SetEnabled ¶
func (*ProcSysVm) SetService ¶
func (h *ProcSysVm) SetService(hs domain.HandlerServiceIface)
func (*ProcSysVm) Write ¶
func (h *ProcSysVm) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type ProcUptime ¶
type ProcUptime struct {
domain.HandlerBase
}
func (*ProcUptime) GetEnabled ¶
func (h *ProcUptime) GetEnabled() bool
func (*ProcUptime) GetName ¶
func (h *ProcUptime) GetName() string
func (*ProcUptime) GetPath ¶
func (h *ProcUptime) GetPath() string
func (*ProcUptime) GetResourceMutex ¶
func (h *ProcUptime) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*ProcUptime) GetResourcesList ¶
func (h *ProcUptime) GetResourcesList() []string
func (*ProcUptime) GetService ¶
func (h *ProcUptime) GetService() domain.HandlerServiceIface
func (*ProcUptime) Lookup ¶
func (h *ProcUptime) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*ProcUptime) Open ¶
func (h *ProcUptime) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*ProcUptime) Read ¶
func (h *ProcUptime) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*ProcUptime) ReadDirAll ¶
func (h *ProcUptime) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*ProcUptime) ReadLink ¶
func (h *ProcUptime) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*ProcUptime) SetEnabled ¶
func (h *ProcUptime) SetEnabled(b bool)
func (*ProcUptime) SetService ¶
func (h *ProcUptime) SetService(hs domain.HandlerServiceIface)
func (*ProcUptime) Write ¶
func (h *ProcUptime) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type Root ¶
type Root struct {
domain.HandlerBase
}
func (*Root) GetEnabled ¶
func (*Root) GetResourceMutex ¶
func (h *Root) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*Root) GetResourcesList ¶
func (*Root) GetService ¶
func (h *Root) GetService() domain.HandlerServiceIface
func (*Root) Lookup ¶
func (h *Root) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*Root) Open ¶
func (h *Root) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*Root) Read ¶
func (h *Root) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*Root) ReadDirAll ¶
func (h *Root) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*Root) ReadLink ¶
func (h *Root) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*Root) SetEnabled ¶
func (*Root) SetService ¶
func (h *Root) SetService(hs domain.HandlerServiceIface)
func (*Root) Write ¶
func (h *Root) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type SysDevicesVirtual ¶
type SysDevicesVirtual struct { domain.HandlerBase // contains filtered or unexported fields }
func (*SysDevicesVirtual) GetEnabled ¶
func (h *SysDevicesVirtual) GetEnabled() bool
func (*SysDevicesVirtual) GetName ¶
func (h *SysDevicesVirtual) GetName() string
func (*SysDevicesVirtual) GetPath ¶
func (h *SysDevicesVirtual) GetPath() string
func (*SysDevicesVirtual) GetResourceMutex ¶
func (h *SysDevicesVirtual) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*SysDevicesVirtual) GetResourcesList ¶
func (h *SysDevicesVirtual) GetResourcesList() []string
func (*SysDevicesVirtual) GetService ¶
func (h *SysDevicesVirtual) GetService() domain.HandlerServiceIface
func (*SysDevicesVirtual) Lookup ¶
func (h *SysDevicesVirtual) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*SysDevicesVirtual) Open ¶
func (h *SysDevicesVirtual) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*SysDevicesVirtual) Read ¶
func (h *SysDevicesVirtual) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*SysDevicesVirtual) ReadDirAll ¶
func (h *SysDevicesVirtual) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*SysDevicesVirtual) ReadLink ¶
func (h *SysDevicesVirtual) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*SysDevicesVirtual) SetEnabled ¶
func (h *SysDevicesVirtual) SetEnabled(b bool)
func (*SysDevicesVirtual) SetService ¶
func (h *SysDevicesVirtual) SetService(hs domain.HandlerServiceIface)
func (*SysDevicesVirtual) Write ¶
func (h *SysDevicesVirtual) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type SysDevicesVirtualDmi ¶
type SysDevicesVirtualDmi struct {
domain.HandlerBase
}
func (*SysDevicesVirtualDmi) GetEnabled ¶
func (h *SysDevicesVirtualDmi) GetEnabled() bool
func (*SysDevicesVirtualDmi) GetName ¶
func (h *SysDevicesVirtualDmi) GetName() string
func (*SysDevicesVirtualDmi) GetPath ¶
func (h *SysDevicesVirtualDmi) GetPath() string
func (*SysDevicesVirtualDmi) GetResourceMutex ¶
func (h *SysDevicesVirtualDmi) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*SysDevicesVirtualDmi) GetResourcesList ¶
func (h *SysDevicesVirtualDmi) GetResourcesList() []string
func (*SysDevicesVirtualDmi) GetService ¶
func (h *SysDevicesVirtualDmi) GetService() domain.HandlerServiceIface
func (*SysDevicesVirtualDmi) Lookup ¶
func (h *SysDevicesVirtualDmi) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*SysDevicesVirtualDmi) Open ¶
func (h *SysDevicesVirtualDmi) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*SysDevicesVirtualDmi) Read ¶
func (h *SysDevicesVirtualDmi) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*SysDevicesVirtualDmi) ReadDirAll ¶
func (h *SysDevicesVirtualDmi) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*SysDevicesVirtualDmi) ReadLink ¶
func (h *SysDevicesVirtualDmi) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*SysDevicesVirtualDmi) SetEnabled ¶
func (h *SysDevicesVirtualDmi) SetEnabled(b bool)
func (*SysDevicesVirtualDmi) SetService ¶
func (h *SysDevicesVirtualDmi) SetService(hs domain.HandlerServiceIface)
func (*SysDevicesVirtualDmi) Write ¶
func (h *SysDevicesVirtualDmi) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type SysDevicesVirtualDmiId ¶
type SysDevicesVirtualDmiId struct {
domain.HandlerBase
}
func (*SysDevicesVirtualDmiId) CreateCntrUuid ¶
func (h *SysDevicesVirtualDmiId) CreateCntrUuid(cntr domain.ContainerIface) string
Method is public exclusively for unit-testing purposes.
func (*SysDevicesVirtualDmiId) GetEnabled ¶
func (h *SysDevicesVirtualDmiId) GetEnabled() bool
func (*SysDevicesVirtualDmiId) GetName ¶
func (h *SysDevicesVirtualDmiId) GetName() string
func (*SysDevicesVirtualDmiId) GetPath ¶
func (h *SysDevicesVirtualDmiId) GetPath() string
func (*SysDevicesVirtualDmiId) GetResourceMutex ¶
func (h *SysDevicesVirtualDmiId) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*SysDevicesVirtualDmiId) GetResourcesList ¶
func (h *SysDevicesVirtualDmiId) GetResourcesList() []string
func (*SysDevicesVirtualDmiId) GetService ¶
func (h *SysDevicesVirtualDmiId) GetService() domain.HandlerServiceIface
func (*SysDevicesVirtualDmiId) Lookup ¶
func (h *SysDevicesVirtualDmiId) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*SysDevicesVirtualDmiId) Open ¶
func (h *SysDevicesVirtualDmiId) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*SysDevicesVirtualDmiId) Read ¶
func (h *SysDevicesVirtualDmiId) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*SysDevicesVirtualDmiId) ReadDirAll ¶
func (h *SysDevicesVirtualDmiId) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*SysDevicesVirtualDmiId) ReadLink ¶
func (h *SysDevicesVirtualDmiId) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*SysDevicesVirtualDmiId) SetEnabled ¶
func (h *SysDevicesVirtualDmiId) SetEnabled(b bool)
func (*SysDevicesVirtualDmiId) SetService ¶
func (h *SysDevicesVirtualDmiId) SetService(hs domain.HandlerServiceIface)
func (*SysDevicesVirtualDmiId) Write ¶
func (h *SysDevicesVirtualDmiId) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type SysKernel ¶
type SysKernel struct {
domain.HandlerBase
}
func (*SysKernel) GetEnabled ¶
func (*SysKernel) GetResourceMutex ¶
func (h *SysKernel) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*SysKernel) GetResourcesList ¶
func (*SysKernel) GetService ¶
func (h *SysKernel) GetService() domain.HandlerServiceIface
func (*SysKernel) Lookup ¶
func (h *SysKernel) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*SysKernel) Open ¶
func (h *SysKernel) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*SysKernel) Read ¶
func (h *SysKernel) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*SysKernel) ReadDirAll ¶
func (h *SysKernel) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*SysKernel) ReadLink ¶
func (h *SysKernel) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*SysKernel) SetEnabled ¶
func (*SysKernel) SetService ¶
func (h *SysKernel) SetService(hs domain.HandlerServiceIface)
func (*SysKernel) Write ¶
func (h *SysKernel) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
type SysModuleNfconntrackParameters ¶
type SysModuleNfconntrackParameters struct {
domain.HandlerBase
}
func (*SysModuleNfconntrackParameters) GetEnabled ¶
func (h *SysModuleNfconntrackParameters) GetEnabled() bool
func (*SysModuleNfconntrackParameters) GetName ¶
func (h *SysModuleNfconntrackParameters) GetName() string
func (*SysModuleNfconntrackParameters) GetPath ¶
func (h *SysModuleNfconntrackParameters) GetPath() string
func (*SysModuleNfconntrackParameters) GetResourceMutex ¶
func (h *SysModuleNfconntrackParameters) GetResourceMutex(n domain.IOnodeIface) *sync.Mutex
func (*SysModuleNfconntrackParameters) GetResourcesList ¶
func (h *SysModuleNfconntrackParameters) GetResourcesList() []string
func (*SysModuleNfconntrackParameters) GetService ¶
func (h *SysModuleNfconntrackParameters) GetService() domain.HandlerServiceIface
func (*SysModuleNfconntrackParameters) Lookup ¶
func (h *SysModuleNfconntrackParameters) Lookup( n domain.IOnodeIface, req *domain.HandlerRequest) (os.FileInfo, error)
func (*SysModuleNfconntrackParameters) Open ¶
func (h *SysModuleNfconntrackParameters) Open( n domain.IOnodeIface, req *domain.HandlerRequest) (bool, error)
func (*SysModuleNfconntrackParameters) Read ¶
func (h *SysModuleNfconntrackParameters) Read( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
func (*SysModuleNfconntrackParameters) ReadDirAll ¶
func (h *SysModuleNfconntrackParameters) ReadDirAll( n domain.IOnodeIface, req *domain.HandlerRequest) ([]os.FileInfo, error)
func (*SysModuleNfconntrackParameters) ReadLink ¶
func (h *SysModuleNfconntrackParameters) ReadLink( n domain.IOnodeIface, req *domain.HandlerRequest) (string, error)
func (*SysModuleNfconntrackParameters) SetEnabled ¶
func (h *SysModuleNfconntrackParameters) SetEnabled(b bool)
func (*SysModuleNfconntrackParameters) SetService ¶
func (h *SysModuleNfconntrackParameters) SetService(hs domain.HandlerServiceIface)
func (*SysModuleNfconntrackParameters) Write ¶
func (h *SysModuleNfconntrackParameters) Write( n domain.IOnodeIface, req *domain.HandlerRequest) (int, error)
Source Files ¶
- passThrough.go
- procSwaps.go
- procSys.go
- procSysFs.go
- procSysKernel.go
- procSysKernelYamaPtrace.go
- procSysNetCore.go
- procSysNetIpv4.go
- procSysNetIpv4Neigh.go
- procSysNetIpv4Vs.go
- procSysNetNetfilter.go
- procSysNetUnix.go
- procSysVm.go
- procUptime.go
- root.go
- sysDevicesVirtual.go
- sysDevicesVirtualDmi.go
- sysDevicesVirtualDmiId.go
- sysKernel.go
- sysModuleNfconntrackParameters.go
- utils.go