scenario

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompassE2E

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

CompassE2E executes complete external solution integration test scenario using Compass for Application registration and connectivity

func (*CompassE2E) AddFlags

func (s *CompassE2E) AddFlags(set *pflag.FlagSet)

AddFlags adds CLI flags to given FlagSet

func (*CompassE2E) NewState

func (s *CompassE2E) NewState() (*compassE2EState, error)

func (*CompassE2E) Steps

func (s *CompassE2E) Steps(config *rest.Config) ([]step.Step, error)

Steps return scenario steps

type E2E

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

E2E executes complete external solution integration test scenario

func (*E2E) AddFlags

func (s *E2E) AddFlags(set *pflag.FlagSet)

AddFlags adds CLI flags to given FlagSet

func (*E2E) NewState

func (s *E2E) NewState() *appConnectorE2EState

func (*E2E) Steps

func (s *E2E) Steps(config *rest.Config) ([]step.Step, error)

Steps return scenario steps

type E2EEventMesh

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

E2E executes complete external solution integration test scenario

func (*E2EEventMesh) AddFlags

func (s *E2EEventMesh) AddFlags(set *pflag.FlagSet)

AddFlags adds CLI flags to given FlagSet

func (*E2EEventMesh) NewState

func (s *E2EEventMesh) NewState() *e2EEventMeshState

func (*E2EEventMesh) Steps

func (s *E2EEventMesh) Steps(config *rest.Config) ([]step.Step, error)

Steps return scenario steps

type Scenario

type Scenario interface {
	AddFlags(set *pflag.FlagSet)
	Steps(config *rest.Config) ([]step.Step, error)
}

Scenario represents a test scenario to be run

type SendEventAndCheckCounter

type SendEventAndCheckCounter struct {
	E2E
}

SendEventAndCheckCounter is a shorter version of E2E. It only sends event and checks if counter pod is updated.

func (*SendEventAndCheckCounter) Steps

func (s *SendEventAndCheckCounter) Steps(config *rest.Config) ([]step.Step, error)

Steps return scenario steps

Jump to

Keyboard shortcuts

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