mappers

package
v0.0.0-...-a49e299 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFirstColumn

func GetFirstColumn(row *TableRow) string

GetFirstColumn returns first table row column

func GetSecondColumn

func GetSecondColumn(row *TableRow) string

GetSecondColumn returns second table row column

func GetThirdColumn

func GetThirdColumn(row *TableRow) string

GetThirdColumn returns third table row column

func MapBuildResourceRequirementsTable

func MapBuildResourceRequirementsTable(table *messages.PickleTable, build *v1.ResourceRequirements) error

MapBuildResourceRequirementsTable maps Cucumber table of build resource requirements

func MapInfinispanCredentialsFromTable

func MapInfinispanCredentialsFromTable(table *messages.PickleTable) (username, password string, err error)

MapInfinispanCredentialsFromTable maps Cucumber table to Infinispan credentials

func MapKogitoServiceTable

func MapKogitoServiceTable(table *messages.PickleTable, serviceHolder *types.KogitoServiceHolder) error

MapKogitoServiceTable maps Cucumber table to KogitoServiceHolder

func MapKogitoServiceTableRow

func MapKogitoServiceTableRow(row *TableRow, kogitoService *bddtypes.KogitoServiceHolder) (mappingFound bool, err error)

MapKogitoServiceTableRow maps Cucumber table row to KogitoServiceHolder

func MapMavenCommandConfigTable

func MapMavenCommandConfigTable(table *messages.PickleTable, config *MavenCommandConfig) error

MapMavenCommandConfigTable maps Cucumber table with Maven options to a slice

func MapMongoDBCredentialsFromTable

func MapMongoDBCredentialsFromTable(table *messages.PickleTable, creds *MongoDBCredentialsConfig) error

MapMongoDBCredentialsFromTable maps Cucumber table to MongoDB credentials

func MapPostgresqlCredentialsFromTable

func MapPostgresqlCredentialsFromTable(table *messages.PickleTable, creds *PostgresqlCredentialsConfig) error

MapPostgresqlCredentialsFromTable maps Cucumber table to PostgreSQL credentials

func MapRuntimeResourceRequirementsTable

func MapRuntimeResourceRequirementsTable(table *messages.PickleTable, 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 MavenCommandConfig

type MavenCommandConfig struct {
	Profiles []string
	Options  []string
	Native   bool
}

MavenCommandConfig contains configuration for Maven Command execution

type MongoDBCredentialsConfig

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

MongoDBCredentialsConfig contains credentials information for MongoDB, taken from configuration table

type PostgresqlCredentialsConfig

type PostgresqlCredentialsConfig struct {
	Username string
	Password string
	Database string
}

PostgresqlCredentialsConfig contains credentials information for PostgreSQL, taken from configuration table

type TableRow

type TableRow = messages.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