podprobe

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventKruiseProbeSucceeded = "KruiseProbeSucceeded"
	EventKruiseProbeFailed    = "KruiseProbeFailed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func NewController

func NewController(opts daemonoptions.Options) (*Controller, error)

NewController returns the controller for pod probe

func (*Controller) Run

func (c *Controller) Run(stop <-chan struct{})

type Update

type Update struct {
	ContainerID   string
	Key           probeKey
	State         appsv1alpha1.ProbeState
	Msg           string
	LastProbeTime metav1.Time
}

Update is an enum of the types of updates sent over the Updates channel.

Jump to

Keyboard shortcuts

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