Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestSettings ¶ added in v0.8.2
type TestSettings struct {
// contains filtered or unexported fields
}
TestSettings respresents the Settings instance for tests
func Settings ¶ added in v0.8.2
func Settings() *TestSettings
Settings returns TestSettings instance with predefined set of print.Settings
func (*TestSettings) Build ¶ added in v0.8.2
func (s *TestSettings) Build() *print.Settings
Build builds and returns print.Settings based on the provided overrides in TestSettings
func (*TestSettings) With ¶ added in v0.8.2
func (s *TestSettings) With(override *print.Settings) *TestSettings
With appends provided 'override' print.Settings to TestSettings
func (*TestSettings) WithColor ¶ added in v0.8.2
func (s *TestSettings) WithColor() *TestSettings
WithColor appends predefined 'ShowColor: true' to TestSettings
func (*TestSettings) WithSections ¶ added in v0.8.2
func (s *TestSettings) WithSections() *TestSettings
WithSections appends predefined show all sections ShowHeader, ShowProviders, ShowInputs, ShowOutputs to TestSettings
Click to show internal directories.
Click to hide internal directories.