Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGinkgor ¶ added in v0.4.3
NewGinkgor creates a new logr.Logger logging to GinkgoWriter. Log messages are displayed when a test fails but can optionally be displayed always by passing `-v` to ginkgo.
Verbosity is hard-coded to 3, enabling pkg/client request/response logging.
func ObjectTests ¶ added in v0.4.1
ObjectTests contains the logic to test any Object implementation with the hooks it implements, checking * if the Object actually implements the interface of the hook * if the Object has an identifier field * calling the hook function with incomplete contexts gives none or the correct error (meaning the error is handled correctly)
func RandomHostname ¶
func RandomHostname() string
RandomHostname generates a random hostname, useful for e2e tests and primarily used there.
func RandomIdentifier ¶ added in v0.4.5
func RandomIdentifier() string
generates random identifier similar to engine identifiers
func TestResourceName ¶
func TestResourceName() string
TestResourceName generates a name suitable for e2e test resources.
Types ¶
This section is empty.