1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

fixed codeclimate

This commit is contained in:
Sascha Vornheder 2019-11-21 11:15:08 +01:00
parent 0a6e03f389
commit f79f5e64ad

View File

@ -17,6 +17,13 @@ type DocuHelperData struct {
DocFileWriter func(f string, d []byte, p os.FileMode) error
}
// StepHelperData is used to transport the needed parameters and functions from the step generator to the step generation.
type StepHelperData struct {
OpenFile func(s string) (io.ReadCloser, error)
WriteFile func(filename string, data []byte, perm os.FileMode) error
ExportPrefix string
}
// ContextDefaultData holds the meta data and the default data for the context default parameter descriptions
type ContextDefaultData struct {
Metadata ContextDefaultMetadata `json:"metadata"`