Documentation ¶
Index ¶
- Constants
- type SimulationToolkitReconciler
- func (r *SimulationToolkitReconciler) DoNotRequeue(with_error error) (reconcile.Result, error)
- func (r *SimulationToolkitReconciler) ExpectedVersion() deployv1alpha1.SimulationToolkitVersion
- func (r *SimulationToolkitReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *SimulationToolkitReconciler) Requeue(with_error error) (reconcile.Result, error)
- func (r *SimulationToolkitReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *SimulationToolkitReconciler) UpdateStatus(ctx context.Context, obj *deployv1alpha1.SimulationToolkit, ...) (*deployv1alpha1.SimulationToolkit, error)
Constants ¶
View Source
const (
STALE_THRESHOLD_SECONDS = 5 * 60
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimulationToolkitReconciler ¶
type SimulationToolkitReconciler struct { client.Client Scheme *runtime.Scheme // Version of the Simulation Toolkit (from the helm-chart bundled alongside the operator) ToolkitVersion string // Version of the helm-chart that deploys the toolkit (from the helm-chart // bundled alongside the operator) HelmChartVersion string HelmChartPath string }
SimulationToolkitReconciler reconciles a SimulationToolkit object
func (*SimulationToolkitReconciler) DoNotRequeue ¶
func (r *SimulationToolkitReconciler) DoNotRequeue(with_error error) (reconcile.Result, error)
func (*SimulationToolkitReconciler) ExpectedVersion ¶
func (r *SimulationToolkitReconciler) ExpectedVersion() deployv1alpha1.SimulationToolkitVersion
func (*SimulationToolkitReconciler) Reconcile ¶
func (r *SimulationToolkitReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.0/pkg/reconcile
func (*SimulationToolkitReconciler) Requeue ¶
func (r *SimulationToolkitReconciler) Requeue(with_error error) (reconcile.Result, error)
func (*SimulationToolkitReconciler) SetupWithManager ¶
func (r *SimulationToolkitReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
func (*SimulationToolkitReconciler) UpdateStatus ¶
func (r *SimulationToolkitReconciler) UpdateStatus( ctx context.Context, obj *deployv1alpha1.SimulationToolkit, patch *client.Patch, allConditions map[string]deployv1alpha1.SimulationToolkitStatusCondition, updateEntireObject bool, ) (*deployv1alpha1.SimulationToolkit, error)
Click to show internal directories.
Click to hide internal directories.