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: 27 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var NetcatStatusTypeMeta = metav1.TypeMeta{
	APIVersion: v1alpha1.SchemeGroupVersion.String(),
	Kind:       "NetcatStatus",
}
View Source
var (
	PingStatusTypeMeta = metav1.TypeMeta{
		APIVersion: v1alpha1.SchemeGroupVersion.String(),
		Kind:       "PingStatus",
	}
)

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 NetcatOutput

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

func NetCat

type PingOutput

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

type ReconcileNetworkConnectivityTest

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

ReconcileMachineDeployment reconciles a MachineDeployment object.

func (*ReconcileNetworkConnectivityTest) IPNetcat

func (*ReconcileNetworkConnectivityTest) IPPing

func (*ReconcileNetworkConnectivityTest) InjectClient

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

func (*ReconcileNetworkConnectivityTest) InjectConfig

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

InjectConfig implements inject.Config.

func (*ReconcileNetworkConnectivityTest) InjectStopChannel

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

func (*ReconcileNetworkConnectivityTest) PodNetcat

func (*ReconcileNetworkConnectivityTest) PodPing

func (*ReconcileNetworkConnectivityTest) Reconcile

func (*ReconcileNetworkConnectivityTest) ServiceNetcat

func (*ReconcileNetworkConnectivityTest) ServicePing

Jump to

Keyboard shortcuts

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