Documentation ¶
Index ¶
Constants ¶
View Source
const ( CSIServiceAccountName = "secerts-csi-zncdatadev" CSIClusterRoleName = "secrets-csi-zncdatadev" CSIClusterRoleBindingName = "secrets-csi-zncdatadev" )
View Source
const ( VOLUMES_MOUNTPOINT_DIR_NAME = "mountpoint-dir" VOLUMES_PLUGIN_DIR_NAME = "plugin-dir" VOLUMES_REGISTRATION_DIR_NAME = "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 AutoTlsSecretClass ¶
type AutoTlsSecretClass struct {
// contains filtered or unexported fields
}
func NewAutoTlsSecretClass ¶
func NewAutoTlsSecretClass(client client.Client) *AutoTlsSecretClass
type CSIDriver ¶
type CSIDriver struct {
// contains filtered or unexported fields
}
func NewCSIDriver ¶
func NewCSIDriver(client client.Client, cr *secretsv1alpha1.SecretCSI) *CSIDriver
type DaemonSet ¶
type DaemonSet struct {
// contains filtered or unexported fields
}
func NewDaemonSet ¶
func NewDaemonSet(client client.Client, cr *secretsv1alpha1.SecretCSI, secretCSI *secretsv1alpha1.SecretCSISpec, serviceAccount string) *DaemonSet
type SecretCSIReconciler ¶
SecretCSIReconciler reconciles a SecretCSI object
func (*SecretCSIReconciler) Reconcile ¶
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 SecretCSI 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 (*SecretCSIReconciler) SetupWithManager ¶
func (r *SecretCSIReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type StorageClass ¶
type StorageClass struct {
// contains filtered or unexported fields
}
func NewStorageClass ¶
func NewStorageClass(client client.Client, cr *secretsv1alpha1.SecretCSI) *StorageClass
Click to show internal directories.
Click to hide internal directories.