tester

package
v1.12.5 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2019 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServerPlanName = "Conch v1 Legacy Plan: Server"
	SwitchPlanName = "Conch v1 Legacy Plan: Switch"
)

Variables

View Source
var (
	UserAgent    string
	API          *conch.Conch
	ServerPlanID uuid.UUID
	SwitchPlanID uuid.UUID
	Validations  map[uuid.UUID]conch.Validation
)
View Source
var FailedCount = 0

Functions

func DDP

func DDP(v interface{})

DDP pretty prints a structure to stderr See Data::Printer in perl for the origin of the name.

func Execute

func Execute()

Execute gets this party started

func Root

func Root() *cobra.Command

Root returns the root command

Types

type Report

type Report struct {
	ID                 uuid.UUID
	Completed          time.Time
	FileName           string
	Raw                string
	DeviceSerial       string
	ValidationPlanID   uuid.UUID
	ValidationPlanName string
	Parsed             map[string]interface{}
	Passed             bool
	Reasons            []string
	Exists             bool
}

type Reports

type Reports []Report

Jump to

Keyboard shortcuts

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