storageclass

package
v0.13.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL