service

package
v0.0.0-...-4d0922f Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestReachableHTTPWithMinSuccessCount

func TestReachableHTTPWithMinSuccessCount(host string, port int, successCount int, timeout time.Duration)

TestReachableHTTPWithMinSuccessCount tests that the given host serves HTTP on the given port for a minimum of successCount number of counts at a given interval. If the service reachability fails, the counter gets reset

Types

type UpgradeTest

type UpgradeTest struct {
	// contains filtered or unexported fields
}

UpgradeTest tests that a service is available before, during, and after a cluster upgrade.

func (UpgradeTest) DisplayName

func (UpgradeTest) DisplayName() string

func (UpgradeTest) Name

func (UpgradeTest) Name() string

func (*UpgradeTest) Setup

func (t *UpgradeTest) Setup(f *framework.Framework)

Setup creates a service with a load balancer and makes sure it's reachable.

func (*UpgradeTest) Teardown

func (t *UpgradeTest) Teardown(f *framework.Framework)

Teardown cleans up any remaining resources.

func (*UpgradeTest) Test

func (t *UpgradeTest) Test(f *framework.Framework, done <-chan struct{}, upgrade upgrades.UpgradeType)

Test runs a connectivity check to the service.

Jump to

Keyboard shortcuts

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