probe

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_CC_RUNTIMECLASS_NAME string = "kata-remote"

Variables

This section is empty.

Functions

func CreateClientset

func CreateClientset() (kubernetes.Interface, error)

func GetRuntimeclassName

func GetRuntimeclassName() string

func Start

func Start(socketPath string)

func StartupHandler

func StartupHandler(w http.ResponseWriter, r *http.Request)

Types

type Checker

type Checker struct {
	Clientset        kubernetes.Interface
	RuntimeclassName string
	SocketPath       string
}

func (*Checker) GetAllPeerPods

func (c *Checker) GetAllPeerPods(startTime time.Time) (ready bool, err error)

func (*Checker) GetAllPods

func (c *Checker) GetAllPods(selector string) (result *corev1.PodList, err error)

func (*Checker) GetNodeName

func (c *Checker) GetNodeName() string

func (*Checker) IsSocketOpen

func (c *Checker) IsSocketOpen() (open bool, err error)

Jump to

Keyboard shortcuts

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