matchers

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeAvailable

func BeAvailable() types.GomegaMatcher

func ContainLines

func ContainLines(expected ...interface{}) types.GomegaMatcher

Types

type BeAvailableMatcher

type BeAvailableMatcher struct {
	Docker occam.Docker
}

func (*BeAvailableMatcher) FailureMessage

func (m *BeAvailableMatcher) FailureMessage(actual interface{}) string

func (*BeAvailableMatcher) Match

func (*BeAvailableMatcher) Match(actual interface{}) (bool, error)

func (*BeAvailableMatcher) NegatedFailureMessage

func (m *BeAvailableMatcher) NegatedFailureMessage(actual interface{}) string

type ServeMatcher added in v0.1.0

type ServeMatcher struct {
	// contains filtered or unexported fields
}

func Serve added in v0.1.0

func Serve(expected interface{}) *ServeMatcher

func (*ServeMatcher) FailureMessage added in v0.1.0

func (sm *ServeMatcher) FailureMessage(actual interface{}) (message string)

func (*ServeMatcher) Match added in v0.1.0

func (sm *ServeMatcher) Match(actual interface{}) (success bool, err error)

func (*ServeMatcher) NegatedFailureMessage added in v0.1.0

func (sm *ServeMatcher) NegatedFailureMessage(actual interface{}) (message string)

func (*ServeMatcher) OnPort added in v0.1.0

func (sm *ServeMatcher) OnPort(port int) *ServeMatcher

func (*ServeMatcher) WithDocker added in v0.1.0

func (sm *ServeMatcher) WithDocker(docker occam.Docker) *ServeMatcher

func (*ServeMatcher) WithEndpoint added in v0.1.0

func (sm *ServeMatcher) WithEndpoint(endpoint string) *ServeMatcher

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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