Documentation ¶
Index ¶
- type Reconciler
- func (reconciler *Reconciler) HasAlamedaDeployment(deploymentNS, deploymentName string) bool
- func (reconciler *Reconciler) HasAlamedaPod(podNS, podName string) bool
- func (reconciler *Reconciler) InitAlamedaController() (alamedascaler *autoscaling_v1alpha1.AlamedaScaler, needUpdated bool)
- func (reconciler *Reconciler) RemoveAlamedaDeployment(deploymentNS, deploymentName string) *autoscaling_v1alpha1.AlamedaScaler
- func (reconciler *Reconciler) UpdateStatusByDeployment(deployment *appsv1.Deployment) *autoscaling_v1alpha1.AlamedaScaler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler reconciles AlamedaScaler object
func NewReconciler ¶
func NewReconciler(client client.Client, alamedascaler *autoscaling_v1alpha1.AlamedaScaler) *Reconciler
NewReconciler creates Reconciler object
func (*Reconciler) HasAlamedaDeployment ¶
func (reconciler *Reconciler) HasAlamedaDeployment(deploymentNS, deploymentName string) bool
HasAlamedaDeployment checks the AlamedaScaler has the deployment or not
func (*Reconciler) HasAlamedaPod ¶
func (reconciler *Reconciler) HasAlamedaPod(podNS, podName string) bool
HasAlamedaPod checks the AlamedaScaler has the AlamedaPod or not
func (*Reconciler) InitAlamedaController ¶
func (reconciler *Reconciler) InitAlamedaController() (alamedascaler *autoscaling_v1alpha1.AlamedaScaler, needUpdated bool)
InitAlamedaController try to initialize alamedaController field of AlamedaScaler
func (*Reconciler) RemoveAlamedaDeployment ¶
func (reconciler *Reconciler) RemoveAlamedaDeployment(deploymentNS, deploymentName string) *autoscaling_v1alpha1.AlamedaScaler
RemoveAlamedaDeployment removes deployment from alamedaController of AlamedaScaler
func (*Reconciler) UpdateStatusByDeployment ¶
func (reconciler *Reconciler) UpdateStatusByDeployment(deployment *appsv1.Deployment) *autoscaling_v1alpha1.AlamedaScaler
UpdateStatusByDeployment updates status by deployment
Click to show internal directories.
Click to hide internal directories.