config

package
v0.0.0-...-1321d40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2020 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

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 HasClusterNetworkConfigChange

func HasClusterNetworkConfigChange(preConfig, curConfig *configv1.Network) bool

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.

func (*ReconcileConfig) Reconcile

func (r *ReconcileConfig) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile propagates changes from the cluster config and operater config to antrea config. And then update antrea resources if antrea config changes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL