Documentation ¶
Index ¶
Constants ¶
View Source
const ( PhaseLabel string = "devbot.kfirs.com/deployment-phase" PhaseClone Phase = "clone" PhaseBake Phase = "bake" PhaseApply Phase = "apply" )
Variables ¶
View Source
var ( ApplicationFinalizer = "applications.finalizers." + apiv1.GroupVersion.Group ApplicationMeter = otel.Meter("devbot.kfirs.com/controller/Application") ApplicationReconciles metric.Int64Counter )
View Source
var ( DeploymentFinalizer = "deployments.finalizers." + apiv1.GroupVersion.Group ApplyJobImage = "" BakeJobImage = "" CloneJobImage = "" )
View Source
var (
EnvironmentFinalizer = "environments.finalizers." + apiv1.GroupVersion.Group
)
View Source
var (
RepositoryFinalizer = "repository.finalizers." + v1.GroupVersion.Group
)
Functions ¶
This section is empty.
Types ¶
type ApplicationReconciler ¶
ApplicationReconciler reconciles an Application object
func (*ApplicationReconciler) Reconcile ¶
func (r *ApplicationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, 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.
func (*ApplicationReconciler) SetupWithManager ¶
func (r *ApplicationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DeploymentReconciler ¶
type DeploymentReconciler struct { client.Client Scheme *runtime.Scheme DisableJSONLogging bool LogLevel string }
func (*DeploymentReconciler) SetupWithManager ¶
func (r *DeploymentReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type EnvironmentReconciler ¶
func (*EnvironmentReconciler) SetupWithManager ¶
func (r *EnvironmentReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RepositoryReconciler ¶
func (*RepositoryReconciler) Reconcile ¶
func (r *RepositoryReconciler) Reconcile(ctx context.Context, req controllerruntime.Request) (controllerruntime.Result, error)
func (*RepositoryReconciler) SetupWithManager ¶
func (r *RepositoryReconciler) SetupWithManager(mgr controllerruntime.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.