endpoints

package
v0.0.0-...-df1bddf Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckAllOptions

type CheckAllOptions struct {
	Client                         kubernetes.Interface
	CheckAvailableAddressesOptions CheckAvailableAddressesOptions
}

CheckAllOptions contains options needed to run all deployment checks

type CheckAvailableAddressesOptions

type CheckAvailableAddressesOptions struct {
	ThresholdWarning  string
	ThresholdCritical string
}

CheckAvailableAddressesOptions contains options needed to run CheckAvailableAddresses check

type CheckEndpoints

type CheckEndpoints interface {
	CheckAvailableAddresses(CheckAvailableAddressesOptions) icinga.Result
	CheckAll(CheckAllOptions) icinga.Results
}

CheckEndpoints interface to check a deployment

func NewCheckEndpoints

func NewCheckEndpoints(client kubernetes.Interface, name string, namespace string) CheckEndpoints

NewCheckEndpoints creates a new instance of CheckEndpoints

Jump to

Keyboard shortcuts

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