app_controller

package
v0.0.0-...-f8061e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2024 License: AGPL-3.0 Imports: 19 Imported by: 0

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 ChartCh

type ChartCh struct {
	Name string
	Err  error
}

type InstallChart

type InstallChart struct {
	Name string
	Err  error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL