Documentation ¶
Index ¶
- Constants
- Variables
- func GetRuneLabelMap() map[string]string
- func GetValueFromPath(item interface{}, path []string) interface{}
- type ByIndexValue
- type EnvInfoDefinition
- type IndexEntry
- type IndexMap
- type IndexRuleMapGenerator
- type MatchEntryParserError
- type MatchFileDefinition
- type MatchParameters
- type MatchParametersEnv
Constants ¶
View Source
const ( ACTION_ADD = "Add" ACTION_DELETE = "Delete" ACTION_UPDATE = "Update" ACTION_IDENTICAL = "Identical" ACTION_PREEMPTIVE = "Preemptive" STATUS_MULTI_MATCH = "Multi Matched" ACTION_ADD_RUNE = 'A' ACTION_DELETE_RUNE = 'D' ACTION_UPDATE_RUNE = 'U' ACTION_IDENTICAL_RUNE = 'I' ACTION_PREEMPTIVE_RUNE = 'P' STATUS_MULTI_MATCH_RUNE = 'M' )
View Source
const SOURCE_ENV = "Source"
View Source
const TARGET_ENV = "Target"
Variables ¶
Functions ¶
func GetRuneLabelMap ¶
func GetValueFromPath ¶
func GetValueFromPath(item interface{}, path []string) interface{}
Types ¶
type ByIndexValue ¶
type ByIndexValue []IndexEntry
func (ByIndexValue) Len ¶
func (a ByIndexValue) Len() int
func (ByIndexValue) Less ¶
func (a ByIndexValue) Less(i, j int) bool
func (ByIndexValue) Swap ¶
func (a ByIndexValue) Swap(i, j int)
type EnvInfoDefinition ¶
type IndexEntry ¶
type IndexEntry struct {
// contains filtered or unexported fields
}
type IndexRuleMapGenerator ¶
type IndexRuleMapGenerator struct { SelfMatch bool // contains filtered or unexported fields }
func NewIndexRuleMapGenerator ¶
func NewIndexRuleMapGenerator(selfMatch bool, ruleList rules.IndexRuleTypeList) *IndexRuleMapGenerator
func (*IndexRuleMapGenerator) RunIndexRuleAll ¶
func (i *IndexRuleMapGenerator) RunIndexRuleAll(matchProcessingPtr *processing.MatchProcessing) (*processing.CompareResultList, *map[int]int)
type MatchEntryParserError ¶
type MatchFileDefinition ¶
type MatchFileDefinition struct { Name string `yaml:"name"` Type string `yaml:"type"` EntitiesMatchPath string `yaml:"entitiesMatchPath,omitempty"` OutputPath string `yaml:"outputPath"` PrevResultPath string `yaml:"prevResultPath,omitempty"` ReplacementsPath string `yaml:"replacementsPath"` SkipSpecificTypes bool `yaml:"skipSpecificTypes,omitempty"` SpecificTypes []string `yaml:"specificTypes,omitempty"` SpecificActions []string `yaml:"specificActions,omitempty"` SelfMatch bool `yaml:"selfMatch"` Source EnvInfoDefinition `yaml:"sourceInfo"` Target EnvInfoDefinition `yaml:"targetInfo"` }
type MatchParameters ¶
type MatchParameters struct { Name string Type string WorkingDir string OutputDir string PrevResultDir string ReplacementsDir string EntitiesMatchDir string SkipSpecificTypes bool SpecificTypes []string SpecificActions []rune SelfMatch bool Source MatchParametersEnv Target MatchParametersEnv }
func LoadMatchingParameters ¶
func LoadMatchingParameters(fs afero.Fs, matchFileName string) (matchParameters MatchParameters, err error)
Click to show internal directories.
Click to hide internal directories.