probes

package
v0.0.0-...-04c4af4 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Options)

func WithEnabled

func WithEnabled(enabled bool) Option

func WithEndpoint

func WithEndpoint(endpoint string) Option

func WithPort

func WithPort(port int) Option

type Options

type Options struct {
	Port     int
	Enabled  bool
	Endpoint string
}

func (*Options) MergeIn

func (o *Options) MergeIn(opts ...Option)

type Probes

type Probes struct {
	providers.AbstractRunProvider

	Opts *Options
	// contains filtered or unexported fields
}

func (*Probes) Close

func (p *Probes) Close() error

func (*Probes) Run

func (p *Probes) Run() error

Jump to

Keyboard shortcuts

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