cluster

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: BSD-3-Clause Imports: 25 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(ctx context.Context, 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