steps

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Namespace              string
	StartTime              time.Time
	KogitoExamplesLocation string
	ScenarioName           string
	ScenarioContext        map[string]string
}

Data contains all data needed by Gherkin steps to run

func (*Data) AfterScenario

func (data *Data) AfterScenario(scenario *godog.Scenario, err error) error

AfterScenario executes some actions on data after a scenario is finished

func (*Data) BeforeScenario

func (data *Data) BeforeScenario(scenario *godog.Scenario) error

BeforeScenario configure the data before a scenario is launched

func (*Data) GetCreatedOperatorObjects

func (data *Data) GetCreatedOperatorObjects() []kubernetes.ResourceObject

GetCreatedOperatorObjects returns all operator objects created for this namespace

func (*Data) RegisterAllSteps

func (data *Data) RegisterAllSteps(ctx *godog.ScenarioContext)

RegisterAllSteps register all steps available to the test suite

func (*Data) ResolveWithScenarioContext

func (data *Data) ResolveWithScenarioContext(str string) string

ResolveWithScenarioContext replaces all the variables in the string with their values.

type GraphqlDataIndexJobsQueryResponse

type GraphqlDataIndexJobsQueryResponse struct {
	Jobs []struct {
		ID string `json:"id,omitempty"`
	}
}

GraphqlDataIndexJobsQueryResponse Query response type of Data Index GraphQL endpoint containing jobs

type GraphqlDataIndexProcessInstancesIDQueryResponse

type GraphqlDataIndexProcessInstancesIDQueryResponse struct {
	ProcessInstances []struct {
		ID string `json:"id,omitempty"`
	}
}

GraphqlDataIndexProcessInstancesIDQueryResponse Query response type of Data Index GraphQL endpoint containing process instance IDs

type GraphqlDataIndexProcessInstancesQueryResponse

type GraphqlDataIndexProcessInstancesQueryResponse struct {
	ProcessInstances []struct {
		ProcessName string `json:"processName,omitempty"`
	}
}

GraphqlDataIndexProcessInstancesQueryResponse Query response type of Data Index GraphQL endpoint containing process instances

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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