grabber

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Grabber

type Grabber struct {
	Name      string
	Namespace string
	// contains filtered or unexported fields
}

func New

func New(namespace string, interval time.Duration, orgId string, index int) (g *Grabber, err error)

func (*Grabber) Close

func (g *Grabber) Close() error

func (*Grabber) Gather

func (g *Grabber) Gather()

func (*Grabber) String

func (g *Grabber) String() string

func (*Grabber) Subscribe

func (g *Grabber) Subscribe(pipe chan []*api.Metric)

func (*Grabber) Sync

func (g *Grabber) Sync(notify chan int)

1h, 2h, 4h, 8h, 16h

Jump to

Keyboard shortcuts

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