Documentation ¶
Index ¶
- Constants
- Variables
- func JoinCwd(segments ...string) string
- func Log() string
- func MockConfigFile(vfs storage.VirtualFS, configPath string) error
- func Normalise(p string) string
- func Path(parent, relative string) string
- func ReadGlobalConfig(configPath string) error
- func Reason(name string) string
- func Repo(relative string) string
- func ResetFS(index string, silent bool) (vfs storage.VirtualFS, root string)
- func Root() string
- func Scientist(vfs storage.VirtualFS, index string, silent bool) string
- func SetupTest(index, configPath, l10nPath string, silent bool) (vfs storage.VirtualFS, root string)
- func UseI18n(l10nPath string) error
- type CommandTester
- type DetectorStub
- type Directory
- type DirectoryQuantities
- type DirectoryTreeBuilder
- type ExecutorStub
- type File
- type Tree
Constants ¶
View Source
const ( Silent = true Verbose = false )
Variables ¶
View Source
var ( BackyardWorldsPlanet9Scan01First2 []string BackyardWorldsPlanet9Scan01First4 []string BackyardWorldsPlanet9Scan01First6 []string BackyardWorldsPlanet9Scan01Last4 []string BackyardWorldsPlanet9Scan02 []string ProfilesConfigData cfg.ProfilesConfigMap SchemesConfigData common.SchemesConfig SamplerConfigData common.SamplerConfig AdvancedConfigData common.AdvancedConfig LoggingConfigData common.LoggingConfig )
Functions ¶
func MockConfigFile ¶
MockConfigFile create a dummy config file in the file system specified
func ReadGlobalConfig ¶
Types ¶
type CommandTester ¶
CommandTester eases creation of unit tests for cobra command
func (*CommandTester) Execute ¶
func (ch *CommandTester) Execute() (string, error)
type DetectorStub ¶
type DetectorStub struct { }
func (*DetectorStub) Scan ¶
func (j *DetectorStub) Scan() language.Tag
type DirectoryQuantities ¶
type DirectoryTreeBuilder ¶
type DirectoryTreeBuilder struct {
// contains filtered or unexported fields
}
type ExecutorStub ¶
type ExecutorStub struct {
Name string
}
func (*ExecutorStub) Execute ¶
func (e *ExecutorStub) Execute(_ ...string) error
func (*ExecutorStub) Look ¶
func (e *ExecutorStub) Look() (string, error)
func (*ExecutorStub) ProgName ¶
func (e *ExecutorStub) ProgName() string
Click to show internal directories.
Click to hide internal directories.