Update data-source.md
This commit is contained in:
parent
c900a728c3
commit
12fc30dadb
|
|
@ -23,6 +23,8 @@ type TypedLocalObjectReference struct {
|
||||||
Name string
|
Name string
|
||||||
// Kind indicates the type of the object reference.
|
// Kind indicates the type of the object reference.
|
||||||
Kind string
|
Kind string
|
||||||
|
// APIGroup is the group for the resource being referenced
|
||||||
|
APIGroup string
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
@ -46,18 +48,16 @@ type PersistentVolumeStatus struct {
|
||||||
|
|
||||||
type PersistentVolumeConditionType string
|
type PersistentVolumeConditionType string
|
||||||
|
|
||||||
// These are valid conditions of Pvc
|
// These are valid conditions of PersistentVolume
|
||||||
const (
|
const (
|
||||||
// An user trigger resize of pvc has been started
|
// An user trigger resize of pvc has been started
|
||||||
PersistentVolumeDataPopulated PersistentVolumeConditionType = "dataPopulated"
|
PersistentVolumeDataPopulated PersistentVolumeConditionType = "DataPopulated"
|
||||||
)
|
)
|
||||||
|
|
||||||
type PersistentVolumeCondition struct {
|
type PersistentVolumeCondition struct {
|
||||||
Type PersistentVolumeConditionType
|
Type PersistentVolumeConditionType
|
||||||
Status ConditionStatus
|
Status ConditionStatus
|
||||||
// +optional
|
// +optional
|
||||||
LastProbeTime metav1.Time
|
|
||||||
// +optional
|
|
||||||
LastTransitionTime metav1.Time
|
LastTransitionTime metav1.Time
|
||||||
// +optional
|
// +optional
|
||||||
Reason string
|
Reason string
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue