Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryLogStore ¶
type InMemoryLogStore struct {
// contains filtered or unexported fields
}
func NewInMemoryLogStore ¶
func NewInMemoryLogStore(maxLength uint) *InMemoryLogStore
func (*InMemoryLogStore) GetLogEntries ¶
func (store *InMemoryLogStore) GetLogEntries() ([]*LogEntry, error)
func (*InMemoryLogStore) GetLogEntry ¶
func (store *InMemoryLogStore) GetLogEntry(id interface{}) (*LogEntry, error)
func (*InMemoryLogStore) InsertLogEntry ¶
func (store *InMemoryLogStore) InsertLogEntry(log *LogEntry) error
type LogEntry ¶
type LogStoreLevel ¶
type LogStoreLevel string
const ( LogStoreLevelDelete LogStoreLevel = "delete" LogStoreLevelCreate LogStoreLevel = "create" LogStoreLevelUpdate LogStoreLevel = "update" LogStoreLevelInstanceView LogStoreLevel = "instance_view" LogStoreLevelListView LogStoreLevel = "list_view" LogStoreLevelPanelView LogStoreLevel = "panel_view" )
func (LogStoreLevel) AssessLevel ¶
func (l LogStoreLevel) AssessLevel(assessmentLevel LogStoreLevel) bool
Click to show internal directories.
Click to hide internal directories.