forked from rancher/types
/
zz_generated_csi_persistent_volume_source.go
26 lines (24 loc) · 1.85 KB
/
zz_generated_csi_persistent_volume_source.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package client
const (
CSIPersistentVolumeSourceType = "csiPersistentVolumeSource"
CSIPersistentVolumeSourceFieldControllerExpandSecretRef = "controllerExpandSecretRef"
CSIPersistentVolumeSourceFieldControllerPublishSecretRef = "controllerPublishSecretRef"
CSIPersistentVolumeSourceFieldDriver = "driver"
CSIPersistentVolumeSourceFieldFSType = "fsType"
CSIPersistentVolumeSourceFieldNodePublishSecretRef = "nodePublishSecretRef"
CSIPersistentVolumeSourceFieldNodeStageSecretRef = "nodeStageSecretRef"
CSIPersistentVolumeSourceFieldReadOnly = "readOnly"
CSIPersistentVolumeSourceFieldVolumeAttributes = "volumeAttributes"
CSIPersistentVolumeSourceFieldVolumeHandle = "volumeHandle"
)
type CSIPersistentVolumeSource struct {
ControllerExpandSecretRef *SecretReference `json:"controllerExpandSecretRef,omitempty" yaml:"controllerExpandSecretRef,omitempty"`
ControllerPublishSecretRef *SecretReference `json:"controllerPublishSecretRef,omitempty" yaml:"controllerPublishSecretRef,omitempty"`
Driver string `json:"driver,omitempty" yaml:"driver,omitempty"`
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
NodePublishSecretRef *SecretReference `json:"nodePublishSecretRef,omitempty" yaml:"nodePublishSecretRef,omitempty"`
NodeStageSecretRef *SecretReference `json:"nodeStageSecretRef,omitempty" yaml:"nodeStageSecretRef,omitempty"`
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
VolumeAttributes map[string]string `json:"volumeAttributes,omitempty" yaml:"volumeAttributes,omitempty"`
VolumeHandle string `json:"volumeHandle,omitempty" yaml:"volumeHandle,omitempty"`
}