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
Click to show internal directories.
Click to hide internal directories.