object

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	IndexerGolang       = "GOLANG"
	IndexerJavaJUnit    = "JUNIT"
	IndexerPythonPytest = "PYTEST"
)
View Source
const (
	RunnerGolang = "GOLANG"
	RunnerMaven  = "MAVEN"
	RunnerPytest = "PYTEST"
)
View Source
const (
	TagPrefix = "US_"
	TagCase   = TagPrefix + "CASE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CaseTagCache

type CaseTagCache = map[string]map[string]interface{}

key: case signature value: influenced methods

type DiffFuncMap

type DiffFuncMap = map[string][]*FunctionWithState

type DiffMap

type DiffMap = map[string][]int

type FunctionWithState

type FunctionWithState struct {
	openapi.ObjectFunctionWithSignature

	Reachable bool
	ReachBy   []string
}

type IndexerType

type IndexerType = string

type RepoInfo

type RepoInfo struct {
	RepoId  string `json:"repoId"`
	RevHash string `json:"revHash"`
}

func GetRepoInfoFromDir

func GetRepoInfoFromDir(srcDir string) (*RepoInfo, error)

type RunnerType

type RunnerType = string

type SharedConfig

type SharedConfig struct {
	SrcDir          string      `json:"srcDir"`
	RepoInfo        *RepoInfo   `json:"repoInfo"`
	SibylUrl        string      `json:"sibylUrl"`
	BatchId         int         `json:"batchId"`
	Before          string      `json:"before"`
	After           string      `json:"after"`
	JsonOutput      string      `json:"jsonOutput"`
	GraphOutput     string      `json:"svgOutput"`
	Dry             bool        `json:"dry"`
	IndexerType     IndexerType `json:"indexerType"`
	RunnerType      RunnerType  `json:"runnerType"`
	DebugMode       bool        `json:"debugMode"`
	OverwriteConfig bool        `json:"overwriteConfig"`
}

func DefaultConfig

func DefaultConfig() SharedConfig

func (*SharedConfig) GetSibylPort

func (conf *SharedConfig) GetSibylPort() string

func (*SharedConfig) LocalSibyl

func (conf *SharedConfig) LocalSibyl() bool

func (*SharedConfig) NewSibylClient

func (conf *SharedConfig) NewSibylClient() (*openapi.APIClient, error)

Jump to

Keyboard shortcuts

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