Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analysis ¶
type Analysis struct { Context context.Context Filters []string Client *kubernetes.Client AIClient ai.IAI Results []common.Result Namespace string NoCache bool Explain bool }
func NewAnalysis ¶ added in v0.2.2
func (*Analysis) GetAIResults ¶
func (*Analysis) RunAnalysis ¶
type AnalysisStatus ¶
type AnalysisStatus string
const ( StateOK AnalysisStatus = "OK" StateProblemDetected AnalysisStatus = "ProblemDetected" )
type JsonOutput ¶
type JsonOutput struct { Status AnalysisStatus `json:"status"` Problems int `json:"problems"` Results []common.Result `json:"results"` }
Click to show internal directories.
Click to hide internal directories.