1
0
mirror of https://github.com/rancher/types.git synced 2025-09-02 21:54:22 +00:00

Regenerate code for k8s 1.14

This commit is contained in:
Darren Shepherd
2019-08-19 10:34:39 -07:00
parent 6c963ac005
commit c2052ff483
33 changed files with 127 additions and 17 deletions

View File

@@ -0,0 +1,16 @@
package client
const (
GlusterfsPersistentVolumeSourceType = "glusterfsPersistentVolumeSource"
GlusterfsPersistentVolumeSourceFieldEndpointsName = "endpoints"
GlusterfsPersistentVolumeSourceFieldEndpointsNamespace = "endpointsNamespace"
GlusterfsPersistentVolumeSourceFieldPath = "path"
GlusterfsPersistentVolumeSourceFieldReadOnly = "readOnly"
)
type GlusterfsPersistentVolumeSource struct {
EndpointsName string `json:"endpoints,omitempty" yaml:"endpoints,omitempty"`
EndpointsNamespace string `json:"endpointsNamespace,omitempty" yaml:"endpointsNamespace,omitempty"`
Path string `json:"path,omitempty" yaml:"path,omitempty"`
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
}

View File

@@ -1,14 +0,0 @@
package client
const (
GlusterfsVolumeSourceType = "glusterfsVolumeSource"
GlusterfsVolumeSourceFieldEndpointsName = "endpoints"
GlusterfsVolumeSourceFieldPath = "path"
GlusterfsVolumeSourceFieldReadOnly = "readOnly"
)
type GlusterfsVolumeSource struct {
EndpointsName string `json:"endpoints,omitempty" yaml:"endpoints,omitempty"`
Path string `json:"path,omitempty" yaml:"path,omitempty"`
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
}

View File

@@ -70,7 +70,7 @@ type PersistentVolume struct {
FlexVolume *FlexPersistentVolumeSource `json:"flexVolume,omitempty" yaml:"flexVolume,omitempty"`
Flocker *FlockerVolumeSource `json:"flocker,omitempty" yaml:"flocker,omitempty"`
GCEPersistentDisk *GCEPersistentDiskVolumeSource `json:"gcePersistentDisk,omitempty" yaml:"gcePersistentDisk,omitempty"`
Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"`
Glusterfs *GlusterfsPersistentVolumeSource `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"`
HostPath *HostPathVolumeSource `json:"hostPath,omitempty" yaml:"hostPath,omitempty"`
ISCSI *ISCSIPersistentVolumeSource `json:"iscsi,omitempty" yaml:"iscsi,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`

View File

@@ -48,7 +48,7 @@ type PersistentVolumeSpec struct {
FlexVolume *FlexPersistentVolumeSource `json:"flexVolume,omitempty" yaml:"flexVolume,omitempty"`
Flocker *FlockerVolumeSource `json:"flocker,omitempty" yaml:"flocker,omitempty"`
GCEPersistentDisk *GCEPersistentDiskVolumeSource `json:"gcePersistentDisk,omitempty" yaml:"gcePersistentDisk,omitempty"`
Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"`
Glusterfs *GlusterfsPersistentVolumeSource `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"`
HostPath *HostPathVolumeSource `json:"hostPath,omitempty" yaml:"hostPath,omitempty"`
ISCSI *ISCSIPersistentVolumeSource `json:"iscsi,omitempty" yaml:"iscsi,omitempty"`
Local *LocalVolumeSource `json:"local,omitempty" yaml:"local,omitempty"`

View File

@@ -5,6 +5,7 @@ const (
QuobyteVolumeSourceFieldGroup = "group"
QuobyteVolumeSourceFieldReadOnly = "readOnly"
QuobyteVolumeSourceFieldRegistry = "registry"
QuobyteVolumeSourceFieldTenant = "tenant"
QuobyteVolumeSourceFieldUser = "user"
QuobyteVolumeSourceFieldVolume = "volume"
)
@@ -13,6 +14,7 @@ type QuobyteVolumeSource struct {
Group string `json:"group,omitempty" yaml:"group,omitempty"`
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
Registry string `json:"registry,omitempty" yaml:"registry,omitempty"`
Tenant string `json:"tenant,omitempty" yaml:"tenant,omitempty"`
User string `json:"user,omitempty" yaml:"user,omitempty"`
Volume string `json:"volume,omitempty" yaml:"volume,omitempty"`
}