port

package
v0.0.2-0...-4ce78c8 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	core.CheckBase
	// contains filtered or unexported fields
}

Check doesn't need additional fields

func (*Check) Configure

func (c *Check) Configure(rawInstance integration.Data, rawInitConfig integration.Data, source string) error

Configure the Prom check

func (*Check) Run

func (c *Check) Run() error

Run executes the check

type InitConfig

type InitConfig struct {
	Timeout int `json:"timeout"`
}

type InstanceConfig

type InstanceConfig struct {
	Protocol string `json:"protocol" description:"udp or tcp"`
	Port     int    `json:"port"`

	InitConfig `json:"-"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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