diagnostics

package
v0.22.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockCollector added in v0.22.1

type BlockCollector struct {
	// contains filtered or unexported fields
}

BlockCollector collects diagnostics information and write the collected content into a writer in a zip format

func NewBlockCollector added in v0.22.1

func NewBlockCollector(adb db.Database, cataloger catalog.Cataloger, cfg *config.Config, adapter block.Adapter) *BlockCollector

NewDBCollector accepts database to work with during collect

func (*BlockCollector) Collect added in v0.22.1

func (c *BlockCollector) Collect(ctx context.Context, w io.Writer) (err error)

Collect query information from the database into csv files and write everything to io writer

type Collector

type Collector interface {
	Collect(ctx context.Context, w io.Writer) (err error)
}

func CreateCollector added in v0.22.1

func CreateCollector(adb db.Database, cataloger catalog.Cataloger, cfg *config.Config, adapter block.Adapter) Collector

type DBCollector added in v0.22.1

type DBCollector struct {
	// contains filtered or unexported fields
}

DBCollector collects diagnostics information from the database and write the collected content into a writer

func NewDBCollector added in v0.22.1

func NewDBCollector(adb db.Database) *DBCollector

NewDBCollector accepts database to work with during collect

func (*DBCollector) Collect added in v0.22.1

func (c *DBCollector) Collect(ctx context.Context, w io.Writer) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL