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.
Click to show internal directories.
Click to hide internal directories.