Documentation
¶
Overview ¶
Package controller implements the controller logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeImages ¶
type NodeImages struct {
OpenStackNodeImages []*apiv1alpha1.OpenStackNodeImage `yaml:"openStackNodeImages"`
}
NodeImages is the list of OpenStack images for the given cluster stack release.
type OpenStackClusterStackReleaseReconciler ¶
type OpenStackClusterStackReleaseReconciler struct {
client.Client
Scheme *runtime.Scheme
GitHubClientFactory githubclient.Factory
ReleaseDirectory string
// contains filtered or unexported fields
}
OpenStackClusterStackReleaseReconciler reconciles a OpenStackClusterStackRelease object.
func (*OpenStackClusterStackReleaseReconciler) Reconcile ¶
func (r *OpenStackClusterStackReleaseReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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 OpenStackClusterStackRelease 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.16.3/pkg/reconcile
func (*OpenStackClusterStackReleaseReconciler) SetupWithManager ¶
func (r *OpenStackClusterStackReleaseReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type OpenStackNodeImageReleaseReconciler ¶
type OpenStackNodeImageReleaseReconciler struct {
client.Client
Scheme *runtime.Scheme
ImageImportTimeout int
}
OpenStackNodeImageReleaseReconciler reconciles a OpenStackNodeImageRelease object.
func (*OpenStackNodeImageReleaseReconciler) Reconcile ¶
func (r *OpenStackNodeImageReleaseReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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 OpenStackNodeImageRelease 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.16.3/pkg/reconcile
func (*OpenStackNodeImageReleaseReconciler) SetupWithManager ¶
func (r *OpenStackNodeImageReleaseReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.