Documentation ¶
Index ¶
- func ApplyChmod(isRecursive bool, isSkipOnNonExist bool, changeFileMode os.FileMode, ...) (*chmodhelper.RwxWrapper, *errorwrapper.Wrapper)
- func ApplyChmodOnFiles(isRecursive, isSkipOnNonExist, isContinueOnError bool, ...) (*chmodins.RwxInstruction, *errorwrapper.Wrapper)
- func ApplyChmodOnFilesUsingCondition(condition *chmodins.Condition, changeFileMode os.FileMode, locations ...string) (*chmodins.RwxInstruction, *errorwrapper.Wrapper)
- func ApplyChmodRwxInstructions(instructions *chmodins.BaseRwxInstructions, paths []string) *errorwrapper.Wrapper
- func ChangeOwnership(path, user, group string) *errorwrapper.Wrapper
- func ChmodApply(isRecursive bool, isSkipOnError bool, wrapper *chmodhelper.RwxWrapper, ...) *errorwrapper.Wrapper
- func ChmodChangeExecuteRevert(isRecursive, isSkipOnNonExist bool, changeFileMode os.FileMode, ...) *errorwrapper.Wrapper
- func ChmodChangeExecuteRevertUsingRwxWrapper(isRecursive, isSkipOnNonExist bool, ...) *errorwrapper.Wrapper
- func ExistingChmodRwxWrapper(location string) (*chmodhelper.RwxWrapper, *errorwrapper.Wrapper)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyChmod ¶ added in v0.1.2
func ApplyChmod( isRecursive bool, isSkipOnNonExist bool, changeFileMode os.FileMode, location string, ) (*chmodhelper.RwxWrapper, *errorwrapper.Wrapper)
func ApplyChmodOnFiles ¶ added in v0.1.2
func ApplyChmodOnFiles( isRecursive, isSkipOnNonExist, isContinueOnError bool, changeFileMode os.FileMode, locations ...string, ) (*chmodins.RwxInstruction, *errorwrapper.Wrapper)
func ApplyChmodOnFilesUsingCondition ¶ added in v0.1.2
func ApplyChmodOnFilesUsingCondition( condition *chmodins.Condition, changeFileMode os.FileMode, locations ...string, ) (*chmodins.RwxInstruction, *errorwrapper.Wrapper)
func ApplyChmodRwxInstructions ¶ added in v0.1.2
func ApplyChmodRwxInstructions( instructions *chmodins.BaseRwxInstructions, paths []string, ) *errorwrapper.Wrapper
func ChangeOwnership ¶
func ChangeOwnership(path, user, group string) *errorwrapper.Wrapper
func ChmodApply ¶ added in v0.1.2
func ChmodApply( isRecursive bool, isSkipOnError bool, wrapper *chmodhelper.RwxWrapper, paths ...string, ) *errorwrapper.Wrapper
ChmodApply Format : chmod -R 777 /var/lib/powerdns
func ChmodChangeExecuteRevert ¶ added in v0.1.2
func ChmodChangeExecuteRevert( isRecursive, isSkipOnNonExist bool, changeFileMode os.FileMode, location string, executor func(location string) *errorwrapper.Wrapper, ) *errorwrapper.Wrapper
func ChmodChangeExecuteRevertUsingRwxWrapper ¶ added in v0.1.2
func ChmodChangeExecuteRevertUsingRwxWrapper( isRecursive, isSkipOnNonExist bool, changeFileModeRwxWrapper *chmodhelper.RwxWrapper, location string, executor func(location string) *errorwrapper.Wrapper, ) *errorwrapper.Wrapper
func ExistingChmodRwxWrapper ¶ added in v0.1.2
func ExistingChmodRwxWrapper( location string, ) (*chmodhelper.RwxWrapper, *errorwrapper.Wrapper)
Types ¶
This section is empty.
Source Files ¶
- ApplyChmod.go
- ApplyChmodOnFiles.go
- ApplyChmodOnFilesUsingCondition.go
- ApplyChmodRwxInstructions.go
- ChangeOwnership.go
- ChmodApply.go
- ChmodChangeExecuteRevert.go
- ChmodChangeExecuteRevertUsingRwxWrapper.go
- ExistingChmodRwxWrapper.go
- changeOwnershipAlternativeRecursive.go
- changeOwnershipLinux.go
- changeOwnershipLinuxRecursive.go
Click to show internal directories.
Click to hide internal directories.