Documentation ¶
Index ¶
- type IBMBlockCSI
- func (c *IBMBlockCSI) GenerateCSIAddonsReplicatorClusterRole() *rbacv1.ClusterRole
- func (c *IBMBlockCSI) GenerateCSIAddonsReplicatorClusterRoleBinding() *rbacv1.ClusterRoleBinding
- func (c *IBMBlockCSI) GenerateCSIDriver() *storagev1.CSIDriver
- func (c *IBMBlockCSI) GenerateControllerServiceAccount() *corev1.ServiceAccount
- func (c *IBMBlockCSI) GenerateExternalAttacherClusterRole() *rbacv1.ClusterRole
- func (c *IBMBlockCSI) GenerateExternalAttacherClusterRoleBinding() *rbacv1.ClusterRoleBinding
- func (c *IBMBlockCSI) GenerateExternalProvisionerClusterRole() *rbacv1.ClusterRole
- func (c *IBMBlockCSI) GenerateExternalProvisionerClusterRoleBinding() *rbacv1.ClusterRoleBinding
- func (c *IBMBlockCSI) GenerateExternalResizerClusterRole() *rbacv1.ClusterRole
- func (c *IBMBlockCSI) GenerateExternalResizerClusterRoleBinding() *rbacv1.ClusterRoleBinding
- func (c *IBMBlockCSI) GenerateExternalSnapshotterClusterRole() *rbacv1.ClusterRole
- func (c *IBMBlockCSI) GenerateExternalSnapshotterClusterRoleBinding() *rbacv1.ClusterRoleBinding
- func (c *IBMBlockCSI) GenerateNodeServiceAccount() *corev1.ServiceAccount
- func (c *IBMBlockCSI) GenerateSCCForControllerClusterRole() *rbacv1.ClusterRole
- func (c *IBMBlockCSI) GenerateSCCForControllerClusterRoleBinding() *rbacv1.ClusterRoleBinding
- func (c *IBMBlockCSI) GenerateSCCForNodeClusterRole() *rbacv1.ClusterRole
- func (c *IBMBlockCSI) GenerateSCCForNodeClusterRoleBinding() *rbacv1.ClusterRoleBinding
- func (c *IBMBlockCSI) GenerateVolumeGroupClusterRole() *rbacv1.ClusterRole
- func (c *IBMBlockCSI) GenerateVolumeGroupClusterRoleBinding() *rbacv1.ClusterRoleBinding
- func (c *IBMBlockCSI) GetAnnotations(daemonSetRestartedKey string, daemonSetRestartedValue string) labels.Set
- func (c *IBMBlockCSI) GetCSIControllerImage() string
- func (c *IBMBlockCSI) GetCSIControllerPodLabels() labels.Set
- func (c *IBMBlockCSI) GetCSIControllerSelectorLabels() labels.Set
- func (c *IBMBlockCSI) GetCSINodeImage() string
- func (c *IBMBlockCSI) GetCSINodePodLabels() labels.Set
- func (c *IBMBlockCSI) GetCSINodeSelectorLabels() labels.Set
- func (c *IBMBlockCSI) GetDefaultSidecarImageByName(name string) string
- func (c *IBMBlockCSI) GetLabels() labels.Set
- func (c *IBMBlockCSI) SetDefaults() bool
- func (c *IBMBlockCSI) Unwrap() *csiv1.IBMBlockCSI
- func (c *IBMBlockCSI) Validate() error
- type Instance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBMBlockCSI ¶
type IBMBlockCSI struct { *csiv1.IBMBlockCSI ServerVersion string }
IBMBlockCSI is the wrapper for csiv1.IBMBlockCSI type
func New ¶
func New(c *csiv1.IBMBlockCSI, serverVersion string) *IBMBlockCSI
New returns a wrapper for csiv1.IBMBlockCSI
func (*IBMBlockCSI) GenerateCSIAddonsReplicatorClusterRole ¶
func (c *IBMBlockCSI) GenerateCSIAddonsReplicatorClusterRole() *rbacv1.ClusterRole
func (*IBMBlockCSI) GenerateCSIAddonsReplicatorClusterRoleBinding ¶
func (c *IBMBlockCSI) GenerateCSIAddonsReplicatorClusterRoleBinding() *rbacv1.ClusterRoleBinding
func (*IBMBlockCSI) GenerateCSIDriver ¶
func (c *IBMBlockCSI) GenerateCSIDriver() *storagev1.CSIDriver
func (*IBMBlockCSI) GenerateControllerServiceAccount ¶
func (c *IBMBlockCSI) GenerateControllerServiceAccount() *corev1.ServiceAccount
func (*IBMBlockCSI) GenerateExternalAttacherClusterRole ¶
func (c *IBMBlockCSI) GenerateExternalAttacherClusterRole() *rbacv1.ClusterRole
func (*IBMBlockCSI) GenerateExternalAttacherClusterRoleBinding ¶
func (c *IBMBlockCSI) GenerateExternalAttacherClusterRoleBinding() *rbacv1.ClusterRoleBinding
func (*IBMBlockCSI) GenerateExternalProvisionerClusterRole ¶
func (c *IBMBlockCSI) GenerateExternalProvisionerClusterRole() *rbacv1.ClusterRole
func (*IBMBlockCSI) GenerateExternalProvisionerClusterRoleBinding ¶
func (c *IBMBlockCSI) GenerateExternalProvisionerClusterRoleBinding() *rbacv1.ClusterRoleBinding
func (*IBMBlockCSI) GenerateExternalResizerClusterRole ¶
func (c *IBMBlockCSI) GenerateExternalResizerClusterRole() *rbacv1.ClusterRole
func (*IBMBlockCSI) GenerateExternalResizerClusterRoleBinding ¶
func (c *IBMBlockCSI) GenerateExternalResizerClusterRoleBinding() *rbacv1.ClusterRoleBinding
func (*IBMBlockCSI) GenerateExternalSnapshotterClusterRole ¶
func (c *IBMBlockCSI) GenerateExternalSnapshotterClusterRole() *rbacv1.ClusterRole
func (*IBMBlockCSI) GenerateExternalSnapshotterClusterRoleBinding ¶
func (c *IBMBlockCSI) GenerateExternalSnapshotterClusterRoleBinding() *rbacv1.ClusterRoleBinding
func (*IBMBlockCSI) GenerateNodeServiceAccount ¶
func (c *IBMBlockCSI) GenerateNodeServiceAccount() *corev1.ServiceAccount
func (*IBMBlockCSI) GenerateSCCForControllerClusterRole ¶
func (c *IBMBlockCSI) GenerateSCCForControllerClusterRole() *rbacv1.ClusterRole
func (*IBMBlockCSI) GenerateSCCForControllerClusterRoleBinding ¶
func (c *IBMBlockCSI) GenerateSCCForControllerClusterRoleBinding() *rbacv1.ClusterRoleBinding
func (*IBMBlockCSI) GenerateSCCForNodeClusterRole ¶
func (c *IBMBlockCSI) GenerateSCCForNodeClusterRole() *rbacv1.ClusterRole
func (*IBMBlockCSI) GenerateSCCForNodeClusterRoleBinding ¶
func (c *IBMBlockCSI) GenerateSCCForNodeClusterRoleBinding() *rbacv1.ClusterRoleBinding
func (*IBMBlockCSI) GenerateVolumeGroupClusterRole ¶ added in v1.11.0
func (c *IBMBlockCSI) GenerateVolumeGroupClusterRole() *rbacv1.ClusterRole
func (*IBMBlockCSI) GenerateVolumeGroupClusterRoleBinding ¶ added in v1.11.0
func (c *IBMBlockCSI) GenerateVolumeGroupClusterRoleBinding() *rbacv1.ClusterRoleBinding
func (*IBMBlockCSI) GetAnnotations ¶
func (c *IBMBlockCSI) GetAnnotations(daemonSetRestartedKey string, daemonSetRestartedValue string) labels.Set
GetAnnotations returns all the annotations to be set on all resources
func (*IBMBlockCSI) GetCSIControllerImage ¶
func (c *IBMBlockCSI) GetCSIControllerImage() string
func (*IBMBlockCSI) GetCSIControllerPodLabels ¶
func (c *IBMBlockCSI) GetCSIControllerPodLabels() labels.Set
func (*IBMBlockCSI) GetCSIControllerSelectorLabels ¶
func (c *IBMBlockCSI) GetCSIControllerSelectorLabels() labels.Set
func (*IBMBlockCSI) GetCSINodeImage ¶
func (c *IBMBlockCSI) GetCSINodeImage() string
func (*IBMBlockCSI) GetCSINodePodLabels ¶
func (c *IBMBlockCSI) GetCSINodePodLabels() labels.Set
func (*IBMBlockCSI) GetCSINodeSelectorLabels ¶
func (c *IBMBlockCSI) GetCSINodeSelectorLabels() labels.Set
func (*IBMBlockCSI) GetDefaultSidecarImageByName ¶
func (c *IBMBlockCSI) GetDefaultSidecarImageByName(name string) string
func (*IBMBlockCSI) GetLabels ¶
func (c *IBMBlockCSI) GetLabels() labels.Set
GetLabels returns all the labels to be set on all resources
func (*IBMBlockCSI) SetDefaults ¶
func (c *IBMBlockCSI) SetDefaults() bool
SetDefaults set defaults if omitted in spec, returns true means CR should be updated on cluster. Replace it with kubernetes native default setter when it is available. https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#defaulting
func (*IBMBlockCSI) Unwrap ¶
func (c *IBMBlockCSI) Unwrap() *csiv1.IBMBlockCSI
Unwrap returns the csiv1.IBMBlockCSI object
func (*IBMBlockCSI) Validate ¶
func (c *IBMBlockCSI) Validate() error
Validate checks if the spec is valid Replace it with kubernetes native default setter when it is available. https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#validation