/
zz_generated_rbd_volume_source.go
24 lines (22 loc) · 1.14 KB
/
zz_generated_rbd_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
package client
const (
RBDVolumeSourceType = "rbdVolumeSource"
RBDVolumeSourceFieldCephMonitors = "monitors"
RBDVolumeSourceFieldFSType = "fsType"
RBDVolumeSourceFieldKeyring = "keyring"
RBDVolumeSourceFieldRBDImage = "image"
RBDVolumeSourceFieldRBDPool = "pool"
RBDVolumeSourceFieldRadosUser = "user"
RBDVolumeSourceFieldReadOnly = "readOnly"
RBDVolumeSourceFieldSecretRef = "secretRef"
)
type RBDVolumeSource struct {
CephMonitors []string `json:"monitors,omitempty" yaml:"monitors,omitempty"`
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
Keyring string `json:"keyring,omitempty" yaml:"keyring,omitempty"`
RBDImage string `json:"image,omitempty" yaml:"image,omitempty"`
RBDPool string `json:"pool,omitempty" yaml:"pool,omitempty"`
RadosUser string `json:"user,omitempty" yaml:"user,omitempty"`
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
SecretRef *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
}