Documentation ¶
Index ¶
Constants ¶
View Source
const ( CSIServiceAccountName = "listeners-csi-zncdata-labs" CSIClusterRoleName = "listeners-csi-zncdata-labs" CSIClusterRoleBindingName = "listeners-csi-zncdata-labs" VolumesMountpointDirName = "mountpoint-dir" VolumesPluginDirName = "plugin-dir" VolumesRegistrationDirName = "registration-dir" )
Variables ¶
View Source
var ( ProjectRootDir = filepath.Join( "..", "..", "..", ) CRDDirectories = filepath.Join( ProjectRootDir, "config", "crd", "bases", ) LocalBin = filepath.Join( ProjectRootDir, "bin", ) )
Functions ¶
This section is empty.
Types ¶
type CSIDriver ¶
type CSIDriver struct {
// contains filtered or unexported fields
}
func NewCSIDriver ¶
func NewCSIDriver(client client.Client, cr *listenersv1alpha1.ListenerCSI) *CSIDriver
type DaemonSet ¶
type DaemonSet struct {
// contains filtered or unexported fields
}
func NewDaemonSet ¶
func NewDaemonSet(client client.Client, cr *listenersv1alpha1.ListenerCSI, serviceAccount string) *DaemonSet
type ListenerCSIReconciler ¶
ListenerCSIReconciler reconciles a ListenerCSI object
func (*ListenerCSIReconciler) Reconcile ¶
func (r *ListenerCSIReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the ListenerCSI object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile
func (*ListenerCSIReconciler) SetupWithManager ¶
func (r *ListenerCSIReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ListenerClassReconciler ¶
type ListenerClassReconciler struct {
// contains filtered or unexported fields
}
func NewListenerClassReconciler ¶
func NewListenerClassReconciler( client client.Client, cr *listenersv1alpha1.ListenerCSI, name string, serviceType listenersv1alpha1.ServiceType, ) *ListenerClassReconciler
type PersetListenerClass ¶
type PersetListenerClass struct {
// contains filtered or unexported fields
}
func NewPersetListenerClass ¶
func NewPersetListenerClass(client client.Client, cr *listenersv1alpha1.ListenerCSI) *PersetListenerClass
type RBAC ¶
type RBAC struct {
// contains filtered or unexported fields
}
func NewRBAC ¶
func NewRBAC(client client.Client, cr *listenersv1alpha1.ListenerCSI) *RBAC
type StorageClass ¶
type StorageClass struct {
// contains filtered or unexported fields
}
func NewStorageClass ¶
func NewStorageClass(client client.Client, cr *listenersv1alpha1.ListenerCSI) *StorageClass
Click to show internal directories.
Click to hide internal directories.