stream

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStreamMatcherRegistryWithBuiltins

func NewStreamMatcherRegistryWithBuiltins() *matcher.StreamMatcherRegistry

func ParseEqJSONMatcher added in v0.2.0

func ParseEqJSONMatcher(v *model.Validator, r *matcher.StreamMatcherRegistry, x any) model.StreamMatcher

Types

type AnyMatcher

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

func (*AnyMatcher) Match added in v0.4.0

func (m *AnyMatcher) Match(actual []byte) (bool, string, error)

type BeEmptyMatcher

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

func (*BeEmptyMatcher) Match added in v0.4.0

func (m *BeEmptyMatcher) Match(actual []byte) (bool, string, error)

type ContainMatcher

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

func (*ContainMatcher) Match added in v0.4.0

func (m *ContainMatcher) Match(actual []byte) (bool, string, error)

type EqJSONMatcher added in v0.2.0

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

func (*EqJSONMatcher) Match added in v0.4.0

func (m *EqJSONMatcher) Match(actual []byte) (bool, string, error)

type EqMatcher

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

func (*EqMatcher) Match added in v0.4.0

func (m *EqMatcher) Match(actual []byte) (bool, string, error)

type NotMatcher

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

func (*NotMatcher) Match added in v0.4.0

func (m *NotMatcher) Match(actual []byte) (bool, string, error)

type SatisfyMatcher

type SatisfyMatcher struct {
	Command []string
	Dir     string
	Cleanup func() []error
	Env     []util.StringVar
	Timeout time.Duration
}

func (*SatisfyMatcher) Match added in v0.4.0

func (m *SatisfyMatcher) Match(actual []byte) (bool, string, error)

Jump to

Keyboard shortcuts

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