deployment_service_checker

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployServiceChecker

type DeployServiceChecker struct {
	Name    string
	Status  kubeproberv1.CheckerStatus
	Timeout time.Duration
	// contains filtered or unexported fields
}

Checker validates that deployment is functioning correctly

func NewChecker

func NewChecker() (*DeployServiceChecker, error)

New returns a new DNS Checker

func (*DeployServiceChecker) DoCheck

func (dc *DeployServiceChecker) DoCheck() (err error)

doChecks does validations on the DNS call to the endpoint

func (*DeployServiceChecker) GetName

func (dc *DeployServiceChecker) GetName() string

func (*DeployServiceChecker) GetStatus

func (*DeployServiceChecker) GetTimeout

func (dc *DeployServiceChecker) GetTimeout() time.Duration

func (*DeployServiceChecker) SetName

func (dc *DeployServiceChecker) SetName(n string)

func (*DeployServiceChecker) SetStatus

func (*DeployServiceChecker) SetTimeout

func (dc *DeployServiceChecker) SetTimeout(t time.Duration)

type RequestResult

type RequestResult struct {
	Response *http.Response
	Err      error
}

RequestResult represents a HTTP request result.

Jump to

Keyboard shortcuts

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