Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Bases = struct { FileName Base Fqcn Base Package Base }{ "FILE_NAME", "FQCN", "PACKAGE", }
View Source
var Matchers = struct { BeginsWith Matcher Contains Matcher }{ "BEGINS_WITH", "CONTAINS", }
View Source
var Technologies = struct { Dotnet Technology Go Technology Java Technology Nodejs Technology Php Technology }{ "dotNet", "Go", "Java", "Nodejs", "PHP", }
Functions ¶
This section is empty.
Types ¶
type ApiRule ¶
type ApiRule struct { Base Base `json:"base"` // Possible Values: `FILE_NAME`, `FQCN`, `PACKAGE` Matcher Matcher `json:"matcher"` // Possible Values: `BEGINS_WITH`, `CONTAINS` Pattern string `json:"pattern"` }
func (*ApiRule) MarshalHCL ¶
func (me *ApiRule) MarshalHCL(properties hcl.Properties) error
type ApiRules ¶
type ApiRules []*ApiRule
func (ApiRules) MarshalHCL ¶
func (me ApiRules) MarshalHCL(properties hcl.Properties) error
type Settings ¶
type Settings struct { ApiColor string `json:"apiColor"` // This color will be used to highlight APIs when viewing code level data, such as distributed traces or method hotspots. ApiName string `json:"apiName"` // API name Conditions ApiRules `json:"conditions,omitempty"` // List of conditions Technology *Technology `json:"technology,omitempty"` // Restrict this rule to a specific technology. ThirdPartyApi bool `json:"thirdPartyApi"` // This API defines a third party library }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
type Technology ¶
type Technology string
Click to show internal directories.
Click to hide internal directories.