Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeploymentComplete ¶
func DeploymentComplete(deployment *apps.Deployment) bool
DeploymentComplete considers a deployment to be complete once all of its desired replicas are updated and available, and no old pods are running.
Types ¶
type AksAppReconciler ¶
type AksAppReconciler struct { client.Client Logger *logrus.Entry Scheme *runtime.Scheme Namespace string UseOwnerReference bool // contains filtered or unexported fields }
AksAppReconciler reconciles an AksApp object
func NewAksAppReconciler ¶
func (*AksAppReconciler) MetricResetRoutine ¶
func (r *AksAppReconciler) MetricResetRoutine()
MetricResetRoutine resets metric
func (*AksAppReconciler) MonitorRoutine ¶
func (r *AksAppReconciler) MonitorRoutine()
MonitorRoutine monitors aksapp
func (*AksAppReconciler) 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 according to the AksApp object referred to by the Request.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.10.0/pkg/reconcile
func (*AksAppReconciler) SetupWithManager ¶
func (r *AksAppReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up AksApp manager
type ConfigMapReconciler ¶
type ConfigMapReconciler struct { client.Client Logger *logrus.Entry Scheme *runtime.Scheme Namespace string }
ConfigMapReconciler reconciles a ConfigMap object
func (*ConfigMapReconciler) SetupWithManager ¶
func (r *ConfigMapReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up ConfigMap manager