Documentation ¶
Index ¶
- type AuditEvent
- type OrcaDb
- type StateStore
- func (store *StateStore) GetAllHosts() map[string]*model.Host
- func (store *StateStore) GetApplication(hostId string, applicationName string) (model.Application, error)
- func (store *StateStore) GetConfiguration(hostId string) (*model.Host, error)
- func (store *StateStore) HasChanges() bool
- func (store *StateStore) HostCheckin(hostId string, checkin model.HostCheckinDataPackage) (*model.Host, error)
- func (store *StateStore) Init()
- func (store *StateStore) RemoveChange(hostId string, changeId string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrcaDb ¶
type OrcaDb struct {
// contains filtered or unexported fields
}
var Audit OrcaDb
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)
Click to show internal directories.
Click to hide internal directories.