runnables

package
v2.0.0-...-6831f71 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodMonitor

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

func NewPodMonitor

func NewPodMonitor(
	logger logr.Logger,
	client kubernetes.Interface,

	config PodMonitorConfig,
) *PodMonitor

func (*PodMonitor) NeedLeaderElection

func (a *PodMonitor) NeedLeaderElection() bool

func (*PodMonitor) Run

func (a *PodMonitor) Run(ctx context.Context) error

func (*PodMonitor) Start

func (a *PodMonitor) Start(ctx context.Context) error

type PodMonitorConfig

type PodMonitorConfig struct {
	Namespace string
	RetryTime time.Duration
}

Jump to

Keyboard shortcuts

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