Documentation ¶
Index ¶
- Variables
- func CalculateBlockIO(blkio types.BlkioStats) (uint64, uint64)
- func DuringFlightChecks(def definition.Definition, p *mpb.Progress, baseDir string) map[string]<-chan error
- func GetOrgID(cmd *cobra.Command) string
- func GetStatusBars(follow bool, testIDs []string, tests []command.Test, def definition.Definition) map[string]<-chan error
- func Lint(data []byte) error
- func MustSchemaJSONFromCompose(data []byte) []byte
- func MustSchemaYAMLFromCompose(data []byte) []byte
- func MythxAsync(p *mpb.Progress, baseDir string) map[string]<-chan error
- func NewLocalFileSource(log logrus.Ext1FieldLogger) *localFileSource
- func NewMythxStatusBar(p *mpb.Progress, id string) util.StatusBar
- func NewNoTTYStatusBar(id string, total int64) util.StatusBar
- func NewTTYStatusBar(p *mpb.Progress, bar *mpb.Bar, id string, info util.BarInfo) util.StatusBar
- func NewTrackerLogger(id string, infinite bool) util.StatusBar
- func ParseDockerStats(dockerStats types.StatsJSON) map[string]interface{}
- func PreFlightChecks(def definition.Definition, baseDir string) error
- func RunMythx(def definition.Definition, baseDir string) error
- func SchemaFromCompose(data []byte) (schema.RootSchema, error)
- func SchemaYAMLFromCompose(data []byte) ([]byte, error)
- type Spinner
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingMythAuthEnvVars = fmt.Errorf(`Mythx requires its own credentials to be run inside of Genesis. Please either provide MYTHX_API_KEY or both MYTHX_USERNAME and MYTHX_PASSWORD. For more details, please see https://mythx-cli.readthedocs.io/en/latest/usage.html#authentication`)
View Source
var ErrMissingMythxCLI = fmt.Errorf(`Could not find the mythx cli in your path. Ensure that the folder in which the CLI resides is inside your $PATH and that the mythx cli is installed. For installation instructions, please see https://mythx-cli.readthedocs.io/en/latest/installation.html`)
Functions ¶
func CalculateBlockIO ¶
func CalculateBlockIO(blkio types.BlkioStats) (uint64, uint64)
Function copied from https://github.com/docker/cli
func DuringFlightChecks ¶
func DuringFlightChecks(def definition.Definition, p *mpb.Progress, baseDir string) map[string]<-chan error
func GetStatusBars ¶
func GetStatusBars(follow bool, testIDs []string, tests []command.Test, def definition.Definition) map[string]<-chan error
func NewLocalFileSource ¶
func NewLocalFileSource(log logrus.Ext1FieldLogger) *localFileSource
func NewTTYStatusBar ¶
func ParseDockerStats ¶
func PreFlightChecks ¶
func PreFlightChecks(def definition.Definition, baseDir string) error
func RunMythx ¶
func RunMythx(def definition.Definition, baseDir string) error
func SchemaFromCompose ¶
func SchemaFromCompose(data []byte) (schema.RootSchema, error)
func SchemaYAMLFromCompose ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.