Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameters ¶
Create config type to store action type and data
func NewParameters ¶
func NewParameters(actionType string, actionData string) *Parameters
Instantiate and return a new Config struct
func (*Parameters) CollectFiles ¶
func (parameters *Parameters) CollectFiles(dir string)
Collect all required files into given directory
func (*Parameters) CreateFile ¶
func (parameters *Parameters) CreateFile(dir string)
Create config file
func (*Parameters) ExecuteAction ¶
func (parameters *Parameters) ExecuteAction(srcDir string, destDir string)
Execute action specified in config
func (*Parameters) ReadFile ¶
func (parameters *Parameters) ReadFile(filePath string)
Read config file at given file path
func (*Parameters) Validate ¶
func (parameters *Parameters) Validate()
Click to show internal directories.
Click to hide internal directories.