Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = "harvester-clusternetwork-controller"
)
ClusterNetwork controller watches ClusterNetworks with the same name of network type to create or delete NodeNetwork.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (Handler) OnChange ¶
func (h Handler) OnChange(key string, cn *networkv1.ClusterNetwork) (*networkv1.ClusterNetwork, error)
func (Handler) OnRemove ¶
func (h Handler) OnRemove(key string, cn *networkv1.ClusterNetwork) (*networkv1.ClusterNetwork, error)
Click to show internal directories.
Click to hide internal directories.