Documentation ¶
Index ¶
- Constants
- func Register(ctx context.Context, management *config.Management) error
- type Handler
- func (h Handler) CheckConnectivityPeriodically()
- func (h Handler) EnsureJob2GetLayer3NetworkInfo(nad *cniv1.NetworkAttachmentDefinition) error
- func (h Handler) OnChange(key string, nad *cniv1.NetworkAttachmentDefinition) (*cniv1.NetworkAttachmentDefinition, error)
- func (h Handler) OnRemove(key string, nad *cniv1.NetworkAttachmentDefinition) (*cniv1.NetworkAttachmentDefinition, error)
Constants ¶
View Source
const ( ControllerName = "harvester-network-manager-nad-controller" JobEnvNadNetwork = "NAD_NETWORKS" JobEnvDHCPServer = "DHCP_SERVER" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (Handler) CheckConnectivityPeriodically ¶ added in v0.2.6
func (h Handler) CheckConnectivityPeriodically()
func (Handler) EnsureJob2GetLayer3NetworkInfo ¶ added in v0.3.0
func (h Handler) EnsureJob2GetLayer3NetworkInfo(nad *cniv1.NetworkAttachmentDefinition) error
func (Handler) OnChange ¶
func (h Handler) OnChange(key string, nad *cniv1.NetworkAttachmentDefinition) (*cniv1.NetworkAttachmentDefinition, error)
func (Handler) OnRemove ¶
func (h Handler) OnRemove(key string, nad *cniv1.NetworkAttachmentDefinition) (*cniv1.NetworkAttachmentDefinition, error)
Click to show internal directories.
Click to hide internal directories.