commands

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func SetVersion

func SetVersion(v string)

Types

type CheckResultFull

type CheckResultFull struct {
	Input   string   `json:"input"`
	Valid   bool     `json:"valid"`
	Checks  []string `json:"checks_run"`
	Passed  []string `json:"checks_passed"`
	Version uint     `json:"version"`
}

func (CheckResultFull) String added in v0.0.10

func (c CheckResultFull) String() string

type CheckSettings

type CheckSettings struct {
	Format  string
	CSV     csvOptions
	Check   checkOptions
	Workers uint64
}

type Encoder added in v0.0.10

type Encoder interface {
	Encode(v interface{}) error
}

type ReportFormat

type ReportFormat string
const (
	RFFull  ReportFormat = "full"
	RFStats ReportFormat = "stats"
)

type ReportSettings

type ReportSettings struct {
	OnlyInvalid bool
	Details     string
	Format      string
}

type ReportStats

type ReportStats struct {
	Passed   uint64 `json:"passed"`
	Rejected uint64 `json:"rejected"`
	Duration int64  `json:"run_duration_ms"`
}

Jump to

Keyboard shortcuts

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