cluster

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: BSD-3-Clause Imports: 23 Imported by: 0

Documentation

Overview

Package cluster is the collection manager for a cluster

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New(cfg config.Cluster, circCfg config.Circonus, parentLog zerolog.Logger) (*Cluster, error)

func (*Cluster) Start

func (c *Cluster) Start(ctx context.Context) error

type Collector

type Collector interface {
	ID() string
	Collect(context.Context, *tls.Config, *time.Time)
}

Jump to

Keyboard shortcuts

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