testutil

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackupHaveCondition

func BackupHaveCondition(condType api.BackupConditionType, status core.ConditionStatus) gomegatypes.GomegaMatcher

BackupHaveCondition is a helper func that returns a matcher to check for an existing condition in condition list list

func DrainChan

func DrainChan(requests <-chan reconcile.Request)

DrainChan drains the request chan time for drainTimeout

func IsManagerStarted

func IsManagerStarted(mgr manager.Manager) chan struct{}

IsManagerStarted returns a chnnel that receive a signal when controller is started

func NewTestLogger

func NewTestLogger(w io.Writer, options ...zap.Option) logr.Logger

NewTestLogger returns a logger good for tests

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL