e2e

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FashionBestseller

type FashionBestseller struct {
	Minikube *e2e.Minikube
	Pod      metav1.Object
	Service  metav1.Object
	// contains filtered or unexported fields
}

func (*FashionBestseller) ContainerStatus

func (n *FashionBestseller) ContainerStatus() (*corev1.ContainerStatus, error)

func (*FashionBestseller) Delete

func (n *FashionBestseller) Delete() error

func (*FashionBestseller) Deploy

func (n *FashionBestseller) Deploy(podName string, opts ...func(c *acorev1.PodApplyConfiguration)) error

func (*FashionBestseller) IsReachable

func (n *FashionBestseller) IsReachable() error

func (*FashionBestseller) Target

func (n *FashionBestseller) Target() (*action_kit_api.Target, error)

type SpringBootSample

type SpringBootSample struct {
	Minikube *e2e.Minikube
	Pod      metav1.Object
	Service  metav1.Object
	// contains filtered or unexported fields
}

func (*SpringBootSample) AssertIsReachable

func (n *SpringBootSample) AssertIsReachable(t *testing.T, expected bool)

func (*SpringBootSample) AssertLatency

func (n *SpringBootSample) AssertLatency(t *testing.T, min time.Duration, max time.Duration, unaffectedLatency time.Duration)

func (*SpringBootSample) AssertLatencyOnPath

func (n *SpringBootSample) AssertLatencyOnPath(t *testing.T, min time.Duration, max time.Duration, path string, unaffectedLatency time.Duration)

func (*SpringBootSample) AssertStatus

func (n *SpringBootSample) AssertStatus(t *testing.T, expectedHttpStatus int)

func (*SpringBootSample) AssertStatusOnPath

func (n *SpringBootSample) AssertStatusOnPath(t *testing.T, expectedHttpStatus int, path string)

func (*SpringBootSample) ContainerStatus

func (n *SpringBootSample) ContainerStatus() (*corev1.ContainerStatus, error)

func (*SpringBootSample) Delete

func (n *SpringBootSample) Delete() error

func (*SpringBootSample) Deploy

func (n *SpringBootSample) Deploy(podName string, opts ...func(c *acorev1.PodApplyConfiguration)) error

func (*SpringBootSample) ExpectedStatus

func (n *SpringBootSample) ExpectedStatus(expectedStatus int) (bool, int, error)

func (*SpringBootSample) ExpectedStatusOnPath

func (n *SpringBootSample) ExpectedStatusOnPath(expectedStatus int, path string) (bool, int, error)

func (*SpringBootSample) GetHttpStatusOfCustomersEndpoint

func (n *SpringBootSample) GetHttpStatusOfCustomersEndpoint() (int, error)

func (*SpringBootSample) IsReachable

func (n *SpringBootSample) IsReachable() error

func (*SpringBootSample) MeasureLatency

func (n *SpringBootSample) MeasureLatency(expectedStatus int) (time.Duration, error)

func (*SpringBootSample) MeasureLatencyOnPath

func (n *SpringBootSample) MeasureLatencyOnPath(expectedStatus int, path string) (time.Duration, error)

func (*SpringBootSample) MeasureUnaffectedLatencyOnPath

func (n *SpringBootSample) MeasureUnaffectedLatencyOnPath(expectedStatus int, path string) (time.Duration, error)

func (*SpringBootSample) Target

func (n *SpringBootSample) Target() (*action_kit_api.Target, error)

Jump to

Keyboard shortcuts

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