utils

package
v0.0.0-...-8bd7a79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2017 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup(fs afero.Fs, source string) error

Cleanup to remove temporary directory for results.

func CloseFile

func CloseFile(file afero.File) error

CloseFile close file when done.

func CreateDir

func CreateDir(fs afero.Fs, name string) error

CreateDir create directory for collected info.

func CreateFile

func CreateFile(fs afero.Fs, dirname string, filename string) (afero.File, error)

CreateFile create file for info dump.

func CreateTemplate

func CreateTemplate(fs afero.Fs, configfile string) (string, error)

CreateTemplate fucntion to create a base remgo.toml file

func Header(msg string)

Header print header for output.

func ReadConfigFile

func ReadConfigFile(configfile string) (string, string, string, string)

ReadConfigFile read yaml config file for zfssa.

func ZipDir

func ZipDir(fs afero.Fs, source string) error

ZipDir to create a zip file of the output directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL