probes

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: Apache-2.0 Imports: 8 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context added in v0.25.0

type Context struct {
	Logger   logging.Logger
	Config   config.Config
	Graph    *graph.Graph
	RootNode *graph.Node
}

Context defines a context to be used by constructor of probes

type Handler added in v0.25.0

type Handler interface {
	probe.Handler
}

Handler defines a topology probe handler

type ProbeWrapper added in v0.25.0

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

ProbeWrapper wraps a probe so that it tries to reconnect if the connection to the daemon is lost

func NewProbeWrapper added in v0.25.0

func NewProbeWrapper(handler handler) *ProbeWrapper

NewProbeWrapper returns a new probe wrapper

func (*ProbeWrapper) GetStatus added in v0.25.0

func (p *ProbeWrapper) GetStatus() interface{}

GetStatus returns the status of the probe

func (*ProbeWrapper) Start added in v0.25.0

func (p *ProbeWrapper) Start() error

Start the probe

func (*ProbeWrapper) Stop added in v0.25.0

func (p *ProbeWrapper) Stop()

Stop the probe

Directories

Path Synopsis
ovn
* Copyright (C) 2019 Red Hat, Inc.
* Copyright (C) 2019 Red Hat, Inc.
vpp
bin_api/interfaces
Package interfaces is a generated from VPP binary API module 'interface'.
Package interfaces is a generated from VPP binary API module 'interface'.
bin_api/vpe
Package vpe is a generated from VPP binary API module 'vpe'.
Package vpe is a generated from VPP binary API module 'vpe'.

Jump to

Keyboard shortcuts

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