Documentation
¶
Index ¶
- type Log
- func (m *Log) Append(event eventlog.Event) (string, error)
- func (m *Log) Clear(id string) error
- func (m *Log) Connect() error
- func (m *Log) Read() ([]eventlog.Event, error)
- func (m *Log) ReadFrom(id string) ([]eventlog.Event, error)
- func (m *Log) ReadSingle(module, version string) (eventlog.Event, error)
- type Registry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
Log is event log fetched from backing mongo database
func NewLogWithCollection ¶
NewLogWithCollection creates event log from backing mongo database
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry is a pointer registry for olypus server event logs
func NewRegistry ¶
NewRegistry creates a pointer registry from backing mongo database
func NewRegistryWithCollection ¶
NewRegistryWithCollection creates a registry using the collection provided
func (*Registry) LookupPointer ¶
LookupPointer returns the pointer to the given deploymentID eventlog
func (*Registry) SetPointer ¶
SetPointer both sets and updates a pointer for a given deploymentID eventlog
Click to show internal directories.
Click to hide internal directories.