mappers

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapBuildResourceRequirementsTable

func MapBuildResourceRequirementsTable(table *godog.Table, build *v1.ResourceRequirements) error

MapBuildResourceRequirementsTable maps Cucumber table of build resource requirements

func MapInfinispanCredentialsFromTable

func MapInfinispanCredentialsFromTable(table *godog.Table) (username, password string, err error)

MapInfinispanCredentialsFromTable maps Cucumber table to Infinispan credentials

func MapKogitoBuildTable

func MapKogitoBuildTable(table *godog.Table, buildHolder *types.KogitoBuildHolder) error

MapKogitoBuildTable maps Cucumber table to KogitoBuildHolder

func MapKogitoInfraTable

func MapKogitoInfraTable(table *godog.Table, kogitoInfra *v1beta1.KogitoInfra) error

MapKogitoInfraTable maps Cucumber table to KogitoInfra information

func MapKogitoServiceTable

func MapKogitoServiceTable(table *godog.Table, serviceHolder *types.KogitoServiceHolder) error

MapKogitoServiceTable maps Cucumber table to KogitoServiceHolder

func MapMavenOptionsTable

func MapMavenOptionsTable(table *godog.Table, options *[]string) error

MapMavenOptionsTable maps Cucumber table with Maven options to a slice

func MapRuntimeResourceRequirementsTable

func MapRuntimeResourceRequirementsTable(table *godog.Table, runtime *v1.ResourceRequirements) error

MapRuntimeResourceRequirementsTable maps Cucumber table of runtime resource requirements

func MustParseEnabledDisabled

func MustParseEnabledDisabled(value string) bool

MustParseEnabledDisabled parse a boolean string value

Types

type MongoDBCredentialsConfig

type MongoDBCredentialsConfig struct {
	Username     string
	Password     string
	Database     string
	AuthDatabase string
}

MongoDBCredentialsConfig contains credentials information for MongoDB, taken from configuration table

func MapMongoDBCredentialsFromTable

func MapMongoDBCredentialsFromTable(table *godog.Table) (*MongoDBCredentialsConfig, error)

MapMongoDBCredentialsFromTable maps Cucumber table to MongoDB credentials

type TableRow

type TableRow = messages.PickleStepArgument_PickleTable_PickleTableRow

TableRow represents a row of godog.Table made to a step definition

Jump to

Keyboard shortcuts

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