Documentation ¶
Index ¶
Constants ¶
View Source
const ( Version = "1.0.0" NodeLeaseNamePrefix = "hwameistor-local-storage-worker" ControllerLeaseName = "hwameistor-local-storage-master" TopologyNodeKey = "topology.lvm.hwameistor.io/node" )
consts
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerManager ¶
type ControllerManager interface { Run(stopCh <-chan struct{}) ReconcileNode(node *apisv1alpha1.LocalStorageNode) ReconcileVolume(vol *apisv1alpha1.LocalVolume) ReconcileVolumeGroup(vol *apisv1alpha1.LocalVolumeGroup) ReconcileVolumeExpand(vol *apisv1alpha1.LocalVolumeExpand) ReconcileVolumeMigrate(vol *apisv1alpha1.LocalVolumeMigrate) ReconcileVolumeConvert(vol *apisv1alpha1.LocalVolumeConvert) }
ControllerManager interface
type LocalStorageMember ¶
type LocalStorageMember interface { Run(stopCh <-chan struct{}) // ****** configuration ******* // ConfigureBase(name string, namespace string, haSystemConfig apisv1alpha1.SystemConfig, cli client.Client, informersCache cache.Cache) LocalStorageMember ConfigureNode() LocalStorageMember ConfigureController(scheme *runtime.Scheme) LocalStorageMember ConfigureCSIDriver(driverName string, sockAddr string) LocalStorageMember ConfigureRESTServer(httpPort int) LocalStorageMember // access the modules Controller() ControllerManager Node() NodeManager Name() string Version() string DriverName() string }
LocalStorageMember interface
type NodeManager ¶
type NodeManager interface { Run(stopCh <-chan struct{}) Storage() *nodestorage.LocalManager TakeVolumeReplicaTaskAssignment(vol *apisv1alpha1.LocalVolume) ReconcileVolumeReplica(replica *apisv1alpha1.LocalVolumeReplica) }
NodeManager interface
Directories ¶
Path | Synopsis |
---|---|
client
|
|
clientset/versioned
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
Package hwameistor contains hwameistor API versions.
|
Package hwameistor contains hwameistor API versions. |
v1alpha1
Package v1alpha1 contains API Schema definitions for the localstorage v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=hwameistor.io Package v1alpha1 contains v1alpha1 API versions.
|
Package v1alpha1 contains API Schema definitions for the localstorage v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=hwameistor.io Package v1alpha1 contains v1alpha1 API versions. |
Click to show internal directories.
Click to hide internal directories.