testutil

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExpected

func GetExpected(format, name string) (string, error)

GetExpected returns 'example' Module and expected Golden file content

func GetModule

func GetModule(config *print.Config) (*terraform.Module, error)

GetModule returns 'example' Module

func With added in v0.16.0

func With(fn func(*print.Config)) print.Config

With appends items to provided print.Config.

func WithDefaultSections added in v0.16.0

func WithDefaultSections(override ...print.Config) print.Config

WithDefaultSections shows default sections (everything except footer) to provided print.Config.

func WithHTML added in v0.14.0

func WithHTML(override ...print.Config) print.Config

WithHTML sets HTML to provided print.Config.

func WithHideEmpty added in v0.16.0

func WithHideEmpty(override ...print.Config) print.Config

WithHideEmpty sets HideEmpty to provided print.Config.

func WithSections added in v0.12.0

func WithSections(override ...print.Config) print.Config

WithSections shows all sections (including footer) to provided print.Config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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