Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NsName = "capp-e2e-tests" DefaultScaleMetric = "cpu" CappSecretName = "capp-secret" CappAdmin = "capp-admin" CappName = "capp-default-test" CappBaseImage = "ghcr.io/knative/autoscale-go:latest" SecretDataKey = "password" SecretDataValue = "password" )
Functions ¶
func CreateBaseCapp ¶
func CreateBaseCapp() *rcsv1alpha1.Capp
CreateBaseCapp is responsible for making the most lean version of Capp so we can manipulate it in the tests
func CreateRole ¶
CreateRole creates a role with basic permissions for pod logs
func CreateRoleBinding ¶
func CreateRoleBinding() *rbacv1.RoleBinding
CreateRole creates a binding for the pod reader role
func CreateSecret ¶
CreateSecret creates a simple secret for our tests' use
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.