pv

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Annotations       map[string]string `db:"annotations"`
	CreationTimestamp time.Time         `db:"creation_ts"`
	Labels            map[string]string `db:"labels"`
	Name              string            `db:"name"`

	AccessModes                   []string         `db:"access_modes"`
	Capacity                      map[string]int64 `db:"capacity"`
	ClaimRefKind                  string           `db:"claim_ref_kind"`
	ClaimRefName                  string           `db:"claim_ref_name"`
	ClaimRefNamespace             string           `db:"claim_ref_namespace"`
	PersistentVolumeReclaimPolicy string           `db:"persistent_volume_reclaim_policy"`
	Phase                         string           `db:"phase"`
	StorageClassName              string           `db:"storage_class_name"`
	VolumeMode                    *string          `db:"volume_mode"`
}

type InfoList

type InfoList []*Info

func Fetch

func Fetch(ctx context.Context, clientset *kubernetes.Clientset) (InfoList, error)

Jump to

Keyboard shortcuts

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