Documentation
¶
Index ¶
- type AllDiffPaths
- type Attributes
- type BaseCopyPath
- type BaseCopyPaths
- type BaseDownload
- type BaseDownloads
- type BaseEnvPaths
- type BaseEnvironmentVariables
- type BaseExecutableProcessors
- func (b *BaseExecutableProcessors) CreateCmdOnceCollection() *errcmd.CmdOnceCollection
- func (b *BaseExecutableProcessors) ExecuteAllOutputs() *ProcessorExecOutputs
- func (b *BaseExecutableProcessors) HasProcessors() bool
- func (b *BaseExecutableProcessors) IsEmptyProcessor() bool
- func (b *BaseExecutableProcessors) LazyCmdOnceCollection() *errcmd.CmdOnceCollection
- func (b *BaseExecutableProcessors) ProcessorsLength() int
- type BaseGenericPathsCollection
- type BaseGroupName
- type BaseIsRecursive
- type BaseIsRename
- type BaseLocationCollection
- type BasePathModifiersApply
- type BasePathPermission
- type BasePathVerifiers
- type BasePathsCreator
- func (it *BasePathsCreator) ApplyLinuxRecursiveFileModeOnRoot(fileMode os.FileMode) *errorwrapper.Wrapper
- func (it *BasePathsCreator) CreateLazyFlatFiles(isLock bool, mode os.FileMode) ([]*os.File, *errorwrapper.Wrapper)
- func (it *BasePathsCreator) CreateLazyPathsWithoutMode(isLock bool) ([]*os.File, *errorwrapper.Wrapper)
- func (it *BasePathsCreator) CreatePaths(isLock bool, mode os.FileMode) ([]*os.File, *errorwrapper.Wrapper)
- func (it *BasePathsCreator) CreatePathsWithoutMode(isLock bool) ([]*os.File, *errorwrapper.Wrapper)
- func (it *BasePathsCreator) DeleteAllPaths() *errorwrapper.Wrapper
- func (it *BasePathsCreator) DeleteAllThenCreateFlatFiles(isLock bool, mode os.FileMode) ([]*os.File, *errorwrapper.Wrapper)
- func (it *BasePathsCreator) DeleteAllThenCreateLazyFlatFiles(isLock bool, mode os.FileMode) ([]*os.File, *errorwrapper.Wrapper)
- func (it *BasePathsCreator) FlatPaths() []string
- func (it *BasePathsCreator) FlatPathsPtr() *[]string
- func (it *BasePathsCreator) GetFilesInfoMap(isSkipOnInvalid bool) *chmodhelper.FilteredPathFileInfoMap
- func (it *BasePathsCreator) HasAnyItem() bool
- func (it *BasePathsCreator) IsEmpty() bool
- func (it *BasePathsCreator) LazyFlatPaths() []string
- func (it *BasePathsCreator) LazyFlatPathsIf(isLazy bool) []string
- func (it *BasePathsCreator) LazyPathsChmod() *errstr.Hashmap
- func (it *BasePathsCreator) Length() int
- func (it *BasePathsCreator) LengthPlusRoot() int
- func (it *BasePathsCreator) PathsChmodMap() *errstr.Hashmap
- func (it *BasePathsCreator) Setup(isLock bool, isRemoveBefore bool, mode os.FileMode) *errorwrapper.Wrapper
- func (it *BasePathsCreator) SetupDefault() *errorwrapper.Wrapper
- func (it *BasePathsCreator) SimilarPaths() *SimilarPaths
- type BasePathsWithModifiers
- type BasePathsWithVerifiers
- type BaseSourceDestination
- type BaseSymbolicLinks
- type BaseUserNameGroupName
- type CachesRefresh
- type ChangeGroup
- type ChmodCommands
- type Chown
- type CliConfig
- type CliRunner
- type CopyPath
- type CopyPathOptions
- type CopyPaths
- type Download
- type Downloads
- type Duration
- type DynamicPaths
- type EnvironmentPaths
- type EnvironmentPathsUsingFilesCollection
- type EnvironmentPathsUsingGenericPaths
- type EnvironmentVariable
- type ExecutableProcessor
- type FilesSelector
- type FromTo
- type GenericPathsCollection
- func (it *GenericPathsCollection) AllDiffPathsFlatPaths() []string
- func (it *GenericPathsCollection) AllDiffPathsIndividualItemsLength() int
- func (it *GenericPathsCollection) DynamicPathsFlatPaths() []string
- func (it *GenericPathsCollection) DynamicPathsIndividualItemsLength() int
- func (it *GenericPathsCollection) FlatPaths() []string
- func (it *GenericPathsCollection) FlatPathsSorted() []string
- func (it *GenericPathsCollection) HasAnyItem() bool
- func (it *GenericPathsCollection) IsEmpty() bool
- func (it *GenericPathsCollection) IsEmptyAllDiffPaths() bool
- func (it *GenericPathsCollection) IsEmptyDynamicPaths() bool
- func (it *GenericPathsCollection) IsEmptySimilarPaths() bool
- func (it *GenericPathsCollection) LazyFlatPaths() []string
- func (it *GenericPathsCollection) LazyFlatPathsSorted() []string
- func (it *GenericPathsCollection) LazyPathsIf(isLazyPaths bool) []string
- func (it *GenericPathsCollection) Length() int
- func (it *GenericPathsCollection) SimilarPathsFlatPaths() []string
- func (it *GenericPathsCollection) SimilarPathsIndividualItemsLength() int
- type LocationCollection
- type PathModifier
- type PathModifiersApply
- type PathVar
- type PathVerifier
- type PathVerifiers
- type PathVerifiersWithGenericPathsCollection
- type PathVerifiersWithLocationCollection
- type PathWithModifier
- type PathWithOptions
- func (it *PathWithOptions) ClonePath() *PathWithOptions
- func (it *PathWithOptions) CompiledPath() string
- func (it *PathWithOptions) CompiledPathAsSlice() []string
- func (it *PathWithOptions) ExistStat() *chmodhelper.PathExistStat
- func (it *PathWithOptions) FileInfo() os.FileInfo
- func (it *PathWithOptions) FileMode() os.FileMode
- func (it *PathWithOptions) HasPath() bool
- func (it *PathWithOptions) IsDir() bool
- func (it *PathWithOptions) IsEqual(another *PathWithOptions) bool
- func (it *PathWithOptions) IsEqualWithoutOptions(another *PathWithOptions) bool
- func (it *PathWithOptions) IsExistButDir() bool
- func (it *PathWithOptions) IsExistButFile() bool
- func (it *PathWithOptions) IsFile() bool
- func (it *PathWithOptions) IsInvalid() bool
- func (it *PathWithOptions) IsInvalidPath() bool
- func (it *PathWithOptions) IsPathExist() bool
- func (it *PathWithOptions) SafeFileMode() os.FileMode
- type PathWithVerifier
- type PathsCreator
- type PathsCreatorCollection
- func (it *PathsCreatorCollection) FlatPaths() []string
- func (it *PathsCreatorCollection) HasAnyItem() bool
- func (it *PathsCreatorCollection) IsEmpty() bool
- func (it *PathsCreatorCollection) LazyFlatPaths() []string
- func (it *PathsCreatorCollection) LazyFlatPathsIf(isLazy bool) []string
- func (it *PathsCreatorCollection) Length() int
- type PathsWithVerifiers
- type ProcessorExecOutput
- type ProcessorExecOutputs
- type RemoveInstruction
- type SimilarPaths
- func (it *SimilarPaths) ApplyLinuxRecursiveFileModeOnRoot(fileMode os.FileMode) *errorwrapper.Wrapper
- func (it *SimilarPaths) BasePathsCreator() *BasePathsCreator
- func (it *SimilarPaths) FlatPaths() []string
- func (it *SimilarPaths) HasAnyItem() bool
- func (it *SimilarPaths) IsEmpty() bool
- func (it *SimilarPaths) Length() int
- type SourceDestinationPlusCompiled
- func (it SourceDestinationPlusCompiled) CompiledSourceDestination() *BaseSourceDestination
- func (it SourceDestinationPlusCompiled) DestinationFixedPath() string
- func (it SourceDestinationPlusCompiled) FixedSrcDest() (src, dest string)
- func (it SourceDestinationPlusCompiled) IsSameSourceDestination() bool
- func (it SourceDestinationPlusCompiled) SourceFixedPath() string
- type StatePrePostPathVerifiers
- type SymbolicLink
- type SymbolicLinks
- type UserGroupName
- func (it *UserGroupName) Clone() *UserGroupName
- func (it *UserGroupName) HasUserName() bool
- func (it *UserGroupName) HasUserNameOrGroup() bool
- func (it *UserGroupName) IsGroupNameUserNameBothEmpty() bool
- func (it *UserGroupName) IsUserNameEmpty() bool
- func (it *UserGroupName) IsUsername(checkingUserName string) bool
- func (it *UserGroupName) UserNameSimple() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllDiffPaths ¶
type AllDiffPaths struct { Paths []string `json:"Locations"` IsNormalizeApply bool `json:"IsNormalizeApply"` // contains filtered or unexported fields }
func (*AllDiffPaths) FlatPaths ¶ added in v0.1.2
func (allDiffPaths *AllDiffPaths) FlatPaths() []string
func (*AllDiffPaths) HasAnyItem ¶ added in v0.1.2
func (allDiffPaths *AllDiffPaths) HasAnyItem() bool
func (*AllDiffPaths) IsEmpty ¶ added in v0.1.2
func (allDiffPaths *AllDiffPaths) IsEmpty() bool
func (*AllDiffPaths) LazyFlatPaths ¶ added in v0.1.2
func (allDiffPaths *AllDiffPaths) LazyFlatPaths() []string
func (*AllDiffPaths) Length ¶ added in v0.1.2
func (allDiffPaths *AllDiffPaths) Length() int
type Attributes ¶
type BaseCopyPath ¶ added in v0.3.1
type BaseCopyPath struct {
CopyPath *CopyPath `json:"CopyPath,omitempty"`
}
type BaseCopyPaths ¶ added in v0.2.7
type BaseCopyPaths struct {
CopyPaths *CopyPaths `json:"CopyPaths,omitempty"`
}
type BaseDownload ¶ added in v0.3.2
type BaseDownload struct {
Download *Download `json:"Download,omitempty"`
}
type BaseDownloads ¶ added in v0.3.2
type BaseDownloads struct {
Downloads *Downloads `json:"Downloads,omitempty"`
}
type BaseEnvPaths ¶
type BaseEnvPaths struct {
EnvPaths []string `json:"EnvPaths,omitempty"`
}
func (*BaseEnvPaths) EnvPathsLength ¶ added in v0.1.3
func (receiver *BaseEnvPaths) EnvPathsLength() int
func (*BaseEnvPaths) HasAnyItemEnvPaths ¶ added in v0.1.3
func (receiver *BaseEnvPaths) HasAnyItemEnvPaths() bool
func (*BaseEnvPaths) IsEmptyEnvPaths ¶ added in v0.1.3
func (receiver *BaseEnvPaths) IsEmptyEnvPaths() bool
type BaseEnvironmentVariables ¶
type BaseEnvironmentVariables struct {
EnvVars []EnvironmentVariable `json:"EnvVars,omitempty"`
}
func (*BaseEnvironmentVariables) EnvVarsLength ¶ added in v0.1.3
func (receiver *BaseEnvironmentVariables) EnvVarsLength() int
func (*BaseEnvironmentVariables) HasAnyItemEnvVars ¶ added in v0.1.3
func (receiver *BaseEnvironmentVariables) HasAnyItemEnvVars() bool
func (*BaseEnvironmentVariables) IsEmptyEnvVars ¶ added in v0.1.3
func (receiver *BaseEnvironmentVariables) IsEmptyEnvVars() bool
type BaseExecutableProcessors ¶ added in v0.1.2
type BaseExecutableProcessors struct { ExecutableProcessors []ExecutableProcessor `json:"ExecutableProcessors,omitempty"` // contains filtered or unexported fields }
func (*BaseExecutableProcessors) CreateCmdOnceCollection ¶ added in v0.1.2
func (b *BaseExecutableProcessors) CreateCmdOnceCollection() *errcmd.CmdOnceCollection
func (*BaseExecutableProcessors) ExecuteAllOutputs ¶ added in v0.1.2
func (b *BaseExecutableProcessors) ExecuteAllOutputs() *ProcessorExecOutputs
func (*BaseExecutableProcessors) HasProcessors ¶ added in v0.1.2
func (b *BaseExecutableProcessors) HasProcessors() bool
func (*BaseExecutableProcessors) IsEmptyProcessor ¶ added in v0.1.2
func (b *BaseExecutableProcessors) IsEmptyProcessor() bool
func (*BaseExecutableProcessors) LazyCmdOnceCollection ¶ added in v0.1.2
func (b *BaseExecutableProcessors) LazyCmdOnceCollection() *errcmd.CmdOnceCollection
func (*BaseExecutableProcessors) ProcessorsLength ¶ added in v0.1.2
func (b *BaseExecutableProcessors) ProcessorsLength() int
type BaseGenericPathsCollection ¶
type BaseGenericPathsCollection struct {
GenericPathsCollection *GenericPathsCollection `json:"GenericPathsCollection,omitempty"`
}
func (*BaseGenericPathsCollection) GenericPathsCollectionLength ¶ added in v0.1.2
func (b *BaseGenericPathsCollection) GenericPathsCollectionLength() int
func (*BaseGenericPathsCollection) HasAnyGenericPathsCollection ¶ added in v0.1.2
func (b *BaseGenericPathsCollection) HasAnyGenericPathsCollection() bool
func (*BaseGenericPathsCollection) IsEmptyGenericPathsCollection ¶ added in v0.1.2
func (b *BaseGenericPathsCollection) IsEmptyGenericPathsCollection() bool
type BaseGroupName ¶
type BaseGroupName struct {
GroupName string `json:"GroupName,omitempty"` // Not define or empty string or * means keeping the existing one
}
func (*BaseGroupName) Clone ¶ added in v0.1.4
func (it *BaseGroupName) Clone() *BaseGroupName
func (*BaseGroupName) HasGroupName ¶ added in v0.1.4
func (it *BaseGroupName) HasGroupName() bool
func (*BaseGroupName) IsGroupName ¶ added in v0.1.4
func (it *BaseGroupName) IsGroupName(checkingGroupName string) bool
func (*BaseGroupName) IsGroupNameEmpty ¶ added in v0.1.4
func (it *BaseGroupName) IsGroupNameEmpty() bool
type BaseIsRecursive ¶
type BaseIsRecursive struct {
IsRecursive bool `json:"IsRecursive"`
}
type BaseIsRename ¶
type BaseIsRename struct {
IsRename bool `json:"IsRename"`
}
type BaseLocationCollection ¶ added in v0.1.2
type BaseLocationCollection struct {
LocationCollection *LocationCollection `json:"LocationCollection,omitempty"`
}
func (BaseLocationCollection) HasLocations ¶ added in v0.1.2
func (b BaseLocationCollection) HasLocations() bool
func (BaseLocationCollection) IsEmptyLocations ¶ added in v0.1.2
func (b BaseLocationCollection) IsEmptyLocations() bool
func (BaseLocationCollection) LocationsLength ¶ added in v0.1.2
func (b BaseLocationCollection) LocationsLength() int
type BasePathModifiersApply ¶ added in v0.1.2
type BasePathModifiersApply struct {
PathModifiersApply *PathModifiersApply `json:"PathModifiersApply,omitempty"`
}
type BasePathPermission ¶ added in v0.2.9
type BasePathPermission struct { RwxInstruction *chmodins.RwxInstruction `json:"RwxInstruction,omitempty"` Chown *Chown `json:"Chown,omitempty"` }
func (*BasePathPermission) HasChown ¶ added in v0.2.9
func (it *BasePathPermission) HasChown() bool
func (*BasePathPermission) HasRwx ¶ added in v0.2.9
func (it *BasePathPermission) HasRwx() bool
func (*BasePathPermission) IsEmptyChown ¶ added in v0.2.9
func (it *BasePathPermission) IsEmptyChown() bool
func (*BasePathPermission) IsEmptyRwx ¶ added in v0.2.9
func (it *BasePathPermission) IsEmptyRwx() bool
type BasePathVerifiers ¶
type BasePathVerifiers struct {
PathVerifiers *PathVerifiers
}
type BasePathsCreator ¶ added in v0.1.5
type BasePathsCreator struct { RootDir string `json:"RootDir,omitempty"` Files []string IsNormalize bool // contains filtered or unexported fields }
func (*BasePathsCreator) ApplyLinuxRecursiveFileModeOnRoot ¶ added in v0.1.5
func (it *BasePathsCreator) ApplyLinuxRecursiveFileModeOnRoot( fileMode os.FileMode, ) *errorwrapper.Wrapper
func (*BasePathsCreator) CreateLazyFlatFiles ¶ added in v0.1.5
func (it *BasePathsCreator) CreateLazyFlatFiles(isLock bool, mode os.FileMode) ( []*os.File, *errorwrapper.Wrapper, )
func (*BasePathsCreator) CreateLazyPathsWithoutMode ¶ added in v0.1.5
func (it *BasePathsCreator) CreateLazyPathsWithoutMode(isLock bool) ( []*os.File, *errorwrapper.Wrapper, )
func (*BasePathsCreator) CreatePaths ¶ added in v0.1.5
func (it *BasePathsCreator) CreatePaths(isLock bool, mode os.FileMode) ( []*os.File, *errorwrapper.Wrapper, )
func (*BasePathsCreator) CreatePathsWithoutMode ¶ added in v0.1.5
func (it *BasePathsCreator) CreatePathsWithoutMode(isLock bool) ( []*os.File, *errorwrapper.Wrapper, )
func (*BasePathsCreator) DeleteAllPaths ¶ added in v0.1.5
func (it *BasePathsCreator) DeleteAllPaths() *errorwrapper.Wrapper
DeleteAllPaths delete all files in root path
func (*BasePathsCreator) DeleteAllThenCreateFlatFiles ¶ added in v0.1.5
func (it *BasePathsCreator) DeleteAllThenCreateFlatFiles( isLock bool, mode os.FileMode, ) ( []*os.File, *errorwrapper.Wrapper, )
func (*BasePathsCreator) DeleteAllThenCreateLazyFlatFiles ¶ added in v0.1.5
func (it *BasePathsCreator) DeleteAllThenCreateLazyFlatFiles( isLock bool, mode os.FileMode, ) ( []*os.File, *errorwrapper.Wrapper, )
func (*BasePathsCreator) FlatPaths ¶ added in v0.1.5
func (it *BasePathsCreator) FlatPaths() []string
func (*BasePathsCreator) FlatPathsPtr ¶ added in v0.1.5
func (it *BasePathsCreator) FlatPathsPtr() *[]string
func (*BasePathsCreator) GetFilesInfoMap ¶ added in v0.1.5
func (it *BasePathsCreator) GetFilesInfoMap( isSkipOnInvalid bool, ) *chmodhelper.FilteredPathFileInfoMap
func (*BasePathsCreator) HasAnyItem ¶ added in v0.1.5
func (it *BasePathsCreator) HasAnyItem() bool
func (*BasePathsCreator) IsEmpty ¶ added in v0.1.5
func (it *BasePathsCreator) IsEmpty() bool
func (*BasePathsCreator) LazyFlatPaths ¶ added in v0.1.5
func (it *BasePathsCreator) LazyFlatPaths() []string
func (*BasePathsCreator) LazyFlatPathsIf ¶ added in v0.1.5
func (it *BasePathsCreator) LazyFlatPathsIf(isLazy bool) []string
func (*BasePathsCreator) LazyPathsChmod ¶ added in v0.1.5
func (it *BasePathsCreator) LazyPathsChmod() *errstr.Hashmap
func (*BasePathsCreator) Length ¶ added in v0.1.5
func (it *BasePathsCreator) Length() int
func (*BasePathsCreator) LengthPlusRoot ¶ added in v0.1.5
func (it *BasePathsCreator) LengthPlusRoot() int
func (*BasePathsCreator) PathsChmodMap ¶ added in v0.1.5
func (it *BasePathsCreator) PathsChmodMap() *errstr.Hashmap
func (*BasePathsCreator) Setup ¶ added in v0.2.8
func (it *BasePathsCreator) Setup( isLock bool, isRemoveBefore bool, mode os.FileMode, ) *errorwrapper.Wrapper
func (*BasePathsCreator) SetupDefault ¶ added in v0.2.8
func (it *BasePathsCreator) SetupDefault() *errorwrapper.Wrapper
func (*BasePathsCreator) SimilarPaths ¶ added in v0.1.5
func (it *BasePathsCreator) SimilarPaths() *SimilarPaths
type BasePathsWithModifiers ¶ added in v0.3.8
type BasePathsWithModifiers struct {
PathWithModifiers []PathWithModifier `json:"PathWithModifiers,omitempty"`
}
func (*BasePathsWithModifiers) BasePathsWithVerifiers ¶ added in v0.3.8
func (it *BasePathsWithModifiers) BasePathsWithVerifiers( isContinueOnError bool, ) *BasePathsWithVerifiers
func (*BasePathsWithModifiers) IsPathWithModifiersDefined ¶ added in v0.3.8
func (it *BasePathsWithModifiers) IsPathWithModifiersDefined() bool
func (*BasePathsWithModifiers) IsPathWithModifiersUndefined ¶ added in v0.3.8
func (it *BasePathsWithModifiers) IsPathWithModifiersUndefined() bool
type BasePathsWithVerifiers ¶ added in v0.3.8
type BasePathsWithVerifiers struct {
PathsWithVerifiers *PathsWithVerifiers `json:"PathsWithVerifiers,omitempty"`
}
func (*BasePathsWithVerifiers) IsPathWithVerifiersDefined ¶ added in v0.3.8
func (it *BasePathsWithVerifiers) IsPathWithVerifiersDefined() bool
type BaseSourceDestination ¶
type BaseSourceDestination struct { Source string `json:"Source"` Destination string `json:"Destination"` }
func (*BaseSourceDestination) Clone ¶ added in v0.2.7
func (it *BaseSourceDestination) Clone() *BaseSourceDestination
type BaseSymbolicLinks ¶
type BaseSymbolicLinks struct {
SymbolicLinksApply *SymbolicLinks `json:"SymbolicLinksApply,omitempty"`
}
type BaseUserNameGroupName ¶ added in v0.1.5
type BaseUserNameGroupName struct {
UserGroupName
}
type CachesRefresh ¶
type CachesRefresh struct {
Duration Duration `json:"Duration"`
}
type ChangeGroup ¶
type ChangeGroup struct { BaseIsRecursive BaseGroupName }
func (*ChangeGroup) Clone ¶ added in v0.3.8
func (it *ChangeGroup) Clone() *ChangeGroup
type ChmodCommands ¶ added in v0.1.2
type ChmodCommands struct { Condition *chmodins.Condition `json:"Condition,omitempty"` Commands []string `json:"Commands,omitempty"` }
func (*ChmodCommands) Clone ¶ added in v0.3.8
func (c *ChmodCommands) Clone() *ChmodCommands
func (*ChmodCommands) CreateCmdOnceCollection ¶ added in v0.1.2
func (c *ChmodCommands) CreateCmdOnceCollection() *errcmd.CmdOnceCollection
func (*ChmodCommands) HasAnyItem ¶ added in v0.1.2
func (c *ChmodCommands) HasAnyItem() bool
func (*ChmodCommands) HasConditions ¶ added in v0.1.2
func (c *ChmodCommands) HasConditions() bool
func (*ChmodCommands) IsEmpty ¶ added in v0.1.2
func (c *ChmodCommands) IsEmpty() bool
func (*ChmodCommands) Length ¶ added in v0.1.2
func (c *ChmodCommands) Length() int
type Chown ¶
type Chown struct { BaseIsRecursive UserGroupName }
type CliRunner ¶
type CliRunner struct { FilesSelector []FilesSelector `json:"FilesSelector,omitempty"` Processors []ExecutableProcessor `json:"ExecutableProcessor,omitempty"` }
type CopyPath ¶ added in v0.2.6
type CopyPath struct { SourceDestinationPlusCompiled Options *CopyPathOptions `json:"Options,omitempty"` // contains filtered or unexported fields }
func (*CopyPath) Copier ¶ added in v0.3.1
func (it *CopyPath) Copier() *copyrecursive.Copier
func (*CopyPath) HasApplyPathModifier ¶ added in v0.3.1
func (*CopyPath) HasOptions ¶ added in v0.2.7
func (*CopyPath) LazyCopier ¶ added in v0.3.1
func (it *CopyPath) LazyCopier() *copyrecursive.Copier
type CopyPathOptions ¶ added in v0.2.7
type CopyPathOptions struct { IsSkipOnExist bool `json:"IsSkipOnExist,omitempty"` // removes all before the action IsRecursive bool `json:"IsRecursive,omitempty"` IsCopyRwx bool `json:"IsCopyRwx,omitempty"` IsMove bool `json:"IsMove,omitempty"` IsClearDestination bool `json:"IsClearDestination,omitempty"` IsUseShellOrCmd bool `json:"IsUseShellOrCmd,omitempty"` ApplyPathModifier *PathModifier `json:"ApplyPathModifier,omitempty"` }
func (*CopyPathOptions) CopyRecursiveOptions ¶ added in v0.3.1
func (it *CopyPathOptions) CopyRecursiveOptions() *copyrecursive.Options
type Download ¶ added in v0.3.2
type Download struct { Url string `json:"Url,omitempty"` Destination string `json:"Destination,omitempty"` FileName string `json:"FileName,omitempty"` ParallelRequests byte `json:"ParallelRequests,omitempty"` MaxRetries byte `json:"MaxRetries,omitempty"` IsCreateDir bool `json:"IsCreateDir,omitempty"` IsClearDir bool `json:"IsClearDir,omitempty"` IsNormalizePath bool `json:"IsNormalizePath,omitempty"` IsSkipOnExist bool `json:"IsSkipOnExist,omitempty"` FileModeDir os.FileMode `json:"FileModeDir,omitempty"` ChecksumVerifyMethod hashas.Variant `json:"ChecksumVerifyMethod,omitempty"` // Md5, Sha1, Sha256 ChecksumVerify string `json:"CheckSumVerify,omitempty"` // only verify if given // contains filtered or unexported fields }
Download Use aria2c Reference : https://aria2.github.io/manual/en/html/aria2c.html#options
func NewDownload ¶ added in v0.3.3
NewDownload Example :
NewDownload("http://url.com/file.ext","path/to/file/file.ext")
func (*Download) CreateDirInstruction ¶ added in v0.3.3
func (it *Download) CreateDirInstruction() *createdir.Instruction
func (*Download) PathStat ¶ added in v0.3.3
func (it *Download) PathStat() *chmodhelper.PathExistStat
type Downloads ¶ added in v0.3.2
type Downloads struct { IsAsyncAll bool // Allows parallel downloads IsContinueOnError bool // Cannot exit on IsAsyncAll true Downloads []Download `json:"Downloads,omitempty"` }
Downloads Use aria2c Reference : https://aria2.github.io/manual/en/html/aria2c.html#options
type DynamicPaths ¶
type DynamicPaths struct { Vars []PathVar `json:"Vars,omitempty"` AllDiffPaths []AllDiffPaths `json:"AllDiffPaths,omitempty"` // contains filtered or unexported fields }
func (*DynamicPaths) EachItemsLength ¶ added in v0.1.2
func (dynamicPaths *DynamicPaths) EachItemsLength() int
func (*DynamicPaths) FlatPaths ¶ added in v0.1.2
func (dynamicPaths *DynamicPaths) FlatPaths() []string
FlatPaths don't apply PathVar at this moment, feature is complicated and not implemented yet.
Current flat paths only returns all the paths combined.
func (*DynamicPaths) IsEmpty ¶ added in v0.1.2
func (dynamicPaths *DynamicPaths) IsEmpty() bool
func (*DynamicPaths) LazyFlatPaths ¶ added in v0.1.2
func (dynamicPaths *DynamicPaths) LazyFlatPaths() []string
func (*DynamicPaths) Length ¶ added in v0.1.2
func (dynamicPaths *DynamicPaths) Length() int
type EnvironmentPaths ¶ added in v0.1.2
type EnvironmentPaths struct { coreinstruction.BaseSpecPlusRequestIds ModifyAs reqtype.Request `json:"ModifyAs"` Paths []string `json:"Locations,omitempty"` }
func (EnvironmentPaths) HasAnyItem ¶ added in v0.1.2
func (e EnvironmentPaths) HasAnyItem() bool
func (EnvironmentPaths) IsEmpty ¶ added in v0.1.2
func (e EnvironmentPaths) IsEmpty() bool
func (EnvironmentPaths) Length ¶ added in v0.1.2
func (e EnvironmentPaths) Length() int
type EnvironmentPathsUsingFilesCollection ¶ added in v0.1.2
type EnvironmentPathsUsingFilesCollection struct { BaseLocationCollection ModifyAs reqtype.Request `json:"ModifyAs"` }
type EnvironmentPathsUsingGenericPaths ¶ added in v0.1.2
type EnvironmentPathsUsingGenericPaths struct { coreinstruction.BaseSpecPlusRequestIds BaseGenericPathsCollection ModifyAs reqtype.Request `json:"ModifyAs"` }
type EnvironmentVariable ¶
type ExecutableProcessor ¶ added in v0.1.2
type ExecutableProcessor struct { Name string `json:"Name"` IsEnabled bool `json:"IsEnabled,omitempty"` IsNormalizePath bool `json:"IsNormalizePath,omitempty"` FailedMessage string `json:"FailedMessage,omitempty"` SuccessMessage string `json:"SuccessMessage,omitempty"` OutputToFile string `json:"OutputToFile,omitempty"` BinaryPath string `json:"BinaryPath,omitempty"` Args []string `json:"Args,omitempty"` IsSecure, IsDisplayToConsole, IsWriteToFile bool ScriptType scripttype.Variant `json:"ScriptType"` // contains filtered or unexported fields }
func (*ExecutableProcessor) CreateCmdOnce ¶ added in v0.1.2
func (e *ExecutableProcessor) CreateCmdOnce() *errcmd.CmdOnce
func (*ExecutableProcessor) Dispose ¶ added in v0.5.2
func (e *ExecutableProcessor) Dispose()
func (*ExecutableProcessor) GetExecuteOutputByExecuting ¶ added in v0.1.2
func (e *ExecutableProcessor) GetExecuteOutputByExecuting( errWrapperCollection *errwrappers.Collection, ) *ProcessorExecOutput
func (*ExecutableProcessor) LazyCmdOnce ¶ added in v0.1.2
func (e *ExecutableProcessor) LazyCmdOnce() *errcmd.CmdOnce
type FilesSelector ¶
type FilesSelector struct { Path string `json:"Location"` Filters []string `json:"Filters,omitempty"` SkipFilters []string `json:"SkipFilters,omitempty"` Extensions []string `json:"Extensions,omitempty"` Processors []string `json:"ExecutableProcessor,omitempty"` Attributes *Attributes `json:"Attributes,omitempty"` }
type GenericPathsCollection ¶
type GenericPathsCollection struct { Specification *coreinstruction.Specification `json:"Specification,omitempty"` SimilarPaths []SimilarPaths `json:"SimilarPaths,omitempty"` AllDiffPaths []AllDiffPaths `json:"AllDiffPaths,omitempty"` DynamicPaths *DynamicPaths `json:"DynamicPaths,omitempty"` // contains filtered or unexported fields }
func (*GenericPathsCollection) AllDiffPathsFlatPaths ¶ added in v0.1.2
func (it *GenericPathsCollection) AllDiffPathsFlatPaths() []string
func (*GenericPathsCollection) AllDiffPathsIndividualItemsLength ¶ added in v0.1.2
func (it *GenericPathsCollection) AllDiffPathsIndividualItemsLength() int
func (*GenericPathsCollection) DynamicPathsFlatPaths ¶ added in v0.1.2
func (it *GenericPathsCollection) DynamicPathsFlatPaths() []string
func (*GenericPathsCollection) DynamicPathsIndividualItemsLength ¶ added in v0.1.2
func (it *GenericPathsCollection) DynamicPathsIndividualItemsLength() int
func (*GenericPathsCollection) FlatPaths ¶ added in v0.1.2
func (it *GenericPathsCollection) FlatPaths() []string
func (*GenericPathsCollection) FlatPathsSorted ¶ added in v0.1.2
func (it *GenericPathsCollection) FlatPathsSorted() []string
func (*GenericPathsCollection) HasAnyItem ¶ added in v0.1.2
func (it *GenericPathsCollection) HasAnyItem() bool
func (*GenericPathsCollection) IsEmpty ¶ added in v0.1.2
func (it *GenericPathsCollection) IsEmpty() bool
func (*GenericPathsCollection) IsEmptyAllDiffPaths ¶ added in v0.1.2
func (it *GenericPathsCollection) IsEmptyAllDiffPaths() bool
func (*GenericPathsCollection) IsEmptyDynamicPaths ¶ added in v0.1.2
func (it *GenericPathsCollection) IsEmptyDynamicPaths() bool
func (*GenericPathsCollection) IsEmptySimilarPaths ¶ added in v0.1.2
func (it *GenericPathsCollection) IsEmptySimilarPaths() bool
func (*GenericPathsCollection) LazyFlatPaths ¶ added in v0.1.2
func (it *GenericPathsCollection) LazyFlatPaths() []string
func (*GenericPathsCollection) LazyFlatPathsSorted ¶ added in v0.1.2
func (it *GenericPathsCollection) LazyFlatPathsSorted() []string
func (*GenericPathsCollection) LazyPathsIf ¶ added in v0.1.8
func (it *GenericPathsCollection) LazyPathsIf(isLazyPaths bool) []string
func (*GenericPathsCollection) Length ¶ added in v0.1.2
func (it *GenericPathsCollection) Length() int
Length of len(receiver.SimilarPaths) + len(receiver.AllDiffPaths) + items in DynamicPaths (not all specific paths)
func (*GenericPathsCollection) SimilarPathsFlatPaths ¶ added in v0.1.2
func (it *GenericPathsCollection) SimilarPathsFlatPaths() []string
func (*GenericPathsCollection) SimilarPathsIndividualItemsLength ¶ added in v0.1.2
func (it *GenericPathsCollection) SimilarPathsIndividualItemsLength() int
type LocationCollection ¶ added in v0.1.2
type LocationCollection struct { Locations []string `json:"Locations,omitempty"` IsNormalizeApply bool `json:"IsNormalizeApply,omitempty"` // contains filtered or unexported fields }
func (*LocationCollection) FlatPaths ¶ added in v0.1.2
func (receiver *LocationCollection) FlatPaths() []string
func (*LocationCollection) HasAnyItem ¶ added in v0.1.2
func (receiver *LocationCollection) HasAnyItem() bool
func (*LocationCollection) IsEmpty ¶ added in v0.1.2
func (receiver *LocationCollection) IsEmpty() bool
func (*LocationCollection) LazyFlatPaths ¶ added in v0.1.2
func (receiver *LocationCollection) LazyFlatPaths() []string
func (*LocationCollection) Length ¶ added in v0.1.2
func (receiver *LocationCollection) Length() int
type PathModifier ¶
type PathModifier struct { chmodins.BaseRwxInstructions ChmodCommands *ChmodCommands `json:"ChmodCommands,omitempty"` Chown *Chown `json:"Chown,omitempty"` ChangeGroup *ChangeGroup `json:"ChangeGroup,omitempty"` }
func (*PathModifier) Clone ¶ added in v0.3.8
func (it *PathModifier) Clone() *PathModifier
func (*PathModifier) HasChangeGroup ¶ added in v0.1.2
func (it *PathModifier) HasChangeGroup() bool
func (*PathModifier) HasChmodCommands ¶ added in v0.1.2
func (it *PathModifier) HasChmodCommands() bool
func (*PathModifier) HasChown ¶ added in v0.1.2
func (it *PathModifier) HasChown() bool
func (*PathModifier) HasRwxInstructions ¶ added in v0.1.2
func (it *PathModifier) HasRwxInstructions() bool
type PathModifiersApply ¶ added in v0.1.2
type PathModifiersApply struct { coreinstruction.BaseSpecPlusRequestIds BaseGenericPathsCollection PathModifiers []PathModifier `json:"PathModifiers,omitempty"` }
func (*PathModifiersApply) IsEmptyPathModifiers ¶ added in v0.1.2
func (p *PathModifiersApply) IsEmptyPathModifiers() bool
func (*PathModifiersApply) PathModifiersLength ¶ added in v0.1.2
func (p *PathModifiersApply) PathModifiersLength() int
type PathVerifier ¶
type PathVerifier struct { UserGroupName chmodins.BaseRwxInstructions }
func (*PathVerifier) HasRwxInstructions ¶ added in v0.1.3
func (p *PathVerifier) HasRwxInstructions() bool
type PathVerifiers ¶ added in v0.1.2
type PathVerifiers struct { coreinstruction.BaseSpecPlusRequestIds PathVerifiers []PathVerifier `json:"PathVerifiers,omitempty"` IsSkipCheckingOnInvalid bool IsNormalize bool IsRecursiveCheck bool }
func (*PathVerifiers) HasAnyItem ¶ added in v0.1.3
func (v *PathVerifiers) HasAnyItem() bool
func (*PathVerifiers) IsEmpty ¶ added in v0.1.3
func (v *PathVerifiers) IsEmpty() bool
func (*PathVerifiers) Length ¶ added in v0.1.3
func (v *PathVerifiers) Length() int
type PathVerifiersWithGenericPathsCollection ¶ added in v0.1.2
type PathVerifiersWithGenericPathsCollection struct { coreinstruction.BaseSpecPlusRequestIds BaseGenericPathsCollection PathVerifiers *PathVerifiers `json:"PathVerifiers,omitempty"` }
func (*PathVerifiersWithGenericPathsCollection) IsEitherEmpty ¶ added in v0.1.3
func (p *PathVerifiersWithGenericPathsCollection) IsEitherEmpty() bool
type PathVerifiersWithLocationCollection ¶ added in v0.1.3
type PathVerifiersWithLocationCollection struct { PathVerifiers *PathVerifiers LocationCollection *LocationCollection }
func (*PathVerifiersWithLocationCollection) HasLocations ¶ added in v0.1.3
func (receiver *PathVerifiersWithLocationCollection) HasLocations() bool
func (*PathVerifiersWithLocationCollection) IsEitherEmpty ¶ added in v0.1.3
func (receiver *PathVerifiersWithLocationCollection) IsEitherEmpty() bool
type PathWithModifier ¶ added in v0.3.8
type PathWithModifier struct { PathWithOptions Modifier *PathModifier `json:"Modifier,omitempty"` }
func (*PathWithModifier) Clone ¶ added in v0.3.8
func (it *PathWithModifier) Clone() *PathWithModifier
func (*PathWithModifier) IsModifierDefined ¶ added in v0.3.8
func (it *PathWithModifier) IsModifierDefined() bool
func (*PathWithModifier) IsModifierUndefined ¶ added in v0.3.8
func (it *PathWithModifier) IsModifierUndefined() bool
func (*PathWithModifier) IsPathWithModifierDefined ¶ added in v0.3.8
func (it *PathWithModifier) IsPathWithModifierDefined() bool
func (*PathWithModifier) PathWithVerifier ¶ added in v0.3.8
func (it *PathWithModifier) PathWithVerifier() *PathWithVerifier
PathWithVerifier creates the user group validation from Modifier.Chown
type PathWithOptions ¶ added in v0.3.8
type PathWithOptions struct { IsNormalize bool `json:"IsNormalize,omitempty"` IsRecursive bool `json:"IsRecursive,omitempty"` IsExpandEnvVar bool `json:"IsExpandEnvVar,omitempty"` IsSkipInvalid bool `json:"IsSkipInvalid,omitempty"` Path string `json:"Path"` // warning : use CompiledPath // contains filtered or unexported fields }
func (*PathWithOptions) ClonePath ¶ added in v0.3.8
func (it *PathWithOptions) ClonePath() *PathWithOptions
func (*PathWithOptions) CompiledPath ¶ added in v0.3.8
func (it *PathWithOptions) CompiledPath() string
func (*PathWithOptions) CompiledPathAsSlice ¶ added in v0.3.8
func (it *PathWithOptions) CompiledPathAsSlice() []string
func (*PathWithOptions) ExistStat ¶ added in v0.3.8
func (it *PathWithOptions) ExistStat() *chmodhelper.PathExistStat
func (*PathWithOptions) FileInfo ¶ added in v0.3.8
func (it *PathWithOptions) FileInfo() os.FileInfo
func (*PathWithOptions) FileMode ¶ added in v0.3.8
func (it *PathWithOptions) FileMode() os.FileMode
func (*PathWithOptions) HasPath ¶ added in v0.3.8
func (it *PathWithOptions) HasPath() bool
func (*PathWithOptions) IsDir ¶ added in v0.3.8
func (it *PathWithOptions) IsDir() bool
func (*PathWithOptions) IsEqual ¶ added in v0.3.8
func (it *PathWithOptions) IsEqual(another *PathWithOptions) bool
func (*PathWithOptions) IsEqualWithoutOptions ¶ added in v0.3.8
func (it *PathWithOptions) IsEqualWithoutOptions(another *PathWithOptions) bool
func (*PathWithOptions) IsExistButDir ¶ added in v0.3.8
func (it *PathWithOptions) IsExistButDir() bool
func (*PathWithOptions) IsExistButFile ¶ added in v0.3.8
func (it *PathWithOptions) IsExistButFile() bool
func (*PathWithOptions) IsFile ¶ added in v0.3.8
func (it *PathWithOptions) IsFile() bool
func (*PathWithOptions) IsInvalid ¶ added in v0.3.8
func (it *PathWithOptions) IsInvalid() bool
func (*PathWithOptions) IsInvalidPath ¶ added in v0.3.8
func (it *PathWithOptions) IsInvalidPath() bool
func (*PathWithOptions) IsPathExist ¶ added in v0.3.8
func (it *PathWithOptions) IsPathExist() bool
IsPathExist returns true if exist on the file system
func (*PathWithOptions) SafeFileMode ¶ added in v0.3.8
func (it *PathWithOptions) SafeFileMode() os.FileMode
type PathWithVerifier ¶ added in v0.3.8
type PathWithVerifier struct { PathWithOptions Verifier *PathVerifier `json:"Verifier,omitempty"` }
func (*PathWithVerifier) IsPathWithVerifierDefined ¶ added in v0.3.8
func (it *PathWithVerifier) IsPathWithVerifierDefined() bool
func (*PathWithVerifier) IsVerifierDefined ¶ added in v0.3.8
func (it *PathWithVerifier) IsVerifierDefined() bool
func (*PathWithVerifier) IsVerifierUndefined ¶ added in v0.3.8
func (it *PathWithVerifier) IsVerifierUndefined() bool
type PathsCreator ¶ added in v0.1.5
type PathsCreator struct { BasePathsCreator ApplyRwx *chmodins.RwxOwnerGroupOther ApplyUserGroup *UserGroupName }
func (*PathsCreator) HasRwx ¶ added in v0.1.5
func (it *PathsCreator) HasRwx() bool
func (*PathsCreator) HasUserGroup ¶ added in v0.1.5
func (it *PathsCreator) HasUserGroup() bool
type PathsCreatorCollection ¶ added in v0.1.5
type PathsCreatorCollection struct { PathsCreatorItems []PathsCreator `json:"PathsCreatorItems,omitempty"` IsIgnoreOnExist bool IsDeleteAllBeforeCreate bool // contains filtered or unexported fields }
func (*PathsCreatorCollection) FlatPaths ¶ added in v0.1.5
func (it *PathsCreatorCollection) FlatPaths() []string
func (*PathsCreatorCollection) HasAnyItem ¶ added in v0.1.5
func (it *PathsCreatorCollection) HasAnyItem() bool
func (*PathsCreatorCollection) IsEmpty ¶ added in v0.1.5
func (it *PathsCreatorCollection) IsEmpty() bool
func (*PathsCreatorCollection) LazyFlatPaths ¶ added in v0.1.5
func (it *PathsCreatorCollection) LazyFlatPaths() []string
func (*PathsCreatorCollection) LazyFlatPathsIf ¶ added in v0.1.5
func (it *PathsCreatorCollection) LazyFlatPathsIf(isLazy bool) []string
func (*PathsCreatorCollection) Length ¶ added in v0.1.5
func (it *PathsCreatorCollection) Length() int
Length yields count of PathsCreatorItems, not all paths count
type PathsWithVerifiers ¶ added in v0.3.8
type PathsWithVerifiers struct { IsContinueOnError bool Verifiers []PathWithVerifier `json:"PathsWithVerifiers,omitempty"` }
func (*PathsWithVerifiers) IsPathWithVerifiersDefined ¶ added in v0.3.8
func (it *PathsWithVerifiers) IsPathWithVerifiersDefined() bool
func (*PathsWithVerifiers) IsPathWithVerifiersUndefined ¶ added in v0.3.8
func (it *PathsWithVerifiers) IsPathWithVerifiersUndefined() bool
type ProcessorExecOutput ¶ added in v0.1.2
type ProcessorExecOutput struct { CmdOnce *errcmd.CmdOnce ConsoleResult *errcmd.Result ExecutableProcessor *ExecutableProcessor }
type ProcessorExecOutputs ¶ added in v0.1.2
type ProcessorExecOutputs struct { CompiledError *errorwrapper.Wrapper Outputs []ProcessorExecOutput }
type RemoveInstruction ¶ added in v0.1.8
type RemoveInstruction struct { BaseIsRecursive GenericPathsCollection IsRemoveOnlyOnExist bool `json:"IsRemoveOnlyOnExist,omitempty"` IsContinueOnError bool `json:"IsContinueOnError,omitempty"` }
func (*RemoveInstruction) Apply ¶ added in v0.1.8
func (it *RemoveInstruction) Apply(isLazyPaths bool) *errwrappers.Collection
func (*RemoveInstruction) ApplyUsingErrorCollection ¶ added in v0.1.8
func (it *RemoveInstruction) ApplyUsingErrorCollection( isLazyPaths bool, errorCollection *errwrappers.Collection, ) ( isSuccess bool, )
type SimilarPaths ¶
type SimilarPaths struct { RootPath string `json:"RootPath"` RelativePaths []string `json:"RelativePaths"` IsNormalizeApply bool `json:"IsNormalizeApply"` }
func (*SimilarPaths) ApplyLinuxRecursiveFileModeOnRoot ¶ added in v0.1.5
func (it *SimilarPaths) ApplyLinuxRecursiveFileModeOnRoot( fileMode os.FileMode, ) *errorwrapper.Wrapper
func (*SimilarPaths) BasePathsCreator ¶ added in v0.1.5
func (it *SimilarPaths) BasePathsCreator() *BasePathsCreator
func (*SimilarPaths) FlatPaths ¶ added in v0.1.2
func (it *SimilarPaths) FlatPaths() []string
func (*SimilarPaths) HasAnyItem ¶ added in v0.1.2
func (it *SimilarPaths) HasAnyItem() bool
func (*SimilarPaths) IsEmpty ¶ added in v0.1.2
func (it *SimilarPaths) IsEmpty() bool
func (*SimilarPaths) Length ¶ added in v0.1.2
func (it *SimilarPaths) Length() int
type SourceDestinationPlusCompiled ¶ added in v0.2.7
type SourceDestinationPlusCompiled struct { BaseSourceDestination pathfixer.PathOptions // contains filtered or unexported fields }
func NewSourceDestinationPlusCompiled ¶ added in v0.2.7
func NewSourceDestinationPlusCompiled( src, dest string, options *pathfixer.PathOptions, ) *SourceDestinationPlusCompiled
func NewSourceDestinationPlusCompiledNoOptions ¶ added in v0.2.7
func NewSourceDestinationPlusCompiledNoOptions( src, dest string, ) *SourceDestinationPlusCompiled
func (SourceDestinationPlusCompiled) CompiledSourceDestination ¶ added in v0.2.7
func (it SourceDestinationPlusCompiled) CompiledSourceDestination() *BaseSourceDestination
func (SourceDestinationPlusCompiled) DestinationFixedPath ¶ added in v0.2.7
func (it SourceDestinationPlusCompiled) DestinationFixedPath() string
func (SourceDestinationPlusCompiled) FixedSrcDest ¶ added in v0.2.7
func (it SourceDestinationPlusCompiled) FixedSrcDest() (src, dest string)
func (SourceDestinationPlusCompiled) IsSameSourceDestination ¶ added in v0.2.7
func (it SourceDestinationPlusCompiled) IsSameSourceDestination() bool
func (SourceDestinationPlusCompiled) SourceFixedPath ¶ added in v0.2.7
func (it SourceDestinationPlusCompiled) SourceFixedPath() string
type StatePrePostPathVerifiers ¶ added in v0.3.8
type StatePrePostPathVerifiers struct { PreStates *PathsWithVerifiers `json:"PrePathModifiers,omitempty"` PostStates *PathsWithVerifiers `json:"PostPathModifiers,omitempty"` }
func (*StatePrePostPathVerifiers) IsPostStatesDefined ¶ added in v0.3.8
func (it *StatePrePostPathVerifiers) IsPostStatesDefined() bool
func (*StatePrePostPathVerifiers) IsPreStatesDefined ¶ added in v0.3.8
func (it *StatePrePostPathVerifiers) IsPreStatesDefined() bool
type SymbolicLink ¶
type SymbolicLink struct { Src string `json:"Src"` Dst string `json:"Dst"` IsClearBefore bool `json:"IsClearBefore,omitempty"` IsMkDirAll bool `json:"IsMkDirAll,omitempty"` IsNormalizePath bool `json:"IsNormalizePath,omitempty"` IsSkipOnSrcMissing bool `json:"IsSkipOnSrcMissing,omitempty"` IsSkipOnExist bool `json:"IsSkipOnExist,omitempty"` }
type SymbolicLinks ¶ added in v0.1.3
type SymbolicLinks struct { coreinstruction.BaseSpecPlusRequestIds IsContinueOnError bool `json:"IsContinueOnError,omitempty"` SymbolicLinks []SymbolicLink `json:"SymbolicLinks,omitempty"` }
func (*SymbolicLinks) HasAnyItem ¶ added in v0.1.3
func (receiver *SymbolicLinks) HasAnyItem() bool
func (*SymbolicLinks) IsEmpty ¶ added in v0.1.3
func (receiver *SymbolicLinks) IsEmpty() bool
func (*SymbolicLinks) Length ¶ added in v0.1.3
func (receiver *SymbolicLinks) Length() int
type UserGroupName ¶ added in v0.1.5
type UserGroupName struct { BaseGroupName UserName string `json:"UserName,omitempty"` // Not define or empty string or * means keeping the existing one }
func NewUserGroupName ¶ added in v0.1.5
func NewUserGroupName( username, groupName string, ) *UserGroupName
func (*UserGroupName) Clone ¶ added in v0.1.5
func (it *UserGroupName) Clone() *UserGroupName
func (*UserGroupName) HasUserName ¶ added in v0.1.5
func (it *UserGroupName) HasUserName() bool
func (*UserGroupName) HasUserNameOrGroup ¶ added in v0.1.5
func (it *UserGroupName) HasUserNameOrGroup() bool
func (*UserGroupName) IsGroupNameUserNameBothEmpty ¶ added in v0.1.5
func (it *UserGroupName) IsGroupNameUserNameBothEmpty() bool
func (*UserGroupName) IsUserNameEmpty ¶ added in v0.1.5
func (it *UserGroupName) IsUserNameEmpty() bool
func (*UserGroupName) IsUsername ¶ added in v0.1.5
func (it *UserGroupName) IsUsername(checkingUserName string) bool
func (*UserGroupName) UserNameSimple ¶ added in v0.1.5
func (it *UserGroupName) UserNameSimple() string
Source Files
¶
- AllDiffPaths.go
- Attributes.go
- BaseCopyPath.go
- BaseCopyPaths.go
- BaseDownload.go
- BaseDownloads.go
- BaseEnvPaths.go
- BaseEnvironmentVariables.go
- BaseExecutableProcessors.go
- BaseGenericPathsCollection.go
- BaseGroupName.go
- BaseIsRecursive.go
- BaseIsRename.go
- BaseLocationCollection.go
- BasePathModifiersApply.go
- BasePathPermission.go
- BasePathVerifiers.go
- BasePathsCreator.go
- BasePathsWithModifiers.go
- BasePathsWithVerifiers.go
- BaseSourceDestination.go
- BaseSymbolicLinks.go
- BaseUserNameGroupName.go
- CachesRefresh.go
- ChangeGroup.go
- ChmodCommands.go
- Chown.go
- CliConfig.go
- CliRunner.go
- CopyPath.go
- CopyPathOptions.go
- CopyPaths.go
- Download.go
- Downloads.go
- Duration.go
- DynamicPaths.go
- EnvironmentPaths.go
- EnvironmentPathsUsingFilesCollection.go
- EnvironmentPathsUsingGenericPaths.go
- EnvironmentVariable.go
- ExecutableProcessor.go
- FilesSelector.go
- FromTo.go
- GenericPathsCollection.go
- LocationCollection.go
- PathModifier.go
- PathModifiersApply.go
- PathVar.go
- PathVerifier.go
- PathVerifiers.go
- PathVerifiersWithGenericPathsCollection.go
- PathVerifiersWithLocationCollection.go
- PathWithModifier.go
- PathWithOptions.go
- PathWithVerifier.go
- PathsCreator.go
- PathsCreatorCollection.go
- PathsWithVerifiers.go
- ProcessorExecOutput.go
- ProcessorExecOutputs.go
- RemoveInstruction.go
- SimilarPaths.go
- SourceDestinationPlusCompiled.go
- StatePrePostPathVerifiers.go
- SymbolicLink.go
- SymbolicLinks.go
- UserGroupName.go
- vars.go