1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 21:00:16 +00:00

Update generated code

This commit is contained in:
Darren Shepherd
2018-02-13 16:47:07 -07:00
parent cbabeef819
commit cb1d782cfc
101 changed files with 179 additions and 186 deletions

View File

@@ -11,6 +11,6 @@ const (
type AWSElasticBlockStoreVolumeSource struct {
FSType string `json:"fsType,omitempty"`
Partition *int64 `json:"partition,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
ReadOnly bool `json:"readOnly,omitempty"`
VolumeID string `json:"volumeID,omitempty"`
}

View File

@@ -9,7 +9,7 @@ const (
)
type AzureFilePersistentVolumeSource struct {
ReadOnly *bool `json:"readOnly,omitempty"`
ReadOnly bool `json:"readOnly,omitempty"`
SecretName string `json:"secretName,omitempty"`
SecretNamespace string `json:"secretNamespace,omitempty"`
ShareName string `json:"shareName,omitempty"`

View File

@@ -13,7 +13,7 @@ const (
type CephFSPersistentVolumeSource struct {
Monitors []string `json:"monitors,omitempty"`
Path string `json:"path,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
ReadOnly bool `json:"readOnly,omitempty"`
SecretFile string `json:"secretFile,omitempty"`
SecretRef *SecretReference `json:"secretRef,omitempty"`
User string `json:"user,omitempty"`

View File

@@ -9,6 +9,6 @@ const (
type CinderVolumeSource struct {
FSType string `json:"fsType,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
ReadOnly bool `json:"readOnly,omitempty"`
VolumeID string `json:"volumeID,omitempty"`
}

View File

@@ -12,7 +12,7 @@ const (
type FCVolumeSource struct {
FSType string `json:"fsType,omitempty"`
Lun *int64 `json:"lun,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
ReadOnly bool `json:"readOnly,omitempty"`
TargetWWNs []string `json:"targetWWNs,omitempty"`
WWIDs []string `json:"wwids,omitempty"`
}

View File

@@ -13,6 +13,6 @@ type FlexVolumeSource struct {
Driver string `json:"driver,omitempty"`
FSType string `json:"fsType,omitempty"`
Options map[string]string `json:"options,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
ReadOnly bool `json:"readOnly,omitempty"`
SecretRef *LocalObjectReference `json:"secretRef,omitempty"`
}

View File

@@ -12,5 +12,5 @@ type GCEPersistentDiskVolumeSource struct {
FSType string `json:"fsType,omitempty"`
PDName string `json:"pdName,omitempty"`
Partition *int64 `json:"partition,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
ReadOnly bool `json:"readOnly,omitempty"`
}

View File

@@ -10,5 +10,5 @@ const (
type GlusterfsVolumeSource struct {
EndpointsName string `json:"endpoints,omitempty"`
Path string `json:"path,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
ReadOnly bool `json:"readOnly,omitempty"`
}

View File

@@ -16,15 +16,15 @@ const (
)
type ISCSIVolumeSource struct {
DiscoveryCHAPAuth *bool `json:"chapAuthDiscovery,omitempty"`
DiscoveryCHAPAuth bool `json:"chapAuthDiscovery,omitempty"`
FSType string `json:"fsType,omitempty"`
IQN string `json:"iqn,omitempty"`
ISCSIInterface string `json:"iscsiInterface,omitempty"`
InitiatorName string `json:"initiatorName,omitempty"`
Lun *int64 `json:"lun,omitempty"`
Portals []string `json:"portals,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
ReadOnly bool `json:"readOnly,omitempty"`
SecretRef *LocalObjectReference `json:"secretRef,omitempty"`
SessionCHAPAuth *bool `json:"chapAuthSession,omitempty"`
SessionCHAPAuth bool `json:"chapAuthSession,omitempty"`
TargetPortal string `json:"targetPortal,omitempty"`
}

View File

@@ -9,6 +9,6 @@ const (
type NFSVolumeSource struct {
Path string `json:"path,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
ReadOnly bool `json:"readOnly,omitempty"`
Server string `json:"server,omitempty"`
}

View File

@@ -9,6 +9,6 @@ const (
type PortworxVolumeSource struct {
FSType string `json:"fsType,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
ReadOnly bool `json:"readOnly,omitempty"`
VolumeID string `json:"volumeID,omitempty"`
}

View File

@@ -11,7 +11,7 @@ const (
type QuobyteVolumeSource struct {
Group string `json:"group,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
ReadOnly bool `json:"readOnly,omitempty"`
Registry string `json:"registry,omitempty"`
User string `json:"user,omitempty"`
Volume string `json:"volume,omitempty"`

View File

@@ -19,6 +19,6 @@ type RBDVolumeSource struct {
RBDImage string `json:"image,omitempty"`
RBDPool string `json:"pool,omitempty"`
RadosUser string `json:"user,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
ReadOnly bool `json:"readOnly,omitempty"`
SecretRef *LocalObjectReference `json:"secretRef,omitempty"`
}

View File

@@ -18,8 +18,8 @@ type ScaleIOVolumeSource struct {
FSType string `json:"fsType,omitempty"`
Gateway string `json:"gateway,omitempty"`
ProtectionDomain string `json:"protectionDomain,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
SSLEnabled *bool `json:"sslEnabled,omitempty"`
ReadOnly bool `json:"readOnly,omitempty"`
SSLEnabled bool `json:"sslEnabled,omitempty"`
SecretRef *LocalObjectReference `json:"secretRef,omitempty"`
StorageMode string `json:"storageMode,omitempty"`
StoragePool string `json:"storagePool,omitempty"`

View File

@@ -11,7 +11,7 @@ const (
type StorageOSPersistentVolumeSource struct {
FSType string `json:"fsType,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
ReadOnly bool `json:"readOnly,omitempty"`
SecretRef *ObjectReference `json:"secretRef,omitempty"`
VolumeName string `json:"volumeName,omitempty"`
VolumeNamespace string `json:"volumeNamespace,omitempty"`