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 ¶
Types ¶
type NopReporter ¶
type NopReporter struct{}
NopReporter is a no-op kube.Reporter.
func (NopReporter) Debug ¶
func (n NopReporter) Debug(msg string, keysAndValues ...interface{})
func (NopReporter) Error ¶
func (n NopReporter) Error(err error, msg string, keysAndValues ...interface{})
func (NopReporter) Info ¶
func (n NopReporter) Info(msg string, keysAndValues ...interface{})
func (NopReporter) RecordError ¶
func (n NopReporter) RecordError(reason string, err error)
func (NopReporter) RecordInfo ¶
func (n NopReporter) RecordInfo(reason, msg string)
Click to show internal directories.
Click to hide internal directories.