Documentation ¶
Index ¶
Constants ¶
View Source
const ( ResourceEventAdd = iota + 1 ResourceEventDelete )
View Source
const (
DefaultScanPortProvidersInterval = 60
)
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(ctx context.Context, config controllers.ControllerConfig) controllers.IController
Types ¶
type PortController ¶
type PortController struct {
// contains filtered or unexported fields
}
func (*PortController) Name ¶
func (c *PortController) Name() string
func (*PortController) Ready ¶
func (c *PortController) Ready() <-chan struct{}
func (*PortController) Run ¶
func (c *PortController) Run(i int) error
func (*PortController) Stop ¶
func (c *PortController) Stop()
type ResourceEvent ¶
type ResourceEvent int
Click to show internal directories.
Click to hide internal directories.