vrouter

package
v0.0.0-...-6ae417f Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

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

func GetDaemonset

func GetDaemonset(c *v1alpha1.Vrouter, cniCfg *v1alpha1.CNIConfig, cloudOrchestrator string) *apps.DaemonSet

GetDaemonset returns DaemonSet object for vRouter

func NewReconciler

func NewReconciler(client client.Client, scheme *runtime.Scheme, cfg *rest.Config) reconcile.Reconciler

NewReconciler returns a new reconcile.Reconciler.

Types

type ReconcileVrouter

type ReconcileVrouter struct {
	// This client, initialized using mgr.Client() above, is a split client
	// that reads objects from the cache and writes to the apiserver.
	Client client.Client
	Scheme *runtime.Scheme
	Config *rest.Config
}

ReconcileVrouter reconciles a Vrouter object.

func (*ReconcileVrouter) Reconcile

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

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

Jump to

Keyboard shortcuts

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