Documentation ¶
Index ¶
- func Add(mgr manager.Manager, status *statusmanager.StatusManager, ...) error
- func BuildNetworkStatus(clusterConfig *configv1.Network, defaultMTU int) *configv1.NetworkStatus
- func FillConfigs(clusterConfig *configv1.Network, operConfig *operatorv1.AntreaInstall) error
- func GenerateRenderData(operatorNetwork *ocoperv1.Network, operConfig *operatorv1.AntreaInstall) (*render.RenderData, error)
- func HasClusterNetworkConfigChange(preConfig, curConfig *configv1.Network) bool
- func HasDefaultMTUChange(preConfig, curConfig *operatorv1.AntreaInstall) (bool, int, error)
- func NeedApplyChange(preConfig, curConfig *operatorv1.AntreaInstall) (agentNeedChange, controllerNeedChange, imageChange bool)
- func ValidateConfig(clusterConfig *configv1.Network, operConfig *operatorv1.AntreaInstall) error
- type ReconcileConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(mgr manager.Manager, status *statusmanager.StatusManager, sharedInfo *sharedinfo.SharedInfo) error
Add creates a new ConfigMap Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.
func BuildNetworkStatus ¶
func BuildNetworkStatus(clusterConfig *configv1.Network, defaultMTU int) *configv1.NetworkStatus
func FillConfigs ¶
func FillConfigs(clusterConfig *configv1.Network, operConfig *operatorv1.AntreaInstall) error
func GenerateRenderData ¶
func GenerateRenderData(operatorNetwork *ocoperv1.Network, operConfig *operatorv1.AntreaInstall) (*render.RenderData, error)
func HasDefaultMTUChange ¶
func HasDefaultMTUChange(preConfig, curConfig *operatorv1.AntreaInstall) (bool, int, error)
func NeedApplyChange ¶
func NeedApplyChange(preConfig, curConfig *operatorv1.AntreaInstall) (agentNeedChange, controllerNeedChange, imageChange bool)
func ValidateConfig ¶
func ValidateConfig(clusterConfig *configv1.Network, operConfig *operatorv1.AntreaInstall) error
Types ¶
type ReconcileConfig ¶
type ReconcileConfig struct {
// contains filtered or unexported fields
}
ReconcileConfig reconciles cluster network configuration changes.
Click to show internal directories.
Click to hide internal directories.