Documentation
¶
Index ¶
- func ReconcileBatch(l logr.Logger, reconcileFunctions ...ReconcileFunc) (bool, error)
- type AgentReconciler
- type BuxReconciler
- func (r *BuxReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *BuxReconciler) ReconcileConfig(_ logr.Logger) (bool, error)
- func (r *BuxReconciler) ReconcileConsole(log logr.Logger) (bool, error)
- func (r *BuxReconciler) ReconcileConsoleDeployment(_ logr.Logger) (bool, error)
- func (r *BuxReconciler) ReconcileConsoleIngress(_ logr.Logger) (bool, error)
- func (r *BuxReconciler) ReconcileConsoleMongoDeployment(_ logr.Logger) (bool, error)
- func (r *BuxReconciler) ReconcileConsoleMongoPVC(_ logr.Logger) (bool, error)
- func (r *BuxReconciler) ReconcileConsoleMongoService(_ logr.Logger) (bool, error)
- func (r *BuxReconciler) ReconcileConsoleService(_ logr.Logger) (bool, error)
- func (r *BuxReconciler) ReconcileDatastore(log logr.Logger) (bool, error)
- func (r *BuxReconciler) ReconcileDatastoreDeployment(log logr.Logger) (bool, error)
- func (r *BuxReconciler) ReconcileDatastoreService(_ logr.Logger) (bool, error)
- func (r *BuxReconciler) ReconcileDeployment(_ logr.Logger) (bool, error)
- func (r *BuxReconciler) ReconcileIngress(_ logr.Logger) (bool, error)
- func (r *BuxReconciler) ReconcilePostgresqlDeployment(_ logr.Logger) (bool, error)
- func (r *BuxReconciler) ReconcilePostgresqlPVC(_ logr.Logger) (bool, error)
- func (r *BuxReconciler) ReconcileRedis(_ logr.Logger) (bool, error)
- func (r *BuxReconciler) ReconcileService(_ logr.Logger) (bool, error)
- func (r *BuxReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *BuxReconciler) Validate(_ logr.Logger) (bool, error)
- type ReconcileFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReconcileBatch ¶
func ReconcileBatch(l logr.Logger, reconcileFunctions ...ReconcileFunc) (bool, error)
ReconcileBatch will reconcile the batch of functions
Types ¶
type AgentReconciler ¶
AgentReconciler reconciles a Agent object
func (*AgentReconciler) 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 Agent 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.11.0/pkg/reconcile
func (*AgentReconciler) SetupWithManager ¶
func (r *AgentReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type BuxReconciler ¶
type BuxReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Context context.Context NamespacedName types.NamespacedName }
BuxReconciler reconciles a Bux object
func (*BuxReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.0/pkg/reconcile
func (*BuxReconciler) ReconcileConfig ¶
func (r *BuxReconciler) ReconcileConfig(_ logr.Logger) (bool, error)
ReconcileConfig will reconcile configuration
func (*BuxReconciler) ReconcileConsole ¶
func (r *BuxReconciler) ReconcileConsole(log logr.Logger) (bool, error)
ReconcileConsole will reconcile console
func (*BuxReconciler) ReconcileConsoleDeployment ¶
func (r *BuxReconciler) ReconcileConsoleDeployment(_ logr.Logger) (bool, error)
ReconcileConsoleDeployment is the deployment
func (*BuxReconciler) ReconcileConsoleIngress ¶
func (r *BuxReconciler) ReconcileConsoleIngress(_ logr.Logger) (bool, error)
ReconcileConsoleIngress is the ingress
func (*BuxReconciler) ReconcileConsoleMongoDeployment ¶
func (r *BuxReconciler) ReconcileConsoleMongoDeployment(_ logr.Logger) (bool, error)
ReconcileConsoleMongoDeployment is the deployment
func (*BuxReconciler) ReconcileConsoleMongoPVC ¶
func (r *BuxReconciler) ReconcileConsoleMongoPVC(_ logr.Logger) (bool, error)
ReconcileConsoleMongoPVC is the postgres PVC
func (*BuxReconciler) ReconcileConsoleMongoService ¶
func (r *BuxReconciler) ReconcileConsoleMongoService(_ logr.Logger) (bool, error)
ReconcileConsoleMongoService is the service
func (*BuxReconciler) ReconcileConsoleService ¶
func (r *BuxReconciler) ReconcileConsoleService(_ logr.Logger) (bool, error)
ReconcileConsoleService is the service
func (*BuxReconciler) ReconcileDatastore ¶
func (r *BuxReconciler) ReconcileDatastore(log logr.Logger) (bool, error)
ReconcileDatastore is the datastore
func (*BuxReconciler) ReconcileDatastoreDeployment ¶
func (r *BuxReconciler) ReconcileDatastoreDeployment(log logr.Logger) (bool, error)
func (*BuxReconciler) ReconcileDatastoreService ¶
func (r *BuxReconciler) ReconcileDatastoreService(_ logr.Logger) (bool, error)
ReconcileDatastoreService is the datastore service
func (*BuxReconciler) ReconcileDeployment ¶
func (r *BuxReconciler) ReconcileDeployment(_ logr.Logger) (bool, error)
ReconcileDeployment is the deployment
func (*BuxReconciler) ReconcileIngress ¶
func (r *BuxReconciler) ReconcileIngress(_ logr.Logger) (bool, error)
ReconcileIngress is the ingress
func (*BuxReconciler) ReconcilePostgresqlDeployment ¶
func (r *BuxReconciler) ReconcilePostgresqlDeployment(_ logr.Logger) (bool, error)
ReconcilePostgresqlDeployment is the postgres deployment
func (*BuxReconciler) ReconcilePostgresqlPVC ¶
func (r *BuxReconciler) ReconcilePostgresqlPVC(_ logr.Logger) (bool, error)
ReconcilePostgresqlPVC is the postgres PVC
func (*BuxReconciler) ReconcileRedis ¶
func (r *BuxReconciler) ReconcileRedis(_ logr.Logger) (bool, error)
ReconcileRedis is for redis
func (*BuxReconciler) ReconcileService ¶
func (r *BuxReconciler) ReconcileService(_ logr.Logger) (bool, error)
ReconcileService is the service
func (*BuxReconciler) SetupWithManager ¶
func (r *BuxReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.