Documentation ¶
Overview ¶
Package test defines custom test helpers.
Index ¶
- func HasTypeLabel(t *testing.T, builder func(crd cosmosv1.CosmosFullNode) []map[string]string)
- func RequireValidMetadata(t *testing.T, obj client.Object)
- type NopReporter
- func (n NopReporter) Debug(msg string, keysAndValues ...interface{})
- func (n NopReporter) Error(err error, msg string, keysAndValues ...interface{})
- func (n NopReporter) Info(msg string, keysAndValues ...interface{})
- func (n NopReporter) RecordError(reason string, err error)
- func (n NopReporter) RecordInfo(reason, msg string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasTypeLabel ¶ added in v0.18.0
Types ¶
type NopReporter ¶ added in v0.9.2
type NopReporter struct{}
NopReporter is a no-op kube.Reporter.
func (NopReporter) Debug ¶ added in v0.13.0
func (n NopReporter) Debug(msg string, keysAndValues ...interface{})
func (NopReporter) Error ¶ added in v0.9.2
func (n NopReporter) Error(err error, msg string, keysAndValues ...interface{})
func (NopReporter) Info ¶ added in v0.9.2
func (n NopReporter) Info(msg string, keysAndValues ...interface{})
func (NopReporter) RecordError ¶ added in v0.9.2
func (n NopReporter) RecordError(reason string, err error)
func (NopReporter) RecordInfo ¶ added in v0.9.2
func (n NopReporter) RecordInfo(reason, msg string)
Click to show internal directories.
Click to hide internal directories.