Documentation ¶
Index ¶
Constants ¶
View Source
const ( ClassExpandWaring = "expand warning" ClassExpandError = "expand error" ClassCreateSuccessful = "create successful" ClassCreateFail = "create failed" DeviceStateError = "error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterController ¶
type ClusterController struct {
// contains filtered or unexported fields
}
ClusterController controls an instance of a topolvm cluster
func NewClusterContoller ¶
func NewClusterContoller(ctx *cluster.Context, operatorImage string) *ClusterController
func (*ClusterController) UpdateStatus ¶
func (c *ClusterController) UpdateStatus(state *topolvmv1.NodeStorageState) error
type ConfigMapController ¶
type ConfigMapController struct {
// contains filtered or unexported fields
}
func NewConfigMapController ¶
func NewConfigMapController(context *cluster.Context, namespace string, ref *metav1.OwnerReference, controller *ClusterController) *ConfigMapController
NewClientController create controller for watching client custom resources created
func (*ConfigMapController) StartWatch ¶
func (c *ConfigMapController) StartWatch(stopCh <-chan struct{})
Watch watches for instances of Client custom resources and acts on them
func (*ConfigMapController) UpdateRef ¶
func (c *ConfigMapController) UpdateRef(ref *metav1.OwnerReference)
type PrePareVg ¶
type PrePareVg struct {
// contains filtered or unexported fields
}
func NewPrepareVgController ¶
type TopolvmClusterReconciler ¶
type TopolvmClusterReconciler struct {
// contains filtered or unexported fields
}
TopolvmClusterReconciler reconciles a TopolvmCluster object
func (*TopolvmClusterReconciler) SetupWithManager ¶
func (r *TopolvmClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.