Documentation ¶
Overview ¶
Package testcases contains test cases for the operator which can be used both during unit and E2E testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetTLS ¶
func SetTLS(spec *api.DeploymentSpec) error
func SetTLSOrDie ¶
func SetTLSOrDie(spec *api.DeploymentSpec)
Types ¶
type UpdateTest ¶
type UpdateTest struct { Name string Deployment api.Deployment Mutate func(d *api.Deployment) }
UpdateTest defines a starting deployment and a function which will change one or more fields in it.
func UpdateTests ¶
func UpdateTests() []UpdateTest
Click to show internal directories.
Click to hide internal directories.