core

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Revert

func Revert(viperRevert, viperConfig *viper.Viper)

func Run

func Run(viperRun, viperConfig *viper.Viper)

Run method is the run operation for any type of connector that implements TFACon interface.

func Validate

func Validate(con TFACon, viper *viper.Viper) (bool, error)

Validate method is the validate operation for any type of connector that implements TFACon interface.

Types

type TFACon

type TFACon interface {
	GetAllTestIds() []string
	BuildUpdatedList(ids []string, concurrent bool, add_attributes bool, re bool, auto_finalize_defect_type bool, auto_finalization_thredshold float32) common.GeneralUpdatedList
	UpdateAll(common.GeneralUpdatedList, bool)
	String() string
	InitConnector()
	Validate(verbose bool) (bool, error)
	RevertUpdatedList(verbose bool) common.GeneralUpdatedList
}

TFACon is the general interface for all TFA Classifer connectors, any connector to any test management platform should inpement this interface.

func GetCon

func GetCon(viper *viper.Viper) TFACon

GetCon method is the get con operation for any type of connector that implements TFACon interface, it returns the actual tfa connector instance.

func GetInfo

func GetInfo(viper *viper.Viper) TFACon

GetInfo method is the get info operation for any type of connector that implements TFACon interface.

Jump to

Keyboard shortcuts

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