app

package
v0.0.0-...-fd6c0cb Latest Latest
Warning

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

Go to latest
Published: May 16, 2018 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppStatus

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

type Application

type Application struct {
	ConfigFile   string
	Debug        bool
	Config       *viper.Viper
	Logger       *logrus.Logger
	DataPath     string
	RunTimeStamp string
	Key          []byte
	Report       ReportInfo
	Status       AppStatus
	UCSPM        UCSPMInfo
	UCS          UCSInfo
	Results      []CombinedResults
	Action       string
	Version      string
	Commands     []CommandInfo
}
var (
	Core Application
)

func (*Application) DecryptPassword

func (a *Application) DecryptPassword(password string) string

func (*Application) EncryptPassword

func (a *Application) EncryptPassword(password string) string

func (*Application) Finish

func (a *Application) Finish()

func (*Application) LoadConfig

func (a *Application) LoadConfig()

func (*Application) Log

func (a *Application) Log(message string, fields map[string]interface{}, debugMessage bool)

func (*Application) LogFatal

func (a *Application) LogFatal(message string, fields map[string]interface{})

func (*Application) LogInfo

func (a *Application) LogInfo(message string, fields map[string]interface{}, infoMessage bool)

func (*Application) LogWarn

func (a *Application) LogWarn(message string, fields map[string]interface{}, warnMessage bool)

func (*Application) Run

func (a *Application) Run()

func (*Application) RunStage1

func (a *Application) RunStage1()

func (*Application) RunStage2

func (a *Application) RunStage2()

func (*Application) RunStage3

func (a *Application) RunStage3()

func (*Application) RunStage4

func (a *Application) RunStage4()

func (*Application) RunStage5

func (a *Application) RunStage5()

func (*Application) RunStage6

func (a *Application) RunStage6()

func (*Application) RunStage7

func (a *Application) RunStage7()

func (*Application) Start

func (a *Application) Start()

type CombinedResults

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

type CommandInfo

type CommandInfo struct {
	RequestURL     string
	RequestHeaders map[string]string
	RequestBody    string
	ResponseBody   string
	ResponseCode   int
	ResponseError  string
}

type ReportData

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

type ReportInfo

type ReportInfo struct {
	Month string
	Year  string
}

type UCSInfo

type UCSInfo struct {
	UUID      []string
	Systems   []UCSSystemInfo
	Matches   []UCSSystemMatchInfo
	Matched   []UCSSystemMatchInfo
	Unmatched []string
	// contains filtered or unexported fields
}

type UCSPMDeviceInfo

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

type UCSPMInfo

type UCSPMInfo struct {
	Routers  map[string]string
	TidCount int
	Devices  []UCSPMDeviceInfo

	ProcessedUUID []string
	// contains filtered or unexported fields
}

type UCSSystemInfo

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

type UCSSystemMatchInfo

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

Jump to

Keyboard shortcuts

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