Documentation
¶
Index ¶
- func AssertPanic(t *testing.T, f func())
- func Bool(v bool) *bool
- func CreateMockServer() *echo.Echo
- func EscapeHCLString(s string) string
- func ExecuteCommand(rootCommand *cobra.Command, args ...string) (c *cobra.Command, output string, err error)
- func ExecuteCommandErr(rootCommand *cobra.Command, args ...string) (c *cobra.Command, output string, errOutput string, err error)
- func GetOSRoot() string
- func Int(v int) *int
- func String(v string) *string
- type MockFs
- type MockIoUtil
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertPanic ¶
func CreateMockServer ¶
func CreateMockServer() *echo.Echo
func EscapeHCLString ¶
func ExecuteCommand ¶
func ExecuteCommandErr ¶
Types ¶
type MockIoUtil ¶ added in v0.1.6
type MockIoUtil struct{}
func SetupMemMapFs ¶
func SetupMemMapFs(root string) (afero.Fs, *MockIoUtil, string)
Click to show internal directories.
Click to hide internal directories.