Documentation
¶
Index ¶
Constants ¶
View Source
const ( ControllerName = "harvester-network-hostnetworkconfig-controller" IPModeDHCP = "dhcp" IPModeStatic = "static" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) OnChange ¶
func (h *Handler) OnChange(_ string, hnc *networkv1.HostNetworkConfig) (*networkv1.HostNetworkConfig, error)
func (*Handler) OnRemove ¶
func (h *Handler) OnRemove(_ string, hnc *networkv1.HostNetworkConfig) (*networkv1.HostNetworkConfig, error)
type LeaseManager ¶
type LeaseManager struct {
// contains filtered or unexported fields
}
func NewLeaseManager ¶
func (*LeaseManager) Stop ¶
func (lm *LeaseManager) Stop()
Click to show internal directories.
Click to hide internal directories.