cluster

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2019 License: BSD-3-Clause Imports: 16 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