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:
parent
0a6e03f389
commit
f79f5e64ad
@ -17,6 +17,13 @@ type DocuHelperData struct {
|
|||||||
DocFileWriter func(f string, d []byte, p os.FileMode) error
|
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
|
// ContextDefaultData holds the meta data and the default data for the context default parameter descriptions
|
||||||
type ContextDefaultData struct {
|
type ContextDefaultData struct {
|
||||||
Metadata ContextDefaultMetadata `json:"metadata"`
|
Metadata ContextDefaultMetadata `json:"metadata"`
|
||||||
|
Loading…
Reference in New Issue
Block a user