Documentation
¶
Overview ¶
Package cmd defines the Iter8 CLI commands and their flags.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertGoldenBytes ¶ added in v0.9.3
func AssertGoldenBytes(t TestingT, actual []byte, filename string)
AssertGoldenBytes asserts that the give actual content matches the contents of the given filename
func AssertGoldenFile ¶ added in v0.9.3
func AssertGoldenFile(t TestingT, actualFileName string, expectedFilename string)
AssertGoldenFile asserts that the content of the actual file matches the contents of the expected file
func AssertGoldenString ¶ added in v0.9.3
func AssertGoldenString(t TestingT, actual, filename string)
AssertGoldenString asserts that the given string matches the contents of the given file.
Types ¶
type BuildInfo ¶ added in v0.9.0
type BuildInfo struct {
// Version is the semantic version
Version string `json:"version,omitempty"`
// GitCommit is the git sha1.
GitCommit string `json:"git_commit,omitempty"`
// GoVersion is the version of the Go compiler used to compile Iter8.
GoVersion string `json:"go_version,omitempty"`
}
BuildInfo describes the compile time information.
Click to show internal directories.
Click to hide internal directories.