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 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