pv_monitor_agent

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PVMonitorAgent

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

PVMonitorAgent is the struct of pv monitor agent containing all information to perform volumes health condition checking

func NewPVMonitorAgent

func NewPVMonitorAgent(client kubernetes.Interface, driverName string, conn *grpc.ClientConn, timeout time.Duration, monitorInterval time.Duration, pvInformer coreinformers.PersistentVolumeInformer,
	pvcInformer coreinformers.PersistentVolumeClaimInformer, podInformer coreinformers.PodInformer, eventInformer coreinformers.EventInformer, supportStageUnstage bool, kubeletRootPath string, eventRecorder record.EventRecorder) (*PVMonitorAgent, error)

NewPVMonitorAgent create pv monitor agent

func (*PVMonitorAgent) Run

func (agent *PVMonitorAgent) Run(workers int, stopCh <-chan struct{})

Run runs volume health condition checking method

type PodWithPVItem

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

PodWithPVItem contains pv name as well as pod information the pv is attached to

Jump to

Keyboard shortcuts

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