Documentation ¶
Index ¶
- Constants
- Variables
- func Exec(name string, args ...string) (string, error)
- type E2ESuite
- type Given
- type Then
- func (t *Then) EventSourcePodPortForward(localPort, remotePort int) *Then
- func (t *Then) ExpectEventBusDeleted() *Then
- func (t *Then) ExpectEventSourcePodLogContains(regex string) *Then
- func (t *Then) ExpectSensorPodLogContains(regex string) *Then
- func (t *Then) SensorPodPortForward(localPort, remotePort int) *Then
- func (t *Then) TerminateAllPodPortForwards() *Then
- func (t *Then) When() *When
- type When
- func (w *When) And(block func()) *When
- func (w *When) CreateEventBus() *When
- func (w *When) CreateEventSource() *When
- func (w *When) CreateSensor() *When
- func (w *When) DeleteEventBus() *When
- func (w *When) Exec(name string, args []string, block func(t *testing.T, output string, err error)) *When
- func (w *When) Given() *Given
- func (w *When) Then() *Then
- func (w *When) Wait(timeout time.Duration) *When
- func (w *When) WaitForEventBusReady() *When
- func (w *When) WaitForEventSourceReady() *When
- func (w *When) WaitForSensorReady() *When
Constants ¶
View Source
const ( Namespace = "argo-events" Label = "argo-events-e2e" LabelValue = "true" EventBusName = "argo-events-e2e" )
Variables ¶
Functions ¶
Types ¶
type E2ESuite ¶
func (*E2ESuite) BeforeTest ¶
func (*E2ESuite) CheckError ¶
func (*E2ESuite) DeleteResources ¶
func (s *E2ESuite) DeleteResources()
func (*E2ESuite) SetupSuite ¶
func (s *E2ESuite) SetupSuite()
func (*E2ESuite) TearDownSuite ¶
func (s *E2ESuite) TearDownSuite()
type Given ¶
type Given struct {
// contains filtered or unexported fields
}
func (*Given) EventBus ¶
creates an EventBus based on the parameter, this may be:
1. A file name if it starts with "@" 2. Raw YAML.
func (*Given) EventSource ¶
creates an EventSource based on the parameter, this may be:
1. A file name if it starts with "@" 2. Raw YAML.
type Then ¶
type Then struct {
// contains filtered or unexported fields
}
func (*Then) EventSourcePodPortForward ¶
func (*Then) ExpectEventBusDeleted ¶
func (*Then) ExpectEventSourcePodLogContains ¶
func (*Then) ExpectSensorPodLogContains ¶
func (*Then) SensorPodPortForward ¶
func (*Then) TerminateAllPodPortForwards ¶
type When ¶
type When struct {
// contains filtered or unexported fields
}
func (*When) CreateEventBus ¶
func (*When) CreateEventSource ¶
func (*When) CreateSensor ¶
func (*When) DeleteEventBus ¶
func (*When) WaitForEventBusReady ¶
func (*When) WaitForEventSourceReady ¶
func (*When) WaitForSensorReady ¶
Click to show internal directories.
Click to hide internal directories.