Documentation ¶
Index ¶
- func CheckOwnerReference(ownerReference []apiv1.OwnerReference, crdFilter []configuration.CrdFilter, ...) bool
- func GetResourceHPA(hpaList []*scalingv1.HorizontalPodAutoscaler, name, namespace, kind string) *scalingv1.HorizontalPodAutoscaler
- func IsManaged(podSetName string, ...) bool
- func TestScaleCrd(crScale *provider.CrScale, groupResourceSchema schema.GroupResource, ...) bool
- func TestScaleDeployment(deployment *appsv1.Deployment, timeout time.Duration, logger *log.Logger) bool
- func TestScaleHPACrd(cr *provider.CrScale, hpa *scalingv1.HorizontalPodAutoscaler, ...) bool
- func TestScaleHpaDeployment(deployment *provider.Deployment, hpa *v1autoscaling.HorizontalPodAutoscaler, ...) bool
- func TestScaleHpaStatefulSet(statefulset *appsv1.StatefulSet, hpa *v1autoscaling.HorizontalPodAutoscaler, ...) bool
- func TestScaleStatefulSet(statefulset *appsv1.StatefulSet, timeout time.Duration, logger *log.Logger) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckOwnerReference ¶
func CheckOwnerReference(ownerReference []apiv1.OwnerReference, crdFilter []configuration.CrdFilter, crds []*apiextv1.CustomResourceDefinition) bool
func GetResourceHPA ¶
func GetResourceHPA(hpaList []*scalingv1.HorizontalPodAutoscaler, name, namespace, kind string) *scalingv1.HorizontalPodAutoscaler
func IsManaged ¶
func IsManaged(podSetName string, managedPodSet []configuration.ManagedDeploymentsStatefulsets) bool
func TestScaleCrd ¶
func TestScaleDeployment ¶
func TestScaleHPACrd ¶
func TestScaleHpaDeployment ¶
func TestScaleHpaDeployment(deployment *provider.Deployment, hpa *v1autoscaling.HorizontalPodAutoscaler, timeout time.Duration, logger *log.Logger) bool
func TestScaleHpaStatefulSet ¶
func TestScaleHpaStatefulSet(statefulset *appsv1.StatefulSet, hpa *v1autoscaling.HorizontalPodAutoscaler, timeout time.Duration, logger *log.Logger) bool
func TestScaleStatefulSet ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.