Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsMockFilename ¶
func IsTestFilename ¶
Types ¶
type Diagnostics ¶
type Diagnostics map[Filename]hcl.Diagnostics
func DiagnosticsFromMap ¶
func DiagnosticsFromMap(m map[string]hcl.Diagnostics) Diagnostics
func (Diagnostics) AsMap ¶
func (sd Diagnostics) AsMap() map[string]hcl.Diagnostics
func (Diagnostics) AutoloadedOnly ¶
func (sd Diagnostics) AutoloadedOnly() Diagnostics
AutoloadedOnly returns only diagnostics that are not from ignored files
func (Diagnostics) Copy ¶
func (sd Diagnostics) Copy() Diagnostics
func (Diagnostics) Count ¶
func (sd Diagnostics) Count() int
type Filename ¶
func FilenameFromName ¶
FilenameFromName returns either a TestFilename or MockFilename based on the name
type MockFilename ¶
type MockFilename string
MockFilename is a custom type for mock configuration files
func (MockFilename) IsIgnored ¶
func (df MockFilename) IsIgnored() bool
func (MockFilename) IsJSON ¶
func (df MockFilename) IsJSON() bool
func (MockFilename) String ¶
func (df MockFilename) String() string
type SourceDiagnostics ¶
type SourceDiagnostics map[globalAst.DiagnosticSource]Diagnostics
func (SourceDiagnostics) Count ¶
func (svd SourceDiagnostics) Count() int
type TestFilename ¶
type TestFilename string
TestFilename is a custom type for test configuration files
func (TestFilename) IsIgnored ¶
func (mf TestFilename) IsIgnored() bool
func (TestFilename) IsJSON ¶
func (mf TestFilename) IsJSON() bool
func (TestFilename) String ¶
func (mf TestFilename) String() string
Click to show internal directories.
Click to hide internal directories.