Documentation
¶
Index ¶
Constants ¶
View Source
const (
ControllerName = "harvester-network-vlanconfig-controller"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (Handler) MatchNode ¶
func (h Handler) MatchNode(vc *networkv1.VlanConfig) (bool, error)
MatchNode will also return the executed vlanconfig with the same clusterNetwork on this node if existing
func (Handler) OnChange ¶
func (h Handler) OnChange(key string, vc *networkv1.VlanConfig) (*networkv1.VlanConfig, error)
func (Handler) OnRemove ¶
func (h Handler) OnRemove(key string, vc *networkv1.VlanConfig) (*networkv1.VlanConfig, error)
Click to show internal directories.
Click to hide internal directories.