Documentation ¶
Index ¶
- Constants
- type OpenStackDataPlaneNodeReconciler
- func (r *OpenStackDataPlaneNodeReconciler) GetInstanceRole(ctx context.Context, instance *dataplanev1.OpenStackDataPlaneNode) (*dataplanev1.OpenStackDataPlaneRole, error)
- func (r *OpenStackDataPlaneNodeReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, _err error)
- func (r *OpenStackDataPlaneNodeReconciler) SetupWithManager(mgr ctrl.Manager) error
- type OpenStackDataPlaneReconciler
- type OpenStackDataPlaneRoleReconciler
Constants ¶
const ( // AnsibleSSHPrivateKey ssh private key AnsibleSSHPrivateKey = "ssh-privatekey" // AnsibleSSHAuthorizedKeys authorized keys AnsibleSSHAuthorizedKeys = "authorized_keys" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenStackDataPlaneNodeReconciler ¶
type OpenStackDataPlaneNodeReconciler struct { client.Client Kclient kubernetes.Interface Scheme *runtime.Scheme Log logr.Logger }
OpenStackDataPlaneNodeReconciler reconciles a OpenStackDataPlaneNode object
func (*OpenStackDataPlaneNodeReconciler) GetInstanceRole ¶
func (r *OpenStackDataPlaneNodeReconciler) GetInstanceRole(ctx context.Context, instance *dataplanev1.OpenStackDataPlaneNode) (*dataplanev1.OpenStackDataPlaneRole, error)
GetInstanceRole returns the role of a node based on the node's role name
func (*OpenStackDataPlaneNodeReconciler) Reconcile ¶
func (r *OpenStackDataPlaneNodeReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, _err 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 OpenStackDataPlaneNode 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.12.2/pkg/reconcile
func (*OpenStackDataPlaneNodeReconciler) SetupWithManager ¶
func (r *OpenStackDataPlaneNodeReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type OpenStackDataPlaneReconciler ¶
type OpenStackDataPlaneReconciler struct { client.Client Kclient kubernetes.Interface Scheme *runtime.Scheme Log logr.Logger }
OpenStackDataPlaneReconciler reconciles a OpenStackDataPlane object
func (*OpenStackDataPlaneReconciler) Reconcile ¶
func (r *OpenStackDataPlaneReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, _err 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 OpenStackDataPlane 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.12.2/pkg/reconcile
func (*OpenStackDataPlaneReconciler) SetupWithManager ¶
func (r *OpenStackDataPlaneReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type OpenStackDataPlaneRoleReconciler ¶
type OpenStackDataPlaneRoleReconciler struct { client.Client Kclient kubernetes.Interface Scheme *runtime.Scheme Log logr.Logger }
OpenStackDataPlaneRoleReconciler reconciles a OpenStackDataPlaneRole object
func (*OpenStackDataPlaneRoleReconciler) Reconcile ¶
func (r *OpenStackDataPlaneRoleReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, _err 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 OpenStackDataPlaneRole 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.12.2/pkg/reconcile
func (*OpenStackDataPlaneRoleReconciler) SetupWithManager ¶
func (r *OpenStackDataPlaneRoleReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.