mirror of
https://github.com/davidallendj/configurator.git
synced 2025-12-20 03:27:02 -07:00
refactor: more code cleanup and reorganization
This commit is contained in:
parent
72dd8416aa
commit
69aac3c929
4 changed files with 138 additions and 140 deletions
|
|
@ -2,6 +2,13 @@ package configurator
|
|||
|
||||
import "encoding/json"
|
||||
|
||||
type Target struct {
|
||||
Plugin string `yaml:"plugin,omitempty"` // Set the plugin or it's path
|
||||
TemplatePaths []string `yaml:"templates,omitempty"` // Set the template paths
|
||||
FilePaths []string `yaml:"files,omitempty"` // Set the file paths
|
||||
RunTargets []string `yaml:"targets,omitempty"` // Set additional targets to run
|
||||
}
|
||||
|
||||
type IPAddr struct {
|
||||
IpAddress string `json:"IPAddress"`
|
||||
Network string `json:"Network"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue