Documentation ¶
Index ¶
- Constants
- Variables
- func CheckGroupCoreBinaries(timeout int) (map[string]bool, error)
- func CheckUserCoreBinaries(timeout int) (map[string]bool, error)
- func CopyDirectory(srcDir, dest string, perm string, owner string, group string, srcType string) error
- func CopyFile(src, dest, perm, srcType string) error
- func CopySymLink(source, dest string) error
- func CreateIfNotExists(dir string, perm string) error
- func Exists(filePath string) bool
- func GetHashOfFile(filePath string) string
- func NewFileVar(data map[string]interface{}) (*fileVar, error)
- func NewSystemDVar(data map[string]interface{}) (*systemDVar, error)
- func NewWhen(expression string, rvar string, expected int, timeout int) *whenConditional
- func Restore(src, dest, perm, srcType string) error
- type Action
- func NewCmdAction(timeout int, localRegister string) Action
- func NewCopyAction(agentName string, timeout int, localRegister string) Action
- func NewFileAction(agentName string, timeout int, register string) Action
- func NewSystemDAction(timeout int, register string) Action
- func NewTemplateAction(agentName string, config interface{}, wizardFacts map[string]interface{}, ...) Action
- func NewUserAction(timeout int, localRegister string) Action
- type Hash
Constants ¶
View Source
const BackupDir = "/tmp/backup"
Variables ¶
View Source
var PackageFiles embed.FS
Functions ¶
func CopyDirectory ¶
func CopySymLink ¶
func CreateIfNotExists ¶
func GetHashOfFile ¶
func NewFileVar ¶
func NewSystemDVar ¶
Types ¶
type Action ¶
func NewCmdAction ¶
func NewSystemDAction ¶
func NewTemplateAction ¶
func NewUserAction ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.