endpoints

package
v0.0.0-...-fd58ac6 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2018 License: MIT Imports: 4 Imported by: 0

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