1
0
mirror of https://github.com/rancher/types.git synced 2025-08-11 01:11:30 +00:00

Update generated code

This commit is contained in:
zionwu 2018-03-29 15:32:02 +08:00
parent cd243287e5
commit 25d3e1de9a
2 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,7 @@ const (
PersistentVolumeFieldClaimRef = "claimRef"
PersistentVolumeFieldCreated = "created"
PersistentVolumeFieldCreatorID = "creatorId"
PersistentVolumeFieldDescription = "description"
PersistentVolumeFieldFC = "fc"
PersistentVolumeFieldFlexVolume = "flexVolume"
PersistentVolumeFieldFlocker = "flocker"
@ -60,6 +61,7 @@ type PersistentVolume struct {
ClaimRef *ObjectReference `json:"claimRef,omitempty" yaml:"claimRef,omitempty"`
Created string `json:"created,omitempty" yaml:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
FC *FCVolumeSource `json:"fc,omitempty" yaml:"fc,omitempty"`
FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty" yaml:"flexVolume,omitempty"`
Flocker *FlockerVolumeSource `json:"flocker,omitempty" yaml:"flocker,omitempty"`

View File

@ -10,6 +10,7 @@ const (
StorageClassFieldAnnotations = "annotations"
StorageClassFieldCreated = "created"
StorageClassFieldCreatorID = "creatorId"
StorageClassFieldDescription = "description"
StorageClassFieldLabels = "labels"
StorageClassFieldMountOptions = "mountOptions"
StorageClassFieldName = "name"
@ -27,6 +28,7 @@ type StorageClass struct {
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
Created string `json:"created,omitempty" yaml:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
MountOptions []string `json:"mountOptions,omitempty" yaml:"mountOptions,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`