storageclass

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WatcherMutex sync.Mutex

Functions

func EnsureWatcherStarted

func EnsureWatcherStarted(cli client.Client, clusterKey types.NamespacedName)

func SetStorageClassTemplate

func SetStorageClassTemplate(clusterInstance *hwameistoroperatorv1alpha1.Cluster)

func WatchLocalStorageNodes

func WatchLocalStorageNodes(cli client.Client, clusterKey types.NamespacedName, stopCh <-chan struct{})

Types

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