Documentation
¶
Index ¶
- Constants
- func AppendColumn(col frames.Column, value interface{}) error
- func AppendNil(col frames.Column) error
- func AppendValue(data interface{}, value interface{}) (interface{}, error)
- func ColAt(col frames.Column, i int) (interface{}, error)
- func NewColumn(value interface{}, size int) (interface{}, error)
- func NewColumnFromType(t string, size int) (interface{}, error)
- func RemoveColumn(name string, columns []frames.Column) []frames.Column
- type HistoryEntry
- type HistoryServer
- func (m *HistoryServer) AddCreateLog(createRequest *frames.CreateRequest, duration time.Duration, ...)
- func (m *HistoryServer) AddDeleteLog(deleteRequest *frames.DeleteRequest, duration time.Duration, ...)
- func (m *HistoryServer) AddExecuteLog(execRequest *frames.ExecRequest, duration time.Duration, startTime time.Time)
- func (m *HistoryServer) AddReadLog(readRequest *frames.ReadRequest, duration time.Duration, startTime time.Time)
- func (m *HistoryServer) AddWriteLog(writeRequest *frames.WriteRequest, duration time.Duration, startTime time.Time)
- func (m *HistoryServer) GetLogs(request *frames.HistoryRequest, out chan frames.Frame) error
- func (m *HistoryServer) Start()
- func (m *HistoryServer) StartEvictionTask()
Constants ¶
View Source
const (
WriteType = "write"
)
Variables ¶
This section is empty.
Functions ¶
func AppendColumn ¶
AppendColumn appends a value to a column
func AppendValue ¶
func AppendValue(data interface{}, value interface{}) (interface{}, error)
AppendValue appends a value to data
func ColAt ¶
ColAt return value at index i in column as interface{} This is a slightly different use case than col.ValueAt, also we don't want to use defer/recover due to performance overhead
func NewColumnFromType ¶
NewColumn creates a new column from type of value
Types ¶
type HistoryEntry ¶ added in v0.7.6
type HistoryServer ¶ added in v0.7.6
type HistoryServer struct { WriteMonitoringLogsTimeout time.Duration PendingLogsBatchSize int LogsFolderPath string LogsContainer string MaxBytesInNginxRequest int HistoryFileDurationSecondSpans int64 HistoryFileNum int // contains filtered or unexported fields }
func NewHistoryServer ¶ added in v0.7.6
func (*HistoryServer) AddCreateLog ¶ added in v0.7.6
func (m *HistoryServer) AddCreateLog(createRequest *frames.CreateRequest, duration time.Duration, startTime time.Time)
func (*HistoryServer) AddDeleteLog ¶ added in v0.7.6
func (m *HistoryServer) AddDeleteLog(deleteRequest *frames.DeleteRequest, duration time.Duration, startTime time.Time)
func (*HistoryServer) AddExecuteLog ¶ added in v0.7.6
func (m *HistoryServer) AddExecuteLog(execRequest *frames.ExecRequest, duration time.Duration, startTime time.Time)
func (*HistoryServer) AddReadLog ¶ added in v0.7.8
func (m *HistoryServer) AddReadLog(readRequest *frames.ReadRequest, duration time.Duration, startTime time.Time)
func (*HistoryServer) AddWriteLog ¶ added in v0.7.8
func (m *HistoryServer) AddWriteLog(writeRequest *frames.WriteRequest, duration time.Duration, startTime time.Time)
func (*HistoryServer) GetLogs ¶ added in v0.7.6
func (m *HistoryServer) GetLogs(request *frames.HistoryRequest, out chan frames.Frame) error
func (*HistoryServer) Start ¶ added in v0.7.6
func (m *HistoryServer) Start()
func (*HistoryServer) StartEvictionTask ¶ added in v0.7.6
func (m *HistoryServer) StartEvictionTask()
Click to show internal directories.
Click to hide internal directories.