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 *localstoragev1alpha1.LocalStorageNode) ReconcileVolume(vol *localstoragev1alpha1.LocalVolume) ReconcileVolumeExpand(vol *localstoragev1alpha1.LocalVolumeExpand) ReconcileVolumeMigrate(vol *localstoragev1alpha1.LocalVolumeMigrate) ReconcileVolumeConvert(vol *localstoragev1alpha1.LocalVolumeConvert) }
ControllerManager interface
type LocalStorageMember ¶
type LocalStorageMember interface { Run(stopCh <-chan struct{}) // ****** configuration ******* // ConfigureBase(name string, namespace string, haSystemConfig localstoragev1alpha1.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 *localstoragev1alpha1.LocalVolume) ReconcileVolumeReplica(replica *localstoragev1alpha1.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. |
clientset/versioned/typed/localstorage/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
clientset/versioned/typed/localstorage/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
Package localstorage contains localstorage API versions.
|
Package localstorage contains localstorage API versions. |
v1alpha1
Package v1alpha1 contains API Schema definitions for the localstorage v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=localstorage.hwameistor.io Package v1alpha1 contains API Schema definitions for the localstorage v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=localstorage.hwameistor.io
|
Package v1alpha1 contains API Schema definitions for the localstorage v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=localstorage.hwameistor.io Package v1alpha1 contains API Schema definitions for the localstorage v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=localstorage.hwameistor.io |
Click to show internal directories.
Click to hide internal directories.