workflows

package
v2.10.5 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DiscoveredGatewaysCountProviderName = "discovered_gateways_count"
	DiscoveredGatewaysCountProviderKind = provider.Kind(DiscoveredGatewaysCountProviderName)
	DiscoveredGatewaysCountKey          = types.ProviderReportKey(DiscoveredGatewaysCountProviderName)
)
View Source
const GatewayDiscoveryWorkflowName = "gateway_discovery"

Variables

This section is empty.

Functions

func NewGatewayDiscoveryWorkflow

func NewGatewayDiscoveryWorkflow(gatewaysCounter DiscoveredGatewaysCounter) (telemetry.Workflow, error)

Types

type DiscoveredGatewaysCountProvider

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

DiscoveredGatewaysCountProvider is a provider that reports the number of currently discovered Gateways.

func (*DiscoveredGatewaysCountProvider) Kind

func (*DiscoveredGatewaysCountProvider) Name

func (*DiscoveredGatewaysCountProvider) Provide

type DiscoveredGatewaysCounter

type DiscoveredGatewaysCounter interface {
	GatewayClientsCount() int
}

DiscoveredGatewaysCounter is an interface that allows to count currently discovered Gateways.

Jump to

Keyboard shortcuts

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