state

package
v0.0.0-...-d89cd05 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2017 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditEvent

type AuditEvent struct {
	Timestamp time.Time
	Details   map[string]string
}

type OrcaDb

type OrcaDb struct {
	// contains filtered or unexported fields
}
var Audit OrcaDb

func (*OrcaDb) Close

func (a *OrcaDb) Close()

func (*OrcaDb) Init

func (a *OrcaDb) Init(hostname string)

func (*OrcaDb) Insert__AuditEvent

func (db *OrcaDb) Insert__AuditEvent(event AuditEvent)

func (*OrcaDb) Query__AuditEvents

func (db *OrcaDb) Query__AuditEvents(application string) []AuditEvent

type StateStore

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

func (*StateStore) GetAllHosts

func (store *StateStore) GetAllHosts() map[string]*model.Host

func (*StateStore) GetApplication

func (store *StateStore) GetApplication(hostId string, applicationName string) (model.Application, error)

func (*StateStore) GetConfiguration

func (store *StateStore) GetConfiguration(hostId string) (*model.Host, error)

func (*StateStore) HasChanges

func (store *StateStore) HasChanges() bool

func (*StateStore) HostCheckin

func (store *StateStore) HostCheckin(hostId string, checkin model.HostCheckinDataPackage) (*model.Host, error)

func (*StateStore) Init

func (store *StateStore) Init()

func (*StateStore) RemoveChange

func (store *StateStore) RemoveChange(hostId string, changeId string)

Jump to

Keyboard shortcuts

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