Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ExpectationTimeout time.Duration ResourceExpectations = NewResourceExpectations() )
Functions ¶
This section is empty.
Types ¶
type Expectations ¶
type Expectations interface {
Expect(controllerKey string, action Action, name string)
Observe(controllerKey string, action Action, name string)
SatisfiedExpectations(controllerKey string) (bool, time.Duration, map[Action][]string)
DeleteExpectations(controllerKey string)
GetExpectations(controllerKey string) map[Action]sets.String
}
Expectations is an interface that allows users to set and wait on expectations of resource creation and deletion.
func NewResourceExpectations ¶
func NewResourceExpectations() Expectations
NewResourceExpectations returns a common Expectations.
Click to show internal directories.
Click to hide internal directories.