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 ¶
func (c *ContainerRestartDetector) Detect(dispatcher Dispatcher, prevStatus v1alpha1.KubernetesDiscoveryStatus, current *v1alpha1.KubernetesDiscovery)
type Dispatcher ¶
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
Click to show internal directories.
Click to hide internal directories.