Update data-source.md

This commit is contained in:
Jing Xu 2018-08-21 15:52:01 -07:00 committed by GitHub
parent c900a728c3
commit 12fc30dadb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -23,6 +23,8 @@ type TypedLocalObjectReference struct {
Name string
// Kind indicates the type of the object reference.
Kind string
// APIGroup is the group for the resource being referenced
APIGroup string
}
```
@ -46,18 +48,16 @@ type PersistentVolumeStatus struct {
type PersistentVolumeConditionType string
// These are valid conditions of Pvc
// These are valid conditions of PersistentVolume
const (
// An user trigger resize of pvc has been started
PersistentVolumeDataPopulated PersistentVolumeConditionType = "dataPopulated"
PersistentVolumeDataPopulated PersistentVolumeConditionType = "DataPopulated"
)
type PersistentVolumeCondition struct {
Type PersistentVolumeConditionType
Status ConditionStatus
// +optional
LastProbeTime metav1.Time
// +optional
LastTransitionTime metav1.Time
// +optional
Reason string