matcher

package
v0.0.0-...-70745a7 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeOwnedBy

func BeOwnedBy(user, group string) types.GomegaMatcher

func ExpectProcess

func ExpectProcess(f *framework.Framework) GomegaAssertion

func HaveFlagThatContainsValue

func HaveFlagThatContainsValue(name, value string) types.GomegaMatcher

func HaveFlagThatDoesNotContainValue

func HaveFlagThatDoesNotContainValue(name, value string) types.GomegaMatcher

func HaveFlagThatMatchesNumerically

func HaveFlagThatMatchesNumerically(name string, comparator string, value interface{}) types.GomegaMatcher

func HaveFlagWithAnyValue

func HaveFlagWithAnyValue(name string) types.GomegaMatcher

func HaveFlagWithDifferentValue

func HaveFlagWithDifferentValue(name, value string) types.GomegaMatcher

func HaveFlagWithOptionalValue

func HaveFlagWithOptionalValue(name, value string) types.GomegaMatcher

func HaveFlagWithValue

func HaveFlagWithValue(name, value string) types.GomegaMatcher

func HavePermissionsNumerically

func HavePermissionsNumerically(comparator string, compareTo os.FileMode) types.GomegaMatcher

func NotHaveFlag

func NotHaveFlag(name string) types.GomegaMatcher

func NotHaveFlagOrHaveFlagWithDifferentValue

func NotHaveFlagOrHaveFlagWithDifferentValue(name, value string) types.GomegaMatcher

func NotHaveFlagOrHaveFlagWithValue

func NotHaveFlagOrHaveFlagWithValue(name, value string) types.GomegaMatcher

func NotHaveFlagOrNotContainValue

func NotHaveFlagOrNotContainValue(name, value string) types.GomegaMatcher

Types

type BeOwnedByMatcher

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

func (*BeOwnedByMatcher) FailureMessage

func (matcher *BeOwnedByMatcher) FailureMessage(actual interface{}) (message string)

func (*BeOwnedByMatcher) Match

func (matcher *BeOwnedByMatcher) Match(actual interface{}) (success bool, err error)

func (*BeOwnedByMatcher) NegatedFailureMessage

func (matcher *BeOwnedByMatcher) NegatedFailureMessage(actual interface{}) (message string)

type HavePermissionsNumericallyMatcher

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

func (*HavePermissionsNumericallyMatcher) FailureMessage

func (matcher *HavePermissionsNumericallyMatcher) FailureMessage(actual interface{}) (message string)

func (*HavePermissionsNumericallyMatcher) Match

func (matcher *HavePermissionsNumericallyMatcher) Match(actual interface{}) (success bool, err error)

func (*HavePermissionsNumericallyMatcher) NegatedFailureMessage

func (matcher *HavePermissionsNumericallyMatcher) NegatedFailureMessage(actual interface{}) (message string)

Jump to

Keyboard shortcuts

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