machinery

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package machinery holds functionality for creating a new tracing agent.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Astrolavos

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

Astrolavos encapsulates information needed for our application to run.

func NewAstrolavos

func NewAstrolavos(port int, endpoints []*Endpoint, promPushGateway string, isOneOff bool) *Astrolavos

NewAstrolavos creates a new application struct.

func (*Astrolavos) Start

func (a *Astrolavos) Start() error

Start inits

type Endpoint

type Endpoint struct {
	URI                 string
	Interval            time.Duration
	Tag                 string
	Retries             int
	ProberType          string
	ReuseConnection     bool
	SkipTLSVerification bool
}

Endpoint encapsulates information needed to run probes against a destination.

Jump to

Keyboard shortcuts

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