Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { Context context.Context App *v1.Applications DataPlanes *v1.DataPlanes K8sClientSet *kubernetes.Clientset Client client.Client EksIC eks.Eks }
func NewApplication ¶
func NewApplication( ctx context.Context, app *v1.Applications, dp *v1.DataPlanes, client client.Client, k8sClientSet *kubernetes.Clientset, ) *Application
func (*Application) ReconcileApplicationDeployer ¶
func (a *Application) ReconcileApplicationDeployer() error
Deployer is responsible for deploying apps
func (*Application) UninstallApplications ¶
func (a *Application) UninstallApplications() error
type ApplicationReconciler ¶
type ApplicationReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme // reconcile time duration, defaults to 10s ReconcileWait time.Duration Predicates predicate.Predicate Recorder record.EventRecorder CustomerName string EnablePrivate bool }
ApplicationReconciler reconciles a Application object
func NewApplicationReconciler ¶
func NewApplicationReconciler(mgr ctrl.Manager, enablePrivate bool, customerName string) *ApplicationReconciler
func (*ApplicationReconciler) Reconcile ¶
func (r *ApplicationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
+kubebuilder:rbac:groups=baaz.dev,resources=applications,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=baaz.dev,resources=applications/status,verbs=get;update;patch +kubebuilder:rbac:groups=baaz.dev,resources=applications/finalizers,verbs=update
func (*ApplicationReconciler) SetupWithManager ¶
func (r *ApplicationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type InstallChart ¶
Click to show internal directories.
Click to hide internal directories.