Documentation ¶
Index ¶
- type BaseFrame
- type ConfigFile
- type ConfigFileFrame
- type DatabaseFrame
- type DiagnosticBundle
- type DirectoryFileFrame
- type Field
- type File
- type FileFrame
- type Frame
- type FrameErrors
- type HierarchicalFrame
- type MemoryFrame
- type Order
- type OrderBy
- type SimpleFile
- type XmlConfig
- type XmlConfigFile
- func (x XmlConfigFile) Copy(destPath string, removeSensitive bool) error
- func (x XmlConfigFile) FilePath() string
- func (x XmlConfigFile) FindIncludedConfig() (ConfigFile, error)
- func (x XmlConfigFile) FindLogPaths() ([]string, error)
- func (x XmlConfigFile) IsIncluded() bool
- func (x XmlConfigFile) UnmarshallConfig() (XmlConfig, error)
- type XmlLoggerConfig
- type YamlConfig
- type YamlConfigFile
- type YamlLoggerConfig
- type YandexXMLConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigFile ¶
type ConfigFileFrame ¶
type ConfigFileFrame struct { Directory string // contains filtered or unexported fields }
func NewConfigFileFrame ¶
func NewConfigFileFrame(directory string) (ConfigFileFrame, []error)
func (ConfigFileFrame) Columns ¶
func (f ConfigFileFrame) Columns() []string
func (ConfigFileFrame) FindLogPaths ¶
func (f ConfigFileFrame) FindLogPaths() (logPaths []string, errors []error)
func (ConfigFileFrame) Name ¶
func (f ConfigFileFrame) Name() string
func (ConfigFileFrame) Next ¶
func (f ConfigFileFrame) Next() ([]interface{}, bool, error)
type DatabaseFrame ¶
type DatabaseFrame struct { ColumnNames []string // contains filtered or unexported fields }
func NewDatabaseFrame ¶
func NewDatabaseFrame(name string, rows *sql.Rows) (DatabaseFrame, error)
func (DatabaseFrame) Columns ¶
func (f DatabaseFrame) Columns() []string
func (DatabaseFrame) Name ¶
func (f DatabaseFrame) Name() string
func (DatabaseFrame) Next ¶
func (f DatabaseFrame) Next() ([]interface{}, bool, error)
type DiagnosticBundle ¶
type DiagnosticBundle struct { Frames map[string]Frame // Errors is a property to be set if the Collector has an error. This can be used to indicate a partial collection // and failed frames Errors FrameErrors }
DiagnosticBundle contains the results from a Collector each frame can represent a table or collection of data files. By allowing multiple frames a single DiagnosticBundle can potentially contain many related tables
type DirectoryFileFrame ¶
DirectoryFileFrame represents a set of files under a directory
func NewFileDirectoryFrame ¶
func NewFileDirectoryFrame(directory string, exts []string) (DirectoryFileFrame, []error)
func (DirectoryFileFrame) Columns ¶
func (f DirectoryFileFrame) Columns() []string
func (DirectoryFileFrame) Name ¶
func (f DirectoryFileFrame) Name() string
func (DirectoryFileFrame) Next ¶
func (f DirectoryFileFrame) Next() ([]interface{}, bool, error)
type Field ¶
type Field struct { // Name of the field Name string // A list of fields that must implement FieldType interface Values []interface{} }
type FileFrame ¶
type FileFrame struct {
// contains filtered or unexported fields
}
func NewFileFrame ¶
type FrameErrors ¶
type FrameErrors struct {
Errors []error
}
func (*FrameErrors) Error ¶
func (fe *FrameErrors) Error() string
type HierarchicalFrame ¶
type HierarchicalFrame struct { DataFrame Frame SubFrames []HierarchicalFrame // contains filtered or unexported fields }
func NewHierarchicalFrame ¶
func NewHierarchicalFrame(name string, frame Frame, subFrames []HierarchicalFrame) HierarchicalFrame
func (HierarchicalFrame) Columns ¶
func (hf HierarchicalFrame) Columns() []string
func (HierarchicalFrame) Name ¶
func (hf HierarchicalFrame) Name() string
func (HierarchicalFrame) Next ¶
func (hf HierarchicalFrame) Next() ([]interface{}, bool, error)
type MemoryFrame ¶
type MemoryFrame struct { ColumnNames []string Rows [][]interface{} // contains filtered or unexported fields }
func NewMemoryFrame ¶
func NewMemoryFrame(name string, columns []string, rows [][]interface{}) MemoryFrame
func (MemoryFrame) Columns ¶
func (f MemoryFrame) Columns() []string
func (MemoryFrame) Name ¶
func (f MemoryFrame) Name() string
func (MemoryFrame) Next ¶
func (f MemoryFrame) Next() ([]interface{}, bool, error)
type SimpleFile ¶
type SimpleFile struct {
Path string
}
func (SimpleFile) Copy ¶
func (s SimpleFile) Copy(destPath string, removeSensitive bool) error
Copy supports removeSensitive for other file types but for a simple file this doesn't do anything
func (SimpleFile) FilePath ¶
func (s SimpleFile) FilePath() string
type XmlConfig ¶
type XmlConfig struct { XMLName xml.Name `xml:"clickhouse"` Clickhouse XmlLoggerConfig `xml:"logger"` IncludeFrom string `xml:"include_from"` }
type XmlConfigFile ¶
func (XmlConfigFile) Copy ¶
func (x XmlConfigFile) Copy(destPath string, removeSensitive bool) error
func (XmlConfigFile) FilePath ¶
func (x XmlConfigFile) FilePath() string
func (XmlConfigFile) FindIncludedConfig ¶
func (x XmlConfigFile) FindIncludedConfig() (ConfigFile, error)
func (XmlConfigFile) FindLogPaths ¶
func (x XmlConfigFile) FindLogPaths() ([]string, error)
func (XmlConfigFile) IsIncluded ¶
func (x XmlConfigFile) IsIncluded() bool
func (XmlConfigFile) UnmarshallConfig ¶
func (x XmlConfigFile) UnmarshallConfig() (XmlConfig, error)
type XmlLoggerConfig ¶
type YamlConfig ¶
type YamlConfig struct { Logger YamlLoggerConfig Include_From string }
type YamlConfigFile ¶
func (YamlConfigFile) Copy ¶
func (y YamlConfigFile) Copy(destPath string, removeSensitive bool) error
func (YamlConfigFile) FilePath ¶
func (y YamlConfigFile) FilePath() string
func (YamlConfigFile) FindIncludedConfig ¶
func (y YamlConfigFile) FindIncludedConfig() (ConfigFile, error)
func (YamlConfigFile) FindLogPaths ¶
func (y YamlConfigFile) FindLogPaths() ([]string, error)
func (YamlConfigFile) IsIncluded ¶
func (y YamlConfigFile) IsIncluded() bool
type YamlLoggerConfig ¶
type YandexXMLConfig ¶
type YandexXMLConfig struct { XMLName xml.Name `xml:"yandex"` Clickhouse XmlLoggerConfig `xml:"logger"` IncludeFrom string `xml:"include_from"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.