networkaddonsconfig

package
v0.93.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const ManifestPath = "./data"

ManifestPath is the path to the manifest templates

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new NetworkAddonsConfig Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func IsMonitoringAvailable added in v0.58.0

func IsMonitoringAvailable(c kubernetes.Interface) (bool, error)

isMonitoringAvailable checks if we can deploy the monitoring component

Types

type ReconcileNetworkAddonsConfig

type ReconcileNetworkAddonsConfig struct {
	// contains filtered or unexported fields
}

ReconcileNetworkAddonsConfig reconciles a NetworkAddonsConfig object

func (*ReconcileNetworkAddonsConfig) ConvertNetworkAddonsConfigV1ToShared added in v0.41.0

func (r *ReconcileNetworkAddonsConfig) ConvertNetworkAddonsConfigV1ToShared(networkAddonsConfig *cnaov1.NetworkAddonsConfig) (*cnao.NetworkAddonsConfig, error)

Convert NetworkAddonsConfig to shared type

func (*ReconcileNetworkAddonsConfig) Reconcile

Reconcile reads that state of the cluster for a NetworkAddonsConfig object and makes changes based on the state read and what is in the NetworkAddonsConfig.Spec

type ReconcilePods added in v0.3.0

type ReconcilePods struct {
	// contains filtered or unexported fields
}

ReconcilePods watches for updates to specified resources and then updates its StatusManager

func (*ReconcilePods) Reconcile added in v0.3.0

func (r *ReconcilePods) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile updates the NetworkAddonsConfig.Status to match the current state of the watched Deployments/DaemonSets

func (*ReconcilePods) SetResources added in v0.3.0

func (r *ReconcilePods) SetResources(resources []types.NamespacedName)

SetResources updates context's resources

Jump to

Keyboard shortcuts

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