Documentation
¶
Index ¶
- Variables
- func RunLinked(ctx context.Context, advisorType string, level string, failOn string, ...) error
- func RunLocal(ctx context.Context, advisorType string, level string, failOn string, ...) error
- func RunVolcengine(ctx context.Context, client *volcengine.Client, ...) error
- type Lint
- type LintLevel
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AllowedLevels = []string{ "info", "warn", "error", } AllowedTypes = []string{ "all", "security", "performance", } )
Functions ¶
func RunVolcengine ¶
Types ¶
type Lint ¶
type Lint struct {
Name string `json:"name"`
Title string `json:"title"`
Level string `json:"level"`
Facing string `json:"facing"`
Categories []string `json:"categories"`
Description string `json:"description"`
Detail string `json:"detail"`
Remediation string `json:"remediation"`
Metadata *json.RawMessage `json:"metadata,omitempty"`
CacheKey string `json:"cache_key"`
}
func GetVolcengineLints ¶
Click to show internal directories.
Click to hide internal directories.