models

package
v0.0.0-...-14f0bbf Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadInspections

func LoadInspections() error

LoadInspections load all saved inspections and start the watcher

Types

type Alert

type Alert struct {
	ID         string `storm:"id"`
	Time       string
	Inspection string
	Type       string
	Message    string
	Event      string
}

type Inspection

type Inspection struct {
	Name        string `storm:"id"`
	Description string
	Resource    string
	Script      string
}

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(i *Inspection, obj interface{}) *Runner

func (*Runner) Run

func (r *Runner) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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