vrouter

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

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(cniDir v1alpha1.VrouterCNIDirectories) *apps.DaemonSet

GetDaemonset returns DaemonSet object for vRouter

func NewReconciler

func NewReconciler(client client.Client, scheme *runtime.Scheme, cfg *rest.Config, cniDirs v1alpha1.VrouterCNIDirectories) 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
	CNIDirectories v1alpha1.VrouterCNIDirectories
}

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