mirror of
https://github.com/rancher/types.git
synced 2025-07-05 01:36:12 +00:00
Update generated code
This commit is contained in:
parent
cebb13fdcc
commit
1501b4e5e6
@ -39,7 +39,7 @@ const (
|
||||
PersistentVolumeFieldScaleIO = "scaleIO"
|
||||
PersistentVolumeFieldState = "state"
|
||||
PersistentVolumeFieldStatus = "status"
|
||||
PersistentVolumeFieldStorageClassName = "storageClassName"
|
||||
PersistentVolumeFieldStorageClassId = "storageClassId"
|
||||
PersistentVolumeFieldStorageOS = "storageos"
|
||||
PersistentVolumeFieldTransitioning = "transitioning"
|
||||
PersistentVolumeFieldTransitioningMessage = "transitioningMessage"
|
||||
@ -82,7 +82,7 @@ type PersistentVolume struct {
|
||||
ScaleIO *ScaleIOVolumeSource `json:"scaleIO,omitempty" yaml:"scaleIO,omitempty"`
|
||||
State string `json:"state,omitempty" yaml:"state,omitempty"`
|
||||
Status *PersistentVolumeStatus `json:"status,omitempty" yaml:"status,omitempty"`
|
||||
StorageClassName string `json:"storageClassName,omitempty" yaml:"storageClassName,omitempty"`
|
||||
StorageClassId string `json:"storageClassId,omitempty" yaml:"storageClassId,omitempty"`
|
||||
StorageOS *StorageOSPersistentVolumeSource `json:"storageos,omitempty" yaml:"storageos,omitempty"`
|
||||
Transitioning string `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
|
||||
TransitioningMessage string `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
|
||||
|
@ -26,7 +26,7 @@ const (
|
||||
PersistentVolumeSpecFieldQuobyte = "quobyte"
|
||||
PersistentVolumeSpecFieldRBD = "rbd"
|
||||
PersistentVolumeSpecFieldScaleIO = "scaleIO"
|
||||
PersistentVolumeSpecFieldStorageClassName = "storageClassName"
|
||||
PersistentVolumeSpecFieldStorageClassId = "storageClassId"
|
||||
PersistentVolumeSpecFieldStorageOS = "storageos"
|
||||
PersistentVolumeSpecFieldVsphereVolume = "vsphereVolume"
|
||||
)
|
||||
@ -56,7 +56,7 @@ type PersistentVolumeSpec struct {
|
||||
Quobyte *QuobyteVolumeSource `json:"quobyte,omitempty" yaml:"quobyte,omitempty"`
|
||||
RBD *RBDVolumeSource `json:"rbd,omitempty" yaml:"rbd,omitempty"`
|
||||
ScaleIO *ScaleIOVolumeSource `json:"scaleIO,omitempty" yaml:"scaleIO,omitempty"`
|
||||
StorageClassName string `json:"storageClassName,omitempty" yaml:"storageClassName,omitempty"`
|
||||
StorageClassId string `json:"storageClassId,omitempty" yaml:"storageClassId,omitempty"`
|
||||
StorageOS *StorageOSPersistentVolumeSource `json:"storageos,omitempty" yaml:"storageos,omitempty"`
|
||||
VsphereVolume *VsphereVirtualDiskVolumeSource `json:"vsphereVolume,omitempty" yaml:"vsphereVolume,omitempty"`
|
||||
}
|
||||
|
@ -0,0 +1,16 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
AzureFilePersistentVolumeSourceType = "azureFilePersistentVolumeSource"
|
||||
AzureFilePersistentVolumeSourceFieldReadOnly = "readOnly"
|
||||
AzureFilePersistentVolumeSourceFieldSecretName = "secretName"
|
||||
AzureFilePersistentVolumeSourceFieldSecretNamespace = "secretNamespace"
|
||||
AzureFilePersistentVolumeSourceFieldShareName = "shareName"
|
||||
)
|
||||
|
||||
type AzureFilePersistentVolumeSource struct {
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SecretName string `json:"secretName,omitempty" yaml:"secretName,omitempty"`
|
||||
SecretNamespace string `json:"secretNamespace,omitempty" yaml:"secretNamespace,omitempty"`
|
||||
ShareName string `json:"shareName,omitempty" yaml:"shareName,omitempty"`
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
CephFSPersistentVolumeSourceType = "cephFSPersistentVolumeSource"
|
||||
CephFSPersistentVolumeSourceFieldMonitors = "monitors"
|
||||
CephFSPersistentVolumeSourceFieldPath = "path"
|
||||
CephFSPersistentVolumeSourceFieldReadOnly = "readOnly"
|
||||
CephFSPersistentVolumeSourceFieldSecretFile = "secretFile"
|
||||
CephFSPersistentVolumeSourceFieldSecretRef = "secretRef"
|
||||
CephFSPersistentVolumeSourceFieldUser = "user"
|
||||
)
|
||||
|
||||
type CephFSPersistentVolumeSource struct {
|
||||
Monitors []string `json:"monitors,omitempty" yaml:"monitors,omitempty"`
|
||||
Path string `json:"path,omitempty" yaml:"path,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SecretFile string `json:"secretFile,omitempty" yaml:"secretFile,omitempty"`
|
||||
SecretRef *SecretReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
|
||||
User string `json:"user,omitempty" yaml:"user,omitempty"`
|
||||
}
|
@ -2,11 +2,11 @@ package client
|
||||
|
||||
const (
|
||||
HostPathVolumeSourceType = "hostPathVolumeSource"
|
||||
HostPathVolumeSourceFieldKind = "kind"
|
||||
HostPathVolumeSourceFieldPath = "path"
|
||||
HostPathVolumeSourceFieldType = "type"
|
||||
)
|
||||
|
||||
type HostPathVolumeSource struct {
|
||||
Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
|
||||
Path string `json:"path,omitempty" yaml:"path,omitempty"`
|
||||
Type string `json:"type,omitempty" yaml:"type,omitempty"`
|
||||
}
|
||||
|
10
client/project/v3/zz_generated_local_volume_source.go
Normal file
10
client/project/v3/zz_generated_local_volume_source.go
Normal file
@ -0,0 +1,10 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
LocalVolumeSourceType = "localVolumeSource"
|
||||
LocalVolumeSourceFieldPath = "path"
|
||||
)
|
||||
|
||||
type LocalVolumeSource struct {
|
||||
Path string `json:"path,omitempty" yaml:"path,omitempty"`
|
||||
}
|
62
client/project/v3/zz_generated_persistent_volume_spec.go
Normal file
62
client/project/v3/zz_generated_persistent_volume_spec.go
Normal file
@ -0,0 +1,62 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
PersistentVolumeSpecType = "persistentVolumeSpec"
|
||||
PersistentVolumeSpecFieldAWSElasticBlockStore = "awsElasticBlockStore"
|
||||
PersistentVolumeSpecFieldAccessModes = "accessModes"
|
||||
PersistentVolumeSpecFieldAzureDisk = "azureDisk"
|
||||
PersistentVolumeSpecFieldAzureFile = "azureFile"
|
||||
PersistentVolumeSpecFieldCapacity = "capacity"
|
||||
PersistentVolumeSpecFieldCephFS = "cephfs"
|
||||
PersistentVolumeSpecFieldCinder = "cinder"
|
||||
PersistentVolumeSpecFieldClaimRef = "claimRef"
|
||||
PersistentVolumeSpecFieldFC = "fc"
|
||||
PersistentVolumeSpecFieldFlexVolume = "flexVolume"
|
||||
PersistentVolumeSpecFieldFlocker = "flocker"
|
||||
PersistentVolumeSpecFieldGCEPersistentDisk = "gcePersistentDisk"
|
||||
PersistentVolumeSpecFieldGlusterfs = "glusterfs"
|
||||
PersistentVolumeSpecFieldHostPath = "hostPath"
|
||||
PersistentVolumeSpecFieldISCSI = "iscsi"
|
||||
PersistentVolumeSpecFieldLocal = "local"
|
||||
PersistentVolumeSpecFieldMountOptions = "mountOptions"
|
||||
PersistentVolumeSpecFieldNFS = "nfs"
|
||||
PersistentVolumeSpecFieldPersistentVolumeReclaimPolicy = "persistentVolumeReclaimPolicy"
|
||||
PersistentVolumeSpecFieldPhotonPersistentDisk = "photonPersistentDisk"
|
||||
PersistentVolumeSpecFieldPortworxVolume = "portworxVolume"
|
||||
PersistentVolumeSpecFieldQuobyte = "quobyte"
|
||||
PersistentVolumeSpecFieldRBD = "rbd"
|
||||
PersistentVolumeSpecFieldScaleIO = "scaleIO"
|
||||
PersistentVolumeSpecFieldStorageClassId = "storageClassId"
|
||||
PersistentVolumeSpecFieldStorageOS = "storageos"
|
||||
PersistentVolumeSpecFieldVsphereVolume = "vsphereVolume"
|
||||
)
|
||||
|
||||
type PersistentVolumeSpec struct {
|
||||
AWSElasticBlockStore *AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty" yaml:"awsElasticBlockStore,omitempty"`
|
||||
AccessModes []string `json:"accessModes,omitempty" yaml:"accessModes,omitempty"`
|
||||
AzureDisk *AzureDiskVolumeSource `json:"azureDisk,omitempty" yaml:"azureDisk,omitempty"`
|
||||
AzureFile *AzureFilePersistentVolumeSource `json:"azureFile,omitempty" yaml:"azureFile,omitempty"`
|
||||
Capacity map[string]string `json:"capacity,omitempty" yaml:"capacity,omitempty"`
|
||||
CephFS *CephFSPersistentVolumeSource `json:"cephfs,omitempty" yaml:"cephfs,omitempty"`
|
||||
Cinder *CinderVolumeSource `json:"cinder,omitempty" yaml:"cinder,omitempty"`
|
||||
ClaimRef *ObjectReference `json:"claimRef,omitempty" yaml:"claimRef,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"`
|
||||
GCEPersistentDisk *GCEPersistentDiskVolumeSource `json:"gcePersistentDisk,omitempty" yaml:"gcePersistentDisk,omitempty"`
|
||||
Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"`
|
||||
HostPath *HostPathVolumeSource `json:"hostPath,omitempty" yaml:"hostPath,omitempty"`
|
||||
ISCSI *ISCSIVolumeSource `json:"iscsi,omitempty" yaml:"iscsi,omitempty"`
|
||||
Local *LocalVolumeSource `json:"local,omitempty" yaml:"local,omitempty"`
|
||||
MountOptions []string `json:"mountOptions,omitempty" yaml:"mountOptions,omitempty"`
|
||||
NFS *NFSVolumeSource `json:"nfs,omitempty" yaml:"nfs,omitempty"`
|
||||
PersistentVolumeReclaimPolicy string `json:"persistentVolumeReclaimPolicy,omitempty" yaml:"persistentVolumeReclaimPolicy,omitempty"`
|
||||
PhotonPersistentDisk *PhotonPersistentDiskVolumeSource `json:"photonPersistentDisk,omitempty" yaml:"photonPersistentDisk,omitempty"`
|
||||
PortworxVolume *PortworxVolumeSource `json:"portworxVolume,omitempty" yaml:"portworxVolume,omitempty"`
|
||||
Quobyte *QuobyteVolumeSource `json:"quobyte,omitempty" yaml:"quobyte,omitempty"`
|
||||
RBD *RBDVolumeSource `json:"rbd,omitempty" yaml:"rbd,omitempty"`
|
||||
ScaleIO *ScaleIOVolumeSource `json:"scaleIO,omitempty" yaml:"scaleIO,omitempty"`
|
||||
StorageClassId string `json:"storageClassId,omitempty" yaml:"storageClassId,omitempty"`
|
||||
StorageOS *StorageOSPersistentVolumeSource `json:"storageos,omitempty" yaml:"storageos,omitempty"`
|
||||
VsphereVolume *VsphereVirtualDiskVolumeSource `json:"vsphereVolume,omitempty" yaml:"vsphereVolume,omitempty"`
|
||||
}
|
12
client/project/v3/zz_generated_secret_reference.go
Normal file
12
client/project/v3/zz_generated_secret_reference.go
Normal file
@ -0,0 +1,12 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
SecretReferenceType = "secretReference"
|
||||
SecretReferenceFieldName = "name"
|
||||
SecretReferenceFieldNamespace = "namespace"
|
||||
)
|
||||
|
||||
type SecretReference struct {
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
StorageOSPersistentVolumeSourceType = "storageOSPersistentVolumeSource"
|
||||
StorageOSPersistentVolumeSourceFieldFSType = "fsType"
|
||||
StorageOSPersistentVolumeSourceFieldReadOnly = "readOnly"
|
||||
StorageOSPersistentVolumeSourceFieldSecretRef = "secretRef"
|
||||
StorageOSPersistentVolumeSourceFieldVolumeName = "volumeName"
|
||||
StorageOSPersistentVolumeSourceFieldVolumeNamespace = "volumeNamespace"
|
||||
)
|
||||
|
||||
type StorageOSPersistentVolumeSource struct {
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SecretRef *ObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
|
||||
VolumeName string `json:"volumeName,omitempty" yaml:"volumeName,omitempty"`
|
||||
VolumeNamespace string `json:"volumeNamespace,omitempty" yaml:"volumeNamespace,omitempty"`
|
||||
}
|
Loading…
Reference in New Issue
Block a user