controller

package
v0.0.0-...-300c491 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogKey = "NetworkDelayTest"
	// FinalizerName is the controlplane controller finalizer.
	FinalizerName = "networkmachinery.io/networkdelay"
)
View Source
const Name = "networkdelay-test-controller"

Variables

View Source
var (
	QperfStatusTypeMeta = metav1.TypeMeta{
		APIVersion: v1alpha1.SchemeGroupVersion.String(),
		Kind:       "QperfStatus",
	}
)

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new NetworkMonitor Controller and adds it to the Manager

func DefaultPredicates

func DefaultPredicates() []predicate.Predicate

DefaultPredicates returns the default predicates for an infrastructure reconciler.

func GenerationChangedPredicate

func GenerationChangedPredicate() predicate.Predicate

GenerationChangedPredicate is a predicate for generation changes.

Types

type QperfOutput

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

type ReconcileNetworkDelayTest

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

ReconcileMachineDeployment reconciles a MachineDeployment object.

func (*ReconcileNetworkDelayTest) InjectClient

func (r *ReconcileNetworkDelayTest) InjectClient(client client.Client) error

func (*ReconcileNetworkDelayTest) InjectConfig

func (r *ReconcileNetworkDelayTest) InjectConfig(config *rest.Config) error

InjectConfig implements inject.Config.

func (*ReconcileNetworkDelayTest) InjectStopChannel

func (r *ReconcileNetworkDelayTest) InjectStopChannel(stopCh <-chan struct{}) error

func (*ReconcileNetworkDelayTest) NodeQperf

func (*ReconcileNetworkDelayTest) PodQperf

func (*ReconcileNetworkDelayTest) Reconcile

Jump to

Keyboard shortcuts

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