Documentation ¶
Index ¶
- Variables
- func EnsureLDNWatcherStarted(cli client.Client, clusterKey types.NamespacedName)
- func EnsureWatcherStarted(cli client.Client, clusterKey types.NamespacedName)
- func FulfillStorageClassSpec(clusterInstance *hwameistoroperatorv1alpha1.Cluster) *hwameistoroperatorv1alpha1.Cluster
- func SetStorageClassTemplate(clusterInstance *hwameistoroperatorv1alpha1.Cluster)
- func WatchLocalDiskNodes(cli client.Client, clusterKey types.NamespacedName, stopCh <-chan struct{})
- func WatchLocalStorageNodes(cli client.Client, clusterKey types.NamespacedName, stopCh <-chan struct{})
- type LocalDiskNodeWatcher
- type LocalStorageNodeWatcher
- type StorageClassMaintainer
Constants ¶
This section is empty.
Variables ¶
View Source
var WatcherMutex sync.Mutex
Functions ¶
func EnsureLDNWatcherStarted ¶ added in v0.12.0
func EnsureLDNWatcherStarted(cli client.Client, clusterKey types.NamespacedName)
func EnsureWatcherStarted ¶
func EnsureWatcherStarted(cli client.Client, clusterKey types.NamespacedName)
func FulfillStorageClassSpec ¶
func FulfillStorageClassSpec(clusterInstance *hwameistoroperatorv1alpha1.Cluster) *hwameistoroperatorv1alpha1.Cluster
func SetStorageClassTemplate ¶
func SetStorageClassTemplate(clusterInstance *hwameistoroperatorv1alpha1.Cluster)
func WatchLocalDiskNodes ¶ added in v0.12.0
func WatchLocalDiskNodes(cli client.Client, clusterKey types.NamespacedName, stopCh <-chan struct{})
func WatchLocalStorageNodes ¶
func WatchLocalStorageNodes(cli client.Client, clusterKey types.NamespacedName, stopCh <-chan struct{})
Types ¶
type LocalDiskNodeWatcher ¶ added in v0.12.0
type LocalDiskNodeWatcher struct {
GoroutineStarted bool
}
type LocalStorageNodeWatcher ¶
type LocalStorageNodeWatcher struct {
GoroutineStarted bool
}
type StorageClassMaintainer ¶
type StorageClassMaintainer struct { Client client.Client ClusterInstance *hwameistoroperatorv1alpha1.Cluster }
func NewMaintainer ¶
func NewMaintainer(cli client.Client, clusterInstance *hwameistoroperatorv1alpha1.Cluster) *StorageClassMaintainer
func (*StorageClassMaintainer) Ensure ¶
func (m *StorageClassMaintainer) Ensure() error
Click to show internal directories.
Click to hide internal directories.