testconsts

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Timeout             = 300 * time.Second
	Interval            = 2 * time.Second
	DefaultEventually   = 2 * time.Second
	DefaultConsistently = 30 * time.Second
)
View Source
const (
	UnsupportedScaleMetric      = "storage"
	EnabledState                = "enabled"
	DisabledState               = "disabled"
	KnativeMetricAnnotation     = "autoscaling.knative.dev/metric"
	ImageExample                = "danateam/autoscale-go"
	NonExistingImageExample     = "example-python-app:v1"
	ExampleAppName              = "new-app-name"
	NewSecretKey                = "username"
	ExampleDanaAnnotation       = "rcs.dana.io/app-name"
	TestContainerName           = "capp-test-container"
	FirstRevisionSuffix         = "-00001"
	KnativeAutoscaleTargetKey   = "autoscaling.knative.dev/target"
	KnativeActivationScaleKey   = "autoscaling.knative.dev/activation-scale"
	DefaultCmActivationScaleKey = "activationScale"
	TestIndex                   = "test"
	TestLabelKey                = "e2e-test"
	RpsScaleKey                 = "rps"
	CpuScaleKey                 = "cpu"
	MemoryScaleKey              = "memory"
	ConcurrencyScaleKey         = "concurrency"
)
View Source
const (
	CappKey = "capp"
)

Variables

View Source
var (
	CappAPIGroup      = cappv1alpha1.GroupVersion.Group
	CappNamespaceKey  = CappAPIGroup + "/parent-capp-ns"
	CappResourceKey   = CappAPIGroup + "/parent-capp"
	ManagedByLabelKey = CappAPIGroup + "/managed-by"
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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