kubernetesdiscovery

package
v0.33.12 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PickBestPortForwardPod added in v0.33.10

func PickBestPortForwardPod(kd *v1alpha1.KubernetesDiscovery) *v1alpha1.Pod

We can only portforward to one pod at a time. So pick the "best" pod to portforward to. May be nil if there is no eligible pod.

Types

type ContainerRestartDetector

type ContainerRestartDetector struct{}

func NewContainerRestartDetector

func NewContainerRestartDetector() *ContainerRestartDetector

func (*ContainerRestartDetector) Detect

type Dispatcher

type Dispatcher interface {
	Dispatch(action store.Action)
}

type Reconciler

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

func NewReconciler

func NewReconciler(ctrlClient ctrlclient.Client, scheme *runtime.Scheme, clients cluster.ClientProvider, restartDetector *ContainerRestartDetector,
	st store.RStore) *Reconciler

func (*Reconciler) CreateBuilder added in v0.20.9

func (w *Reconciler) CreateBuilder(mgr ctrl.Manager) (*builder.Builder, error)

func (*Reconciler) Reconcile

func (w *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile manages namespace watches for the modified KubernetesDiscovery object.

Jump to

Keyboard shortcuts

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