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(_ string, nad *cniv1.NetworkAttachmentDefinition) (*cniv1.NetworkAttachmentDefinition, error)
- func (h Handler) OnRemove(_ string, nad *cniv1.NetworkAttachmentDefinition) (*cniv1.NetworkAttachmentDefinition, error)
Constants ¶
View Source
const ( ControllerName = "cloudweav-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 ¶
func (h Handler) CheckConnectivityPeriodically()
func (Handler) EnsureJob2GetLayer3NetworkInfo ¶
func (h Handler) EnsureJob2GetLayer3NetworkInfo(nad *cniv1.NetworkAttachmentDefinition) error
func (Handler) OnChange ¶
func (h Handler) OnChange(_ string, nad *cniv1.NetworkAttachmentDefinition) (*cniv1.NetworkAttachmentDefinition, error)
func (Handler) OnRemove ¶
func (h Handler) OnRemove(_ string, nad *cniv1.NetworkAttachmentDefinition) (*cniv1.NetworkAttachmentDefinition, error)
Click to show internal directories.
Click to hide internal directories.