Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Latest commit

 

History

History
43 lines (34 loc) · 3.55 KB

data-structure.md

File metadata and controls

43 lines (34 loc) · 3.55 KB

Data Structure

This page will show the available data structure for queries or conditions.

Root

Key Description
type Resource type (for example: "volume")
platform Resource platform (for example: "aws")
persistentvolume PersistentVolumeStructure (Only if the resource is a persistent volume)
persistentvolumeclaim PersistentVolumeClaimStructure (Only when a persistent volume claim is linked to the persistent volume)
service Service (Only if the resource if a service)

PersistentVolumeStructure

Key Description
labels This is the map[string]string got from labels in the Kubernetes PersistentVolume Kind
annotations This is the map[string]string got from annotations in the Kubernetes PersistentVolume Kind
name The PersistentVolume name
phase The PersistentVolume status phase
reclaimpolicy The PersistentVolume Spec Reclaim Policy
storageclassname The PersistentVolume storage class name

PersistentVolumeClaimStructure

Key Description
labels This is the map[string]string got from labels in the Kubernetes PersistentVolumeClaim Kind
annotations This is the map[string]string got from annotations in the Kubernetes PersistentVolumeClaim Kind
namespace The PersistentVolumeClaim namespace
name The PersistentVolumeClaim name
phase The PersistentVolumeClaim Status phase

Service

Key Description
name The Service name
namespace The Service namespace
labels This is the map[string]string got from labels in the Kubernetes Service Kind
annotations This is the map[string]string got from annotations in the Kubernetes Service Kind