/
zz_generated_iscsi_volume_source.go
30 lines (28 loc) · 1.78 KB
/
zz_generated_iscsi_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
27
28
29
30
package client
const (
ISCSIVolumeSourceType = "iscsiVolumeSource"
ISCSIVolumeSourceFieldDiscoveryCHAPAuth = "chapAuthDiscovery"
ISCSIVolumeSourceFieldFSType = "fsType"
ISCSIVolumeSourceFieldIQN = "iqn"
ISCSIVolumeSourceFieldISCSIInterface = "iscsiInterface"
ISCSIVolumeSourceFieldInitiatorName = "initiatorName"
ISCSIVolumeSourceFieldLun = "lun"
ISCSIVolumeSourceFieldPortals = "portals"
ISCSIVolumeSourceFieldReadOnly = "readOnly"
ISCSIVolumeSourceFieldSecretRef = "secretRef"
ISCSIVolumeSourceFieldSessionCHAPAuth = "chapAuthSession"
ISCSIVolumeSourceFieldTargetPortal = "targetPortal"
)
type ISCSIVolumeSource struct {
DiscoveryCHAPAuth bool `json:"chapAuthDiscovery,omitempty" yaml:"chapAuthDiscovery,omitempty"`
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
IQN string `json:"iqn,omitempty" yaml:"iqn,omitempty"`
ISCSIInterface string `json:"iscsiInterface,omitempty" yaml:"iscsiInterface,omitempty"`
InitiatorName string `json:"initiatorName,omitempty" yaml:"initiatorName,omitempty"`
Lun int64 `json:"lun,omitempty" yaml:"lun,omitempty"`
Portals []string `json:"portals,omitempty" yaml:"portals,omitempty"`
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
SecretRef *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
SessionCHAPAuth bool `json:"chapAuthSession,omitempty" yaml:"chapAuthSession,omitempty"`
TargetPortal string `json:"targetPortal,omitempty" yaml:"targetPortal,omitempty"`
}