load

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUnMarshallTool added in v0.7.0

func NewUnMarshallTool(varPaths []string, probelist map[string]probe.Probe) (*unMarshallTool, error)

Types

type ConfGit

type ConfGit struct {
	Clone bool `toml:"clone"`
	// Final Branch to checkout
	Branch string `toml:"branch"`
	// URL Repo Git
	Repo string `toml:"repo"`
	// Destination Path to clone
	Path string `toml:"path"`
	// Allow x509: certificate signed by unknown authority
	AllowInsecure bool `toml:"allowinsecure"`
}

type ConfImport added in v0.7.0

type ConfImport struct {
	// Frequency for Re-Read paths for new tests
	// Yes it's a string, the conversion to duration is made later to allow other units > h
	Frequency string
	Git       ConfGit
	Testfiles ConfTestfiles
	Variables ConfVariables
}

type ConfTestfiles

type ConfTestfiles struct {
	Included []string `toml:"included"`
	Excluded []string `toml:"excluded"`
}

type ConfVariables

type ConfVariables struct {
	Variables []string `toml:"variables"`
	Included  []string `toml:"included"`
	Excluded  []string `toml:"excluded"`
	Fromenv   bool     `toml:"fromenv"`
}

type ImportManager added in v0.7.0

type ImportManager struct {
	Frequency time.Duration
	// contains filtered or unexported fields
}

func InitImportManager added in v0.7.0

func InitImportManager(ci ConfImport) (ImportManager, error)

func (*ImportManager) LoadTestSuites added in v0.7.0

func (im *ImportManager) LoadTestSuites() (map[uint64]*teststruct.TestSuite, error)

Jump to

Keyboard shortcuts

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