Documentation ¶
Index ¶
- Constants
- func Register(ctx context.Context, management *config.Management) error
- type Handler
- func (h Handler) EnsureClusterNetwork(key string, vc *networkv1.VlanConfig) (*networkv1.VlanConfig, error)
- func (h Handler) SetClusterNetworkReady(key string, vs *networkv1.VlanStatus) (*networkv1.VlanStatus, error)
- func (h Handler) SetClusterNetworkUnready(key string, vs *networkv1.VlanStatus) (*networkv1.VlanStatus, error)
Constants ¶
View Source
const (
ControllerName = "harvester-network-manager-vlanconfig-controller"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (Handler) EnsureClusterNetwork ¶
func (h Handler) EnsureClusterNetwork(key string, vc *networkv1.VlanConfig) (*networkv1.VlanConfig, error)
func (Handler) SetClusterNetworkReady ¶
func (h Handler) SetClusterNetworkReady(key string, vs *networkv1.VlanStatus) (*networkv1.VlanStatus, error)
func (Handler) SetClusterNetworkUnready ¶
func (h Handler) SetClusterNetworkUnready(key string, vs *networkv1.VlanStatus) (*networkv1.VlanStatus, error)
Click to show internal directories.
Click to hide internal directories.