Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnqueueJob ¶
func EnqueueJob(jobName string, count int64) types.GomegaMatcher
EnqueueJob checks if the `jobName` is enqueued `count` time
func MatchJSONSchema ¶
func MatchJSONSchema(fileName string) types.GomegaMatcher
MatchJSONSchema checks if JSON document matches the given JSON Schema.
func RenderTemplate ¶
func RenderTemplate(templateString string) types.GomegaMatcher
Types ¶
type EnqueueJobMatcher ¶
type EnqueueJobMatcher struct {
// contains filtered or unexported fields
}
func (*EnqueueJobMatcher) FailureMessage ¶
func (matcher *EnqueueJobMatcher) FailureMessage(actual interface{}) string
func (*EnqueueJobMatcher) Match ¶
func (matcher *EnqueueJobMatcher) Match(actual interface{}) (bool, error)
func (*EnqueueJobMatcher) NegatedFailureMessage ¶
func (matcher *EnqueueJobMatcher) NegatedFailureMessage(actual interface{}) string
type RenderTemplateMatcher ¶
type RenderTemplateMatcher struct {
// contains filtered or unexported fields
}
func (*RenderTemplateMatcher) FailureMessage ¶
func (matcher *RenderTemplateMatcher) FailureMessage(actual interface{}) string
func (*RenderTemplateMatcher) Match ¶
func (matcher *RenderTemplateMatcher) Match(actual interface{}) (bool, error)
func (*RenderTemplateMatcher) NegatedFailureMessage ¶
func (matcher *RenderTemplateMatcher) NegatedFailureMessage(actual interface{}) string
Click to show internal directories.
Click to hide internal directories.