probe

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: Apache-2.0 Imports: 20 Imported by: 2

Documentation

Overview

Package probe contains utilities for health probing, as well as health status information.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunProbe

func RunProbe(config *rest.Config, probes *api_v1.Handler, podName, namespace string) error

Types

type Prober

type Prober struct {
	HttpGet  httpprobe.GetProber
	HttpPost httpprobe.PostProber
	Tcp      tcpprobe.Prober
	Exec     execprobe.Prober
	Config   *rest.Config
}

func NewProber

func NewProber(config *rest.Config) *Prober

NewProber creates a Prober instance that can be used to run httpGet, httpPost, tcp or exec probe.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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