Documentation ¶
Index ¶
- func CheckComponentsInstalledSuccessfully(cli client.Client, clusterInstance *hwameistoroperatorv1alpha1.Cluster) bool
- func CreateLocalDiskClaims(cli client.Client, localDiskClaims []hwameistorv1alpha1.LocalDiskClaim) error
- func GenerateLocalDiskClaimsToCreateAccordingToLocalDisks(localDisks []hwameistorv1alpha1.LocalDisk) []hwameistorv1alpha1.LocalDiskClaim
- func ListLocalDisks(cli client.Client) ([]hwameistorv1alpha1.LocalDisk, error)
- func ReserveDisk(clusterInstance *hwameistoroperatorv1alpha1.Cluster, cli client.Client) error
- func SiftAvailableAndUnreservedDisks(localDisks []hwameistorv1alpha1.LocalDisk) []hwameistorv1alpha1.LocalDisk
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckComponentsInstalledSuccessfully ¶
func CheckComponentsInstalledSuccessfully(cli client.Client, clusterInstance *hwameistoroperatorv1alpha1.Cluster) bool
func CreateLocalDiskClaims ¶
func CreateLocalDiskClaims(cli client.Client, localDiskClaims []hwameistorv1alpha1.LocalDiskClaim) error
func GenerateLocalDiskClaimsToCreateAccordingToLocalDisks ¶
func GenerateLocalDiskClaimsToCreateAccordingToLocalDisks(localDisks []hwameistorv1alpha1.LocalDisk) []hwameistorv1alpha1.LocalDiskClaim
func ListLocalDisks ¶
func ListLocalDisks(cli client.Client) ([]hwameistorv1alpha1.LocalDisk, error)
func ReserveDisk ¶
func ReserveDisk(clusterInstance *hwameistoroperatorv1alpha1.Cluster, cli client.Client) error
func SiftAvailableAndUnreservedDisks ¶
func SiftAvailableAndUnreservedDisks(localDisks []hwameistorv1alpha1.LocalDisk) []hwameistorv1alpha1.LocalDisk
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.