Documentation ¶
Index ¶
- Variables
- func DataDir() string
- func FileExists(path string) bool
- func GroupConfigs() string
- func Locks() string
- func ReadFile(path string) ([]byte, error)
- func ServerReq(api core.Client, path string) (*requests.Model, error)
- func WaitFor(api core.Client, req *requests.Model) (*requests.Model, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateDir = func(path string) { if !FileExists(path) { err := Root.MkdirAll(path, 0644) if err != nil { fmt.Println("Could not create", path) os.Exit(255) } } }
View Source
var Root = afero.NewOsFs()
Functions ¶
func FileExists ¶
func GroupConfigs ¶
func GroupConfigs() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.