Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenStackDatasourceReconciler ¶
type OpenStackDatasourceReconciler struct {
// Client for the kubernetes API.
client.Client
// Kubernetes scheme to use for the deschedulings.
Scheme *runtime.Scheme
// Datasources monitor.
Monitor datasources.Monitor
// Config for the reconciler.
Conf OpenStackDatasourceReconcilerConfig
}
func (*OpenStackDatasourceReconciler) Reconcile ¶
func (r *OpenStackDatasourceReconciler) 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.
func (*OpenStackDatasourceReconciler) SetupWithManager ¶
func (r *OpenStackDatasourceReconciler) SetupWithManager(mgr manager.Manager, mcl *multicluster.Client) error
type OpenStackDatasourceReconcilerConfig ¶
type OpenStackDatasourceReconcilerConfig struct {
// The controller will only touch resources with this scheduling domain.
SchedulingDomain v1alpha1.SchedulingDomain `json:"schedulingDomain"`
// Secret ref to keystone credentials stored in a k8s secret.
KeystoneSecretRef corev1.SecretReference `json:"keystoneSecretRef"`
// Secret ref to SSO credentials stored in a k8s secret, if applicable.
SSOSecretRef *corev1.SecretReference `json:"ssoSecretRef"`
}
Click to show internal directories.
Click to hide internal directories.