pathinsfmt

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllDiffPaths

type AllDiffPaths struct {
	Paths            *[]string `json:"Paths"`
	IsNormalizeApply bool      `json:"IsNormalizeApply"`
}

type Attributes

type Attributes struct {
	IsRecursive    bool           `json:"IsRecursive"`
	IsCache        bool           `json:"IsCache"`
	IsRedis        bool           `json:"IsRedis"`
	IsWriteToFiles bool           `json:"IsWriteToFiles"`
	CacheFilePath  string         `json:"CacheFilePath"`
	CachesRefresh  *CachesRefresh `json:"CachesRefresh,omitempty"`
}

type BaseEnvPaths

type BaseEnvPaths struct {
	EnvPaths *[]string `json:"EnvPaths,omitempty"`
}

type BaseEnvironmentVariables

type BaseEnvironmentVariables struct {
	EnvVars *[]EnvironmentVariable `json:"EnvVars,omitempty"`
}

type BaseGenericPathsCollection

type BaseGenericPathsCollection struct {
	GenericPathsCollection *GenericPathsCollection `json:"GenericPathsCollection,omitempty"`
}

type BaseGroupName

type BaseGroupName struct {
	GroupName *string `json:"GroupName,omitempty"` // Not define or empty string or * means keeping the existing one
}

type BaseIsRecursive

type BaseIsRecursive struct {
	IsRecursive bool `json:"IsRecursive"`
}

type BaseIsRename

type BaseIsRename struct {
	IsRename bool `json:"IsRename"`
}

type BasePathModifiers

type BasePathModifiers struct {
	PathModifiers *[]PathModifier `json:"PathModifiers,omitempty"`
}

type BasePathVerifiers

type BasePathVerifiers struct {
	PathVerifiers *[]PathVerifier `json:"PathVerifiers,omitempty"`
}

type BasePathsModifiersApply

type BasePathsModifiersApply struct {
	PathModifiersByDefinition *[]PathModifier `json:"PathModifiersByDefinition,omitempty"`
}

type BaseSourceDestination

type BaseSourceDestination struct {
	Source      string `json:"Source,omitempty"`
	Destination string `json:"Destination,omitempty"`
}
type BaseSymbolicLinks struct {
	SymbolicLinks *[]SymbolicLink `json:"SymbolicLinks,omitempty"`
}

type BaseUserNamePlusGroupName

type BaseUserNamePlusGroupName struct {
	*BaseGroupName
	UserName *string `json:"UserName,omitempty"` // Not define or empty string or * means keeping the existing one
}

type CachesRefresh

type CachesRefresh struct {
	Duration Duration `json:"Duration"`
}

type ChangeGroup

type ChangeGroup struct {
	BaseIsRecursive
	GroupName string `json:"GroupName,omitempty"`
}

type ChmodCommand

type ChmodCommand struct {
	BaseIsRecursive
	Command string `json:"Command,omitempty"`
}

type Chown

type CliConfig

type CliConfig struct {
	CliRunner *CliRunner `json:"CliRunner,omitempty"`
}

type CliRunner

type CliRunner struct {
	FilesSelector *[]FilesSelector `json:"FilesSelector,omitempty"`
	Processors    *[]Processors    `json:"Processors,omitempty"`
}

type CopyMoveStructure

type CopyMoveStructure struct {
	BasePathModifiers
	*BaseSourceDestination
	Rename  string                     `json:"Rename,omitempty"`
	Options *CopyMoveStructuresOptions `json:"Options,omitempty"`
}

type CopyMoveStructuresOptions

type CopyMoveStructuresOptions struct {
	*BasePathModifiers
	*BaseIsRename
	IsClearBeforeStart bool   `json:"IsClearBeforeStart"`
	IsMove             bool   `json:"IsMove"`
	PermissionOptions  string `json:"PermissionOptions,omitempty"`
	OverwriteConfig    string `json:"OverwriteConfig,omitempty"`
}

type Duration

type Duration struct {
	Value      int    `json:"Value"`
	Quantifier string `json:"Quantifier"`
}

type DynamicPaths

type DynamicPaths struct {
	Vars         *[]PathVar      `json:"Vars"`
	AllDiffPaths *[]AllDiffPaths `json:"AllDiffPaths"`
}

type EnvironmentVariable

type EnvironmentVariable struct {
	Name  string `json:"Name,omitempty"`
	Value string `json:"Value,omitempty"`
}

type FilesCollection

type FilesCollection struct {
	Files            []string `json:"Files,omitempty"`
	IsNormalizeApply bool     `json:"IsNormalizeApply"`
}

type FilesSelector

type FilesSelector struct {
	Path        string      `json:"Path"`
	Filters     *[]string   `json:"Filters,omitempty"`
	SkipFilters *[]string   `json:"SkipFilters,omitempty"`
	Extensions  *[]string   `json:"Extensions,omitempty"`
	Processors  *[]string   `json:"Processors,omitempty"`
	Attributes  *Attributes `json:"Attributes,omitempty"`
}

type GenericPathsCollection

type GenericPathsCollection struct {
	SimilarPaths *[]SimilarPaths `json:"SimilarPaths"`
	AllDiffPaths *[]AllDiffPaths `json:"AllDiffPaths"`
	DynamicPaths *DynamicPaths   `json:"DynamicPaths"`
}

type PathModifier

type PathModifier struct {
	*chmodins.BaseRwxInstructions
	GenericPathsCollection *GenericPathsCollection `json:"GenericPathsCollection,omitempty"`
	ChmodCommand           *ChmodCommand           `json:"ChmodCommand,omitempty"`
	Chown                  *Chown                  `json:"Chown,omitempty"`
	ChangeGroup            *ChangeGroup            `json:"ChangeGroup,omitempty"`
}

type PathVar

type PathVar struct {
	VarName string `json:"VarName"`
	Value   string `json:"Value"`
	IsRegex bool   `json:"IsRegex"`
}

type PathVerifier

type PathVerifier struct {
	*BaseUserNamePlusGroupName
	*chmodins.BaseRwxInstructions
	Path string `json:"Path,omitempty"`
}

type PrePostStatePathModifiers

type PrePostStatePathModifiers struct {
	PrePathModifiers  *[]PathModifier `json:"PrePathModifiers,omitempty"`
	PostPathModifiers *[]PathModifier `json:"PostPathModifiers,omitempty"`
}

type Processors

type Processors struct {
	Name          string    `json:"Name"`
	IsEnabled     bool      `json:"IsEnabled"`
	ProcessorPath string    `json:"ProcessorPath"`
	Exe           string    `json:"Exe"`
	Args          *[]string `json:"Args,omitempty"`
}

type SimilarPaths

type SimilarPaths struct {
	RootPath         string    `json:"RootPath"`
	RelativePaths    *[]string `json:"RelativePaths"`
	IsNormalizeApply bool      `json:"IsNormalizeApply"`
}
type SymbolicLink struct {
	Src           string `json:"Src"`
	Dst           string `json:"Dst"`
	IsForce       bool   `json:"IsForce"`
	IsSkipOnError bool   `json:"IsSkipOnError"`
}

Jump to

Keyboard shortcuts

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