test

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeBoolPointer

func MakeBoolPointer(b bool) *bool

MakeBoolPointer creates and returns a pointer to the passed boolean value.

func MakeStrPointer

func MakeStrPointer(s string) *string

MakeStrPointer creates and returns a pointer to the passed string value.

func Must

func Must(err error)

Must errors with `GinkgoT().Fatal` if the error is non-nil.

func RevertableSet

func RevertableSet(dst, src interface{}) (revert func())

RevertableSet sets the element of dst to src and returns a function that can revert back to the original values.

func Set

func Set(dst, src interface{})

Set sets the pointer dst to the value of src.

dst has to be a pointer, src has to be assignable to the element type of dst.

Types

This section is empty.

Directories

Path Synopsis
integration

Jump to

Keyboard shortcuts

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