Documentation
¶
Index ¶
- Constants
- Variables
- func MergeKeys(dst, src map[string]any) map[string]any
- func NotNilValues(values ...any) int
- func SliceSet[T comparable](in []T) map[T]struct{}
- type Action
- type ActionFilter
- type AppendVPlusOrV
- type Command
- type DataFile
- type DirStrategy
- type Executor
- type ExecutorBuilder
- type FileInfo
- type FileProducer
- type FileStrategy
- type Group
- type HTTPClientParams
- type LocalFile
- type Logger
- type LoggerWrapper
- type MissingKeyValue
- type Preprocessor
- type RandomFn
- type RegexpChain
- type RemoteFile
- type RmStrategy
- type SliceFn
- type StringsFn
- type TargetFs
- type TemplateOptionsKey
- type TemplateProc
- type TmplProc
- type UndefinedFile
Constants ¶
View Source
const ( TemplateOptionsMissingKey TemplateOptionsKey = "missingkey" MissingKeyDefault MissingKeyValue = "default" MissingKeyInvalid MissingKeyValue = "invalid" MissingKeyZero MissingKeyValue = "zero" MissingKeyError MissingKeyValue = "error" Space = " " Empty = "" Dash = "-" Dot = "." Comma = "," EqualsSign = "=" LessThan = "<" Tilda = "~" Astrix = "*" NewLine = "\n" LogSliceSep = Comma + Space )
Variables ¶
Functions ¶
func NotNilValues ¶ added in v0.0.6
func SliceSet ¶ added in v0.1.6
func SliceSet[T comparable](in []T) map[T]struct{}
Types ¶
type Action ¶ added in v0.1.8
func (Action[T]) WithPriority ¶ added in v0.1.8
type ActionFilter ¶ added in v0.1.8
type AppendVPlusOrV ¶ added in v0.1.8
func NewAppendVPlusOrV ¶ added in v0.1.8
func NewAppendVPlusOrV(vPlus bool) AppendVPlusOrV
type DirStrategy ¶ added in v0.1.1
type ExecutorBuilder ¶ added in v0.1.8
type FileInfo ¶ added in v0.0.11
type FileInfo struct {
// contains filtered or unexported fields
}
func NewFileInfo ¶ added in v0.0.13
type FileProducer ¶
type FileStrategy ¶ added in v0.1.1
type HTTPClientParams ¶ added in v0.0.6
type LoggerWrapper ¶ added in v0.1.3
type MissingKeyValue ¶ added in v0.0.11
type MissingKeyValue string
func (MissingKeyValue) Valid ¶ added in v0.0.11
func (v MissingKeyValue) Valid() error
type Preprocessor ¶ added in v0.0.11
type Preprocessor interface {
Process() error
}
type RandomFn ¶ added in v0.0.10
type RandomFn struct{}
RandomFn has to generate random string value
func (RandomFn) ASCII ¶ added in v0.1.0
ASCII Generates a random string of a desired length, containing the set of printable characters from the 7-bit ASCII set. This includes space (’ ‘), but no other whitespace character
func (RandomFn) Alpha ¶ added in v0.0.10
Alpha Generates a random alphabetical (A-Z, a-z) string of a desired length.
type RegexpChain ¶ added in v0.0.6
type RegexpChain struct {
// contains filtered or unexported fields
}
func NewRegexpChain ¶ added in v0.0.6
func NewRegexpChain(regexps ...string) *RegexpChain
func (*RegexpChain) MatchString ¶ added in v0.0.6
func (c *RegexpChain) MatchString(s string) bool
type RemoteFile ¶
type RemoteFile struct { FileInfo HTTPClientParams }
type RmStrategy ¶ added in v0.1.7
type TemplateOptionsKey ¶ added in v0.0.11
type TemplateOptionsKey string
type TemplateProc ¶ added in v0.0.13
type TmplProc ¶ added in v0.0.13
type TmplProc struct {
// contains filtered or unexported fields
}
func NewTemplateProc ¶ added in v0.0.13
type UndefinedFile ¶ added in v0.1.8
type UndefinedFile struct { Path string Data *[]byte Get *HTTPClientParams Local *string }
Click to show internal directories.
Click to hide internal directories.