configs

package
v0.0.0-...-e20b040 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const SettingsIdKey = "objectId"

Variables

This section is empty.

Functions

func MatchConfigs

func MatchConfigs(fs afero.Fs, matchParameters match.MatchParameters, configPerTypeSource project.ConfigsPerType, configPerTypeTarget project.ConfigsPerType) ([]string, int, int, error)

Types

type ByRawConfigId

type ByRawConfigId []interface{}

ByRawConfigId implements sort.Interface for []RawConfig] based on the ConfigId string field.

func (ByRawConfigId) Len

func (a ByRawConfigId) Len() int

func (ByRawConfigId) Less

func (a ByRawConfigId) Less(i, j int) bool

func (ByRawConfigId) Swap

func (a ByRawConfigId) Swap(i, j int)

type ConfigResultParam

type ConfigResultParam struct {
	// contains filtered or unexported fields
}

type ExtractionInfo

type ExtractionInfo struct {
	From string `json:"from"`
	To   string `json:"to"`
}

type MatchEntityMatch

type MatchEntityMatch []interface{}

type MatchKey

type MatchKey struct {
	Source ExtractionInfo `json:"source"`
	Target ExtractionInfo `json:"target"`
}

type MatchLegend

type MatchLegend struct {
	Status map[string]string `json:"status"`
}

type MatchOutputType

type MatchOutputType struct {
	Type         string              `json:"type"`
	MatchKey     MatchKey            `json:"matchKey"`
	Matches      map[string]string   `json:"matches"`
	MultiMatched map[string][]string `json:"multiMatched"`
	UnMatched    []string            `json:"unmatched"`
	Exceed       []string            `json:"exceed"`
}

type MatchPayload

type MatchPayload struct {
	Legend  MatchLegend    `json:"legend"`
	Modules []Module       `json:"modules"`
	Stats   map[string]int `json:"stats"`
}

type MatchStatus

type MatchStatus struct {
	Source MatchStatusEnv
	Target MatchStatusEnv
}

type MatchStatusEnv

type MatchStatusEnv struct {
	// contains filtered or unexported fields
}

type Module

type Module map[string]interface{}

type RawConfigsList

type RawConfigsList struct {
	Values *[]interface{}
}

func (*RawConfigsList) GetValues

func (r *RawConfigsList) GetValues() *[]entitiesValues.Value

func (*RawConfigsList) GetValuesConfig

func (r *RawConfigsList) GetValuesConfig() *[]interface{}

func (*RawConfigsList) Len

func (r *RawConfigsList) Len() int

func (*RawConfigsList) Sort

func (r *RawConfigsList) Sort()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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