api

package
v0.1.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reason

type Reason string
const (
	NO_RESOURCE_REFFERENCE     Reason = "No Reference"
	WORKLOAD_HAS_ZERO_REPLICAS Reason = "Zero Replica"
)

type Volume

type Volume struct {
	v1.PersistentVolumeClaim
	Reason    Reason
	Workloads []Workload
}

type Workload

type Workload interface {
	GetName() string
	GetVolumeNames() []string
	// IsEmpty tells that the workload still has pod running
	IsEmpty() bool
}

Jump to

Keyboard shortcuts

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