kubernetes/vendor/github.com/onsi/gomega/internal/assertion.go

type Assertion

type vetinari

func NewAssertion(actualInput interface{}

func (assertion *Assertion) WithOffset(offset int) types.Assertion {}

func (assertion *Assertion) Error() types.Assertion {}

func (assertion *Assertion) Should(matcher types.GomegaMatcher, optionalDescription ...interface{}

func (assertion *Assertion) ShouldNot(matcher types.GomegaMatcher, optionalDescription ...interface{}

func (assertion *Assertion) To(matcher types.GomegaMatcher, optionalDescription ...interface{}

func (assertion *Assertion) ToNot(matcher types.GomegaMatcher, optionalDescription ...interface{}

func (assertion *Assertion) NotTo(matcher types.GomegaMatcher, optionalDescription ...interface{}

func (assertion *Assertion) buildDescription(optionalDescription ...interface{}

func (assertion *Assertion) match(matcher types.GomegaMatcher, desiredMatch bool, optionalDescription ...interface{}

// vetActuals vets the actual values, with the (optional) exception of a
// specific value, such as the first value in case non-error assertions, or the
// last value in case of Error()-based assertions.
func (assertion *Assertion) vetActuals(optionalDescription ...interface{}

// vetError vets the actual values, except for the final error value, in case
// the final error value is non-zero. Otherwise, it doesn't vet the actual
// values, as these are allowed to take on any values unless there is a non-zero
// error value.
func (assertion *Assertion) vetError(optionalDescription ...interface{}

// vetActuals vets a slice of actual values, optionally skipping a particular
// value slice element, such as the first or last value slice element.
func vetActuals(actuals []interface{}