Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type CGroupFSMonitor ¶
type CGroupFSMonitor struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts ...Opt) (ret *CGroupFSMonitor, err error)
func (*CGroupFSMonitor) Events ¶
func (w *CGroupFSMonitor) Events() <-chan types.CGroupEvents
func (*CGroupFSMonitor) RunCGroupMonitor ¶
func (w *CGroupFSMonitor) RunCGroupMonitor(ctx context.Context) (err error)
type Opt ¶
type Opt func(w *CGroupFSMonitor) (ret *CGroupFSMonitor, err error)
func WithCgroupRoot ¶
func WithCgroupRoot(root config.CGroupRoot) Opt
func WithLogger ¶
func WithLogger(log *zap.SugaredLogger) Opt
Click to show internal directories.
Click to hide internal directories.