SYMBOL INDEX (863 symbols across 172 files) FILE: cmd/analyze/analyze.go function init (line 149) | func init() { FILE: cmd/auth/add.go constant defaultBackend (line 30) | defaultBackend = "openai" constant defaultModel (line 31) | defaultModel = "gpt-4o" function init (line 159) | func init() { FILE: cmd/auth/auth.go function init (line 53) | func init() { FILE: cmd/auth/default.go function init (line 76) | func init() { FILE: cmd/auth/list.go function init (line 84) | func init() { function printDetails (line 88) | func printDetails(provider ai.AIProvider) { FILE: cmd/auth/remove.go function init (line 74) | func init() { FILE: cmd/auth/update.go function init (line 105) | func init() { FILE: cmd/cache/add.go function init (line 68) | func init() { FILE: cmd/cache/cache.go function init (line 34) | func init() { FILE: cmd/cache/get.go function init (line 42) | func init() { FILE: cmd/cache/list.go function init (line 64) | func init() { FILE: cmd/cache/purge.go function init (line 80) | func init() { FILE: cmd/cache/remove.go function init (line 41) | func init() { FILE: cmd/customAnalyzer/add.go function init (line 69) | func init() { FILE: cmd/customAnalyzer/customAnalyzer.go function init (line 36) | func init() { FILE: cmd/customAnalyzer/list.go function init (line 52) | func init() { function printDetails (line 56) | func printDetails(analyzer customAnalyzer.CustomAnalyzerConfiguration) { FILE: cmd/customAnalyzer/remove.go function init (line 87) | func init() { FILE: cmd/dump/dump.go type K8sGPTInfo (line 31) | type K8sGPTInfo struct type DumpOut (line 36) | type DumpOut struct function init (line 111) | func init() { FILE: cmd/filters/filters.go function init (line 34) | func init() { FILE: cmd/generate/generate.go function init (line 52) | func init() { function openbrowser (line 57) | func openbrowser(url string) { function printInstructions (line 81) | func printInstructions(isGui bool, backendType string) { FILE: cmd/integration/activate.go function init (line 54) | func init() { FILE: cmd/integration/deactivate.go function init (line 43) | func init() { FILE: cmd/integration/integration.go function init (line 39) | func init() { FILE: cmd/integration/list.go function init (line 60) | func init() { FILE: cmd/root.go function Execute (line 58) | func Execute(v string, c string, d string) { function init (line 71) | func init() { function initConfig (line 92) | func initConfig() { function performConfigMigrationIfNeeded (line 121) | func performConfigMigrationIfNeeded() { function getConfigFilePath (line 141) | func getConfigFilePath() string { function getLegacyConfigFilePath (line 145) | func getLegacyConfigFilePath() (string, error) { FILE: cmd/root_test.go function TestInitConfig_VerboseFlag (line 23) | func TestInitConfig_VerboseFlag(t *testing.T) { FILE: cmd/serve/serve.go constant defaultTemperature (line 30) | defaultTemperature float32 = 0.7 constant defaultTopP (line 31) | defaultTopP float32 = 1.0 constant defaultTopK (line 32) | defaultTopK int32 = 50 constant defaultMaxTokens (line 33) | defaultMaxTokens int = 2048 function init (line 239) | func init() { FILE: cmd/version.go function init (line 47) | func init() { FILE: main.go function main (line 24) | func main() { FILE: pkg/ai/amazonbedrock.go constant amazonbedrockAIClientName (line 21) | amazonbedrockAIClientName = "amazonbedrock" type AmazonBedRockClient (line 24) | type AmazonBedRockClient struct method getModelFromString (line 371) | func (a *AmazonBedRockClient) getModelFromString(model string) (*bedro... method Configure (line 412) | func (a *AmazonBedRockClient) Configure(config IAIConfig) error { method getInferenceProfile (line 499) | func (a *AmazonBedRockClient) getInferenceProfile(ctx context.Context,... method extractModelFromInferenceProfile (line 525) | func (a *AmazonBedRockClient) extractModelFromInferenceProfile(profile... method GetCompletion (line 553) | func (a *AmazonBedRockClient) GetCompletion(ctx context.Context, promp... method GetName (line 624) | func (a *AmazonBedRockClient) GetName() string { constant BEDROCK_DEFAULT_REGION (line 38) | BEDROCK_DEFAULT_REGION = "us-east-1" constant US_East_1 (line 41) | US_East_1 = "us-east-1" constant US_West_2 (line 42) | US_West_2 = "us-west-2" constant AP_Southeast_1 (line 43) | AP_Southeast_1 = "ap-southeast-1" constant AP_Northeast_1 (line 44) | AP_Northeast_1 = "ap-northeast-1" constant EU_Central_1 (line 45) | EU_Central_1 = "eu-central-1" constant AP_South_1 (line 46) | AP_South_1 = "ap-south-1" constant US_Gov_West_1 (line 47) | US_Gov_West_1 = "us-gov-west-1" constant US_Gov_East_1 (line 48) | US_Gov_East_1 = "us-gov-east-1" function NewAmazonBedRockClient (line 334) | func NewAmazonBedRockClient(models []bedrock_support.BedrockModel) *Amaz... function GetRegionOrDefault (line 344) | func GetRegionOrDefault(region string) string { function validateModelArn (line 359) | func validateModelArn(model string) bool { function validateInferenceProfileArn (line 364) | func validateInferenceProfileArn(inferenceProfile string) bool { FILE: pkg/ai/amazonbedrock_mock_test.go type MockBedrockClient (line 17) | type MockBedrockClient struct method GetInferenceProfile (line 21) | func (m *MockBedrockClient) GetInferenceProfile(ctx context.Context, p... type MockBedrockRuntimeClient (line 32) | type MockBedrockRuntimeClient struct method InvokeModel (line 36) | func (m *MockBedrockRuntimeClient) InvokeModel(ctx context.Context, pa... function TestBedrockInferenceProfileARNWithMocks (line 47) | func TestBedrockInferenceProfileARNWithMocks(t *testing.T) { FILE: pkg/ai/amazonbedrock_test.go function TestBedrockModelConfig (line 47) | func TestBedrockModelConfig(t *testing.T) { function TestBedrockInvalidModel (line 55) | func TestBedrockInvalidModel(t *testing.T) { function TestBedrockInferenceProfileARN (line 63) | func TestBedrockInferenceProfileARN(t *testing.T) { function TestBedrockGetCompletionInferenceProfile (line 102) | func TestBedrockGetCompletionInferenceProfile(t *testing.T) { function TestGetModelFromString (line 127) | func TestGetModelFromString(t *testing.T) { function TestDefaultModels (line 195) | func TestDefaultModels(t *testing.T) { function TestValidateInferenceProfileArn (line 213) | func TestValidateInferenceProfileArn(t *testing.T) { FILE: pkg/ai/amazonsagemaker.go constant amazonsagemakerAIClientName (line 26) | amazonsagemakerAIClientName = "amazonsagemaker" type SageMakerAIClient (line 28) | type SageMakerAIClient struct method Configure (line 64) | func (c *SageMakerAIClient) Configure(config IAIConfig) error { method GetCompletion (line 83) | func (c *SageMakerAIClient) GetCompletion(_ context.Context, prompt st... method GetName (line 139) | func (c *SageMakerAIClient) GetName() string { type Generations (line 40) | type Generations type Request (line 47) | type Request struct type Message (line 52) | type Message struct type Parameters (line 57) | type Parameters struct FILE: pkg/ai/azureopenai.go constant azureAIClientName (line 12) | azureAIClientName = "azureopenai" type AzureAIClient (line 14) | type AzureAIClient struct method Configure (line 23) | func (c *AzureAIClient) Configure(config IAIConfig) error { method GetCompletion (line 67) | func (c *AzureAIClient) GetCompletion(ctx context.Context, prompt stri... method GetName (line 85) | func (c *AzureAIClient) GetName() string { FILE: pkg/ai/bedrock_interfaces.go type BedrockManagementAPI (line 11) | type BedrockManagementAPI interface type BedrockRuntimeAPI (line 16) | type BedrockRuntimeAPI interface FILE: pkg/ai/bedrock_support/completions.go type ICompletion (line 10) | type ICompletion interface type CohereCompletion (line 14) | type CohereCompletion struct method GetCompletion (line 18) | func (a *CohereCompletion) GetCompletion(ctx context.Context, prompt s... type CohereMessagesCompletion (line 32) | type CohereMessagesCompletion struct method GetCompletion (line 36) | func (a *CohereMessagesCompletion) GetCompletion(ctx context.Context, ... type AI21 (line 57) | type AI21 struct method GetCompletion (line 61) | func (a *AI21) GetCompletion(ctx context.Context, prompt string, model... type AmazonCompletion (line 75) | type AmazonCompletion struct method GetCompletion (line 90) | func (a *AmazonCompletion) GetCompletion(ctx context.Context, prompt s... method GetDefaultCompletion (line 101) | func (a *AmazonCompletion) GetDefaultCompletion(ctx context.Context, p... method GetNovaCompletion (line 117) | func (a *AmazonCompletion) GetNovaCompletion(ctx context.Context, prom... function IsModelSupported (line 80) | func IsModelSupported(modelName string, supportedModels []string) bool { FILE: pkg/ai/bedrock_support/completions_test.go function TestCohereCompletion_GetCompletion (line 11) | func TestCohereCompletion_GetCompletion(t *testing.T) { function TestAI21_GetCompletion (line 33) | func TestAI21_GetCompletion(t *testing.T) { function TestAmazonCompletion_GetDefaultCompletion (line 55) | func TestAmazonCompletion_GetDefaultCompletion(t *testing.T) { function TestAmazonCompletion_GetNovaCompletion (line 79) | func TestAmazonCompletion_GetNovaCompletion(t *testing.T) { function TestAmazonCompletion_GetCompletion_Nova (line 108) | func TestAmazonCompletion_GetCompletion_Nova(t *testing.T) { function TestAmazonCompletion_GetCompletion_Default (line 137) | func TestAmazonCompletion_GetCompletion_Default(t *testing.T) { function TestAmazonCompletion_GetCompletion_Inference_Profile (line 161) | func TestAmazonCompletion_GetCompletion_Inference_Profile(t *testing.T) { function TestIsModelSupported (line 175) | func TestIsModelSupported(t *testing.T) { FILE: pkg/ai/bedrock_support/model.go type BedrockModelConfig (line 3) | type BedrockModelConfig struct type BedrockModel (line 9) | type BedrockModel struct FILE: pkg/ai/bedrock_support/model_test.go function TestBedrockModelConfig (line 10) | func TestBedrockModelConfig(t *testing.T) { function TestBedrockModel (line 24) | func TestBedrockModel(t *testing.T) { type MockCompletion (line 48) | type MockCompletion struct method GetCompletion (line 50) | func (m *MockCompletion) GetCompletion(ctx context.Context, prompt str... type MockResponse (line 55) | type MockResponse struct method ParseResponse (line 57) | func (m *MockResponse) ParseResponse(body []byte) (string, error) { FILE: pkg/ai/bedrock_support/responses.go type IResponse (line 7) | type IResponse interface type CohereMessagesResponse (line 11) | type CohereMessagesResponse struct method ParseResponse (line 15) | func (a *CohereMessagesResponse) ParseResponse(rawResponse []byte) (st... type CohereResponse (line 50) | type CohereResponse struct method ParseResponse (line 54) | func (a *CohereResponse) ParseResponse(rawResponse []byte) (string, er... type AI21Response (line 67) | type AI21Response struct method ParseResponse (line 71) | func (a *AI21Response) ParseResponse(rawResponse []byte) (string, erro... type AmazonResponse (line 89) | type AmazonResponse struct method ParseResponse (line 100) | func (a *AmazonResponse) ParseResponse(rawResponse []byte) (string, er... type NovaResponse (line 93) | type NovaResponse struct method ParseResponse (line 118) | func (a *NovaResponse) ParseResponse(rawResponse []byte) (string, erro... type NResponse (line 96) | type NResponse interface FILE: pkg/ai/bedrock_support/responses_test.go function TestCohereResponse_ParseResponse (line 9) | func TestCohereResponse_ParseResponse(t *testing.T) { function TestAI21Response_ParseResponse (line 22) | func TestAI21Response_ParseResponse(t *testing.T) { function TestAmazonResponse_ParseResponse (line 35) | func TestAmazonResponse_ParseResponse(t *testing.T) { function TestNovaResponse_ParseResponse (line 48) | func TestNovaResponse_ParseResponse(t *testing.T) { FILE: pkg/ai/cohere.go constant cohereAIClientName (line 25) | cohereAIClientName = "cohere" type CohereClient (line 27) | type CohereClient struct method Configure (line 36) | func (c *CohereClient) Configure(config IAIConfig) error { method GetCompletion (line 61) | func (c *CohereClient) GetCompletion(ctx context.Context, prompt strin... method GetName (line 78) | func (c *CohereClient) GetName() string { FILE: pkg/ai/customrest.go constant CustomRestClientName (line 15) | CustomRestClientName = "customrest" type CustomRestClient (line 17) | type CustomRestClient struct method Configure (line 50) | func (c *CustomRestClient) Configure(config IAIConfig) error { method GetCompletion (line 88) | func (c *CustomRestClient) GetCompletion(ctx context.Context, prompt s... method GetName (line 145) | func (c *CustomRestClient) GetName() string { type CustomRestRequest (line 28) | type CustomRestRequest struct type CustomRestResponse (line 39) | type CustomRestResponse struct FILE: pkg/ai/factory.go type AIClientFactory (line 21) | type AIClientFactory interface type DefaultAIClientFactory (line 26) | type DefaultAIClientFactory struct method NewClient (line 29) | func (f *DefaultAIClientFactory) NewClient(provider string) IAI { type ConfigProvider (line 34) | type ConfigProvider interface type ViperConfigProvider (line 39) | type ViperConfigProvider struct method UnmarshalKey (line 42) | func (p *ViperConfigProvider) UnmarshalKey(key string, rawVal interfac... function GetAIClientFactory (line 59) | func GetAIClientFactory() AIClientFactory { function GetConfigProvider (line 67) | func GetConfigProvider() ConfigProvider { function SetTestAIClientFactory (line 75) | func SetTestAIClientFactory(factory AIClientFactory) { function SetTestConfigProvider (line 79) | func SetTestConfigProvider(provider ConfigProvider) { function ResetTestImplementations (line 84) | func ResetTestImplementations() { FILE: pkg/ai/googlegenai.go constant googleAIClientName (line 26) | googleAIClientName = "google" type GoogleGenAIClient (line 28) | type GoogleGenAIClient struct method Configure (line 38) | func (c *GoogleGenAIClient) Configure(config IAIConfig) error { method GetCompletion (line 62) | func (c *GoogleGenAIClient) GetCompletion(ctx context.Context, prompt ... method GetName (line 114) | func (c *GoogleGenAIClient) GetName() string { method Close (line 118) | func (c *GoogleGenAIClient) Close() { FILE: pkg/ai/googlevertexai.go constant googleVertexAIClientName (line 25) | googleVertexAIClientName = "googlevertexai" type GoogleVertexAIClient (line 27) | type GoogleVertexAIClient struct method Configure (line 111) | func (g *GoogleVertexAIClient) Configure(config IAIConfig) error { method GetCompletion (line 133) | func (g *GoogleVertexAIClient) GetCompletion(ctx context.Context, prom... method GetName (line 185) | func (g *GoogleVertexAIClient) GetName() string { method Close (line 189) | func (g *GoogleVertexAIClient) Close() { constant VERTEXAI_DEFAULT_REGION (line 39) | VERTEXAI_DEFAULT_REGION = "us-central1" constant US_Central_1 (line 42) | US_Central_1 = "us-central1" constant US_West_4 (line 43) | US_West_4 = "us-west4" constant North_America_Northeast1 (line 44) | North_America_Northeast1 = "northamerica-northeast1" constant US_East_4 (line 45) | US_East_4 = "us-east4" constant US_West_1 (line 46) | US_West_1 = "us-west1" constant Asia_Northeast_3 (line 47) | Asia_Northeast_3 = "asia-northeast3" constant Asia_Southeast_1 (line 48) | Asia_Southeast_1 = "asia-southeast1" constant Asia_Northeast_1 (line 49) | Asia_Northeast_1 = "asia-northeast1" constant ModelGeminiProV1 (line 64) | ModelGeminiProV1 = "gemini-1.0-pro-001" constant ModelGeminiProV2_5 (line 65) | ModelGeminiProV2_5 = "gemini-2.5-pro" constant ModelGeminiFlashV2_5 (line 66) | ModelGeminiFlashV2_5 = "gemini-2.5-flash" constant ModelGeminiFlashV2 (line 67) | ModelGeminiFlashV2 = "gemini-2.0-flash" constant ModelGeminiFlashLiteV2 (line 68) | ModelGeminiFlashLiteV2 = "gemini-2.0-flash-lite" constant ModelGeminiProV1_5 (line 69) | ModelGeminiProV1_5 = "gemini-1.5-pro-002*" constant ModelGeminiFlashV1_5 (line 70) | ModelGeminiFlashV1_5 = "gemini-1.5-flash-002*" function GetVertexAIModelOrDefault (line 84) | func GetVertexAIModelOrDefault(model string) string { function GetVertexAIRegionOrDefault (line 98) | func GetVertexAIRegionOrDefault(region string) string { FILE: pkg/ai/groq.go constant groqAIClientName (line 25) | groqAIClientName = "groq" constant groqAPIBaseURL (line 28) | groqAPIBaseURL = "https://api.groq.com/openai/v1" type GroqClient (line 30) | type GroqClient struct method Configure (line 39) | func (c *GroqClient) Configure(config IAIConfig) error { method GetCompletion (line 79) | func (c *GroqClient) GetCompletion(ctx context.Context, prompt string)... method GetName (line 100) | func (c *GroqClient) GetName() string { FILE: pkg/ai/huggingface.go constant huggingfaceAIClientName (line 10) | huggingfaceAIClientName = "huggingface" type HuggingfaceClient (line 12) | type HuggingfaceClient struct method Configure (line 23) | func (c *HuggingfaceClient) Configure(config IAIConfig) error { method GetCompletion (line 41) | func (c *HuggingfaceClient) GetCompletion(ctx context.Context, prompt ... method GetName (line 63) | func (c *HuggingfaceClient) GetName() string { return huggingfaceAICli... FILE: pkg/ai/iai.go type IAI (line 59) | type IAI interface type nopCloser (line 72) | type nopCloser struct method Close (line 74) | func (nopCloser) Close() {} type IAIConfig (line 76) | type IAIConfig interface function NewClient (line 94) | func NewClient(provider string) IAI { type AIConfiguration (line 104) | type AIConfiguration struct type AIProvider (line 109) | type AIProvider struct method GetBaseURL (line 129) | func (p *AIProvider) GetBaseURL() string { method GetProxyEndpoint (line 133) | func (p *AIProvider) GetProxyEndpoint() string { method GetEndpointName (line 137) | func (p *AIProvider) GetEndpointName() string { method GetTopP (line 141) | func (p *AIProvider) GetTopP() float32 { method GetTopK (line 145) | func (p *AIProvider) GetTopK() int32 { method GetMaxTokens (line 149) | func (p *AIProvider) GetMaxTokens() int { method GetPassword (line 153) | func (p *AIProvider) GetPassword() string { method GetModel (line 157) | func (p *AIProvider) GetModel() string { method GetEngine (line 161) | func (p *AIProvider) GetEngine() string { method GetTemperature (line 164) | func (p *AIProvider) GetTemperature() float32 { method GetProviderRegion (line 168) | func (p *AIProvider) GetProviderRegion() string { method GetProviderId (line 172) | func (p *AIProvider) GetProviderId() string { method GetCompartmentId (line 176) | func (p *AIProvider) GetCompartmentId() string { method GetOrganizationId (line 180) | func (p *AIProvider) GetOrganizationId() string { method GetCustomHeaders (line 184) | func (p *AIProvider) GetCustomHeaders() []http.Header { function NeedPassword (line 190) | func NeedPassword(backend string) bool { FILE: pkg/ai/interactive/interactive.go type INTERACTIVE_STATE (line 12) | type INTERACTIVE_STATE constant prompt (line 15) | prompt = "Given the following context: " constant E_RUNNING (line 19) | E_RUNNING INTERACTIVE_STATE = iota constant E_EXITED (line 20) | E_EXITED = iota type InteractionRunner (line 23) | type InteractionRunner struct method StartInteraction (line 37) | func (a *InteractionRunner) StartInteraction() { function NewInteractionRunner (line 29) | func NewInteractionRunner(config *analysis.Analysis, contextWindow []byt... FILE: pkg/ai/localai.go constant localAIClientName (line 3) | localAIClientName = "localai" type LocalAIClient (line 5) | type LocalAIClient struct method GetName (line 9) | func (a *LocalAIClient) GetName() string { FILE: pkg/ai/noopai.go constant noopAIClientName (line 20) | noopAIClientName = "noopai" type NoOpAIClient (line 22) | type NoOpAIClient struct method Configure (line 26) | func (c *NoOpAIClient) Configure(_ IAIConfig) error { method GetCompletion (line 30) | func (c *NoOpAIClient) GetCompletion(_ context.Context, prompt string)... method GetName (line 35) | func (c *NoOpAIClient) GetName() string { FILE: pkg/ai/ocigenai.go constant ociClientName (line 26) | ociClientName = "oci" type ociModelVendor (line 28) | type ociModelVendor constant vendorCohere (line 31) | vendorCohere = "cohere" constant vendorMeta (line 32) | vendorMeta = "meta" type OCIGenAIClient (line 35) | type OCIGenAIClient struct method GetName (line 48) | func (c *OCIGenAIClient) GetName() string { method Configure (line 52) | func (c *OCIGenAIClient) Configure(config IAIConfig) error { method GetCompletion (line 74) | func (c *OCIGenAIClient) GetCompletion(ctx context.Context, prompt str... method newChatRequest (line 86) | func (c *OCIGenAIClient) newChatRequest(prompt string) generativeaiinf... method getChatModelRequest (line 96) | func (c *OCIGenAIClient) getChatModelRequest(prompt string) generative... method getServingMode (line 151) | func (c *OCIGenAIClient) getServingMode() generativeaiinference.Servin... method getModel (line 162) | func (c *OCIGenAIClient) getModel(provider common.ConfigurationProvide... method isBaseModel (line 176) | func (c *OCIGenAIClient) isBaseModel() bool { method getVendor (line 180) | func (c *OCIGenAIClient) getVendor() ociModelVendor { function extractGeneratedText (line 135) | func extractGeneratedText(llmInferenceResponse generativeaiinference.Bas... FILE: pkg/ai/ollama.go constant ollamaClientName (line 25) | ollamaClientName = "ollama" type OllamaClient (line 27) | type OllamaClient struct method Configure (line 41) | func (c *OllamaClient) Configure(config IAIConfig) error { method GetCompletion (line 79) | func (c *OllamaClient) GetCompletion(ctx context.Context, prompt strin... method GetName (line 100) | func (a *OllamaClient) GetName() string { constant defaultBaseURL (line 37) | defaultBaseURL = "http://localhost:11434" constant defaultModel (line 38) | defaultModel = "llama3" FILE: pkg/ai/openai.go constant openAIClientName (line 25) | openAIClientName = "openai" type OpenAIClient (line 27) | type OpenAIClient struct method Configure (line 44) | func (c *OpenAIClient) Configure(config IAIConfig) error { method GetCompletion (line 87) | func (c *OpenAIClient) GetCompletion(ctx context.Context, prompt strin... method GetName (line 109) | func (c *OpenAIClient) GetName() string { constant maxToken (line 39) | maxToken = 2048 constant presencePenalty (line 40) | presencePenalty = 0.0 constant frequencyPenalty (line 41) | frequencyPenalty = 0.0 type OpenAIHeaderTransport (line 114) | type OpenAIHeaderTransport struct method RoundTrip (line 120) | func (t *OpenAIHeaderTransport) RoundTrip(req *http.Request) (*http.Re... FILE: pkg/ai/openai_header_transport_test.go type mockConfig (line 13) | type mockConfig struct method GetPassword (line 17) | func (m *mockConfig) GetPassword() string { method GetOrganizationId (line 21) | func (m *mockConfig) GetOrganizationId() string { method GetProxyEndpoint (line 25) | func (m *mockConfig) GetProxyEndpoint() string { method GetBaseURL (line 29) | func (m *mockConfig) GetBaseURL() string { method GetCustomHeaders (line 33) | func (m *mockConfig) GetCustomHeaders() []http.Header { method GetModel (line 41) | func (m *mockConfig) GetModel() string { method GetTemperature (line 45) | func (m *mockConfig) GetTemperature() float32 { method GetTopP (line 49) | func (m *mockConfig) GetTopP() float32 { method GetCompartmentId (line 52) | func (m *mockConfig) GetCompartmentId() string { method GetTopK (line 56) | func (m *mockConfig) GetTopK() int32 { method GetMaxTokens (line 60) | func (m *mockConfig) GetMaxTokens() int { method GetEndpointName (line 64) | func (m *mockConfig) GetEndpointName() string { method GetEngine (line 67) | func (m *mockConfig) GetEngine() string { method GetProviderId (line 71) | func (m *mockConfig) GetProviderId() string { method GetProviderRegion (line 75) | func (m *mockConfig) GetProviderRegion() string { function TestOpenAIClient_CustomHeaders (line 79) | func TestOpenAIClient_CustomHeaders(t *testing.T) { FILE: pkg/ai/prompts.go constant default_prompt (line 4) | default_prompt = `Simplify the following Kubernetes error message delimi... constant prom_conf_prompt (line 10) | prom_conf_prompt = `Simplify the following Prometheus error message deli... constant prom_relabel_prompt (line 18) | prom_relabel_prompt = ` constant kyverno_prompt (line 50) | kyverno_prompt = `Simplify the following Kyverno warnings message delimi... constant raw_promt (line 59) | raw_promt = `{"language": "%s","message": "%s","prompt": "%s"}` FILE: pkg/ai/watsonxai.go constant ibmWatsonxAIClientName (line 11) | ibmWatsonxAIClientName = "ibmwatsonxai" type IBMWatsonxAIClient (line 13) | type IBMWatsonxAIClient struct method Configure (line 29) | func (c *IBMWatsonxAIClient) Configure(config IAIConfig) error { method GetCompletion (line 66) | func (c *IBMWatsonxAIClient) GetCompletion(ctx context.Context, prompt... method GetName (line 84) | func (c *IBMWatsonxAIClient) GetName() string { constant modelMetallama (line 25) | modelMetallama = "ibm/granite-13b-chat-v2" constant maxTokens (line 26) | maxTokens = 2048 FILE: pkg/analysis/analysis.go type Analysis (line 41) | type Analysis struct method CustomAnalyzersAreAvailable (line 222) | func (a *Analysis) CustomAnalyzersAreAvailable() bool { method RunCustomAnalysis (line 230) | func (a *Analysis) RunCustomAnalysis() { method RunAnalysis (line 305) | func (a *Analysis) RunAnalysis() { method executeAnalyzer (line 395) | func (a *Analysis) executeAnalyzer(analyzer common.IAnalyzer, filter s... method GetAIResults (line 447) | func (a *Analysis) GetAIResults(output string, anonymize bool) error { method getAIResultForSanitizedFailures (line 516) | func (a *Analysis) getAIResultForSanitizedFailures(texts []string, pro... method Close (line 568) | func (a *Analysis) Close() { type AnalysisStatus (line 61) | type AnalysisStatus type AnalysisErrors (line 62) | type AnalysisErrors constant StateOK (line 66) | StateOK AnalysisStatus = "OK" constant StateProblemDetected (line 67) | StateProblemDetected AnalysisStatus = "ProblemDetected" type JsonOutput (line 70) | type JsonOutput struct function NewAnalysis (line 78) | func NewAnalysis( FILE: pkg/analysis/analysis_test.go function getTypeName (line 42) | func getTypeName(i interface{}) string { function analysis_RunAnalysisFilterTester (line 47) | func analysis_RunAnalysisFilterTester(t *testing.T, filterFlag string) [... function TestAnalysis_RunAnalysisWithFilter (line 113) | func TestAnalysis_RunAnalysisWithFilter(t *testing.T) { function TestAnalysis_RunAnalysisActiveFilter (line 134) | func TestAnalysis_RunAnalysisActiveFilter(t *testing.T) { function TestAnalysis_NoProblemJsonOutput (line 156) | func TestAnalysis_NoProblemJsonOutput(t *testing.T) { function TestAnalysis_ProblemJsonOutput (line 187) | func TestAnalysis_ProblemJsonOutput(t *testing.T) { function TestAnalysis_MultipleProblemJsonOutput (line 240) | func TestAnalysis_MultipleProblemJsonOutput(t *testing.T) { function TestNewAnalysis (line 301) | func TestNewAnalysis(t *testing.T) { function TestGetAIResultForSanitizedFailures (line 367) | func TestGetAIResultForSanitizedFailures(t *testing.T) { function TestVerbose_NewAnalysisWithoutExplain (line 419) | func TestVerbose_NewAnalysisWithoutExplain(t *testing.T) { function TestVerbose_NewAnalysisWithExplain (line 459) | func TestVerbose_NewAnalysisWithExplain(t *testing.T) { function TestVerbose_RunAnalysisWithFilter (line 517) | func TestVerbose_RunAnalysisWithFilter(t *testing.T) { function TestVerbose_RunAnalysisWithActiveFilter (line 538) | func TestVerbose_RunAnalysisWithActiveFilter(t *testing.T) { function TestVerbose_RunAnalysisWithoutFilter (line 559) | func TestVerbose_RunAnalysisWithoutFilter(t *testing.T) { function TestVerbose_RunCustomAnalysisWithoutCustomAnalyzer (line 589) | func TestVerbose_RunCustomAnalysisWithoutCustomAnalyzer(t *testing.T) { function TestVerbose_RunCustomAnalysisWithCustomAnalyzer (line 606) | func TestVerbose_RunCustomAnalysisWithCustomAnalyzer(t *testing.T) { function TestVerbose_GetAIResults (line 638) | func TestVerbose_GetAIResults(t *testing.T) { FILE: pkg/analysis/output.go function getOutputFormats (line 16) | func getOutputFormats() []string { method PrintOutput (line 24) | func (a *Analysis) PrintOutput(format string) ([]byte, error) { method jsonOutput (line 32) | func (a *Analysis) jsonOutput() ([]byte, error) { method PrintStats (line 58) | func (a *Analysis) PrintStats() []byte { method textOutput (line 70) | func (a *Analysis) textOutput() ([]byte, error) { FILE: pkg/analysis/output_test.go function TestPrintOutput (line 22) | func TestPrintOutput(t *testing.T) { FILE: pkg/analyzer/analyzer.go function ListFilters (line 69) | func ListFilters() ([]string, []string, []string) { function GetAnalyzerMap (line 98) | func GetAnalyzerMap() (map[string]common.IAnalyzer, map[string]common.IA... FILE: pkg/analyzer/catalogsource.go type CatalogSourceAnalyzer (line 13) | type CatalogSourceAnalyzer struct method Analyze (line 21) | func (CatalogSourceAnalyzer) Analyze(a common.Analyzer) ([]common.Resu... FILE: pkg/analyzer/catalogsource_test.go function TestCatalogSourceAnalyzer_UnhealthyState_ReturnsResult (line 16) | func TestCatalogSourceAnalyzer_UnhealthyState_ReturnsResult(t *testing.T) { function TestCatalogSourceAnalyzer_HealthyOrNoState_Ignored (line 60) | func TestCatalogSourceAnalyzer_HealthyOrNoState_Ignored(t *testing.T) { FILE: pkg/analyzer/clustercatalog.go type ClusterCatalogAnalyzer (line 28) | type ClusterCatalogAnalyzer struct method Analyze (line 30) | func (ClusterCatalogAnalyzer) Analyze(a common.Analyzer) ([]common.Res... function ConvertToClusterCatalog (line 95) | func ConvertToClusterCatalog(u *unstructured.Unstructured) (*common.Clus... function addCatalogConditionFailure (line 104) | func addCatalogConditionFailure(failures []common.Failure, catalogName s... function addCatalogFailure (line 117) | func addCatalogFailure(failures []common.Failure, catalogName string, er... function ValidateClusterCatalog (line 130) | func ValidateClusterCatalog(failures []common.Failure, catalog *common.C... function isValidImageRef (line 158) | func isValidImageRef(ref string) bool { FILE: pkg/analyzer/clustercatalog_test.go function TestClusterCatalogAnalyzer (line 31) | func TestClusterCatalogAnalyzer(t *testing.T) { FILE: pkg/analyzer/clusterextension.go type ClusterExtensionAnalyzer (line 27) | type ClusterExtensionAnalyzer struct method Analyze (line 29) | func (ClusterExtensionAnalyzer) Analyze(a common.Analyzer) ([]common.R... function ConvertToClusterExtension (line 94) | func ConvertToClusterExtension(u *unstructured.Unstructured) (*common.Cl... function addExtensionConditionFailure (line 103) | func addExtensionConditionFailure(failures []common.Failure, extensionNa... function addExtensionFailure (line 116) | func addExtensionFailure(failures []common.Failure, extensionName string... function ValidateClusterExtension (line 129) | func ValidateClusterExtension(failures []common.Failure, extension *comm... FILE: pkg/analyzer/clusterextension_test.go function TestClusterExtensionAnalyzer (line 31) | func TestClusterExtensionAnalyzer(t *testing.T) { FILE: pkg/analyzer/clusterserviceversion.go type ClusterServiceVersionAnalyzer (line 12) | type ClusterServiceVersionAnalyzer struct method Analyze (line 18) | func (ClusterServiceVersionAnalyzer) Analyze(a common.Analyzer) ([]com... function pickWorstCondition (line 62) | func pickWorstCondition(conds []interface{}) string { FILE: pkg/analyzer/clusterserviceversion_test.go function TestClusterServiceVersionAnalyzer (line 16) | func TestClusterServiceVersionAnalyzer(t *testing.T) { FILE: pkg/analyzer/configmap.go type ConfigMapAnalyzer (line 23) | type ConfigMapAnalyzer struct method Analyze (line 25) | func (ConfigMapAnalyzer) Analyze(a common.Analyzer) ([]common.Result, ... FILE: pkg/analyzer/configmap_test.go function TestConfigMapAnalyzer (line 28) | func TestConfigMapAnalyzer(t *testing.T) { FILE: pkg/analyzer/cronjob.go type CronJobAnalyzer (line 28) | type CronJobAnalyzer struct method Analyze (line 30) | func (analyzer CronJobAnalyzer) Analyze(a common.Analyzer) ([]common.R... function CheckCronScheduleIsValid (line 141) | func CheckCronScheduleIsValid(schedule string) (bool, error) { FILE: pkg/analyzer/cronjob_test.go function TestCronJobAnalyzer (line 29) | func TestCronJobAnalyzer(t *testing.T) { function TestCronJobAnalyzerLabelSelector (line 205) | func TestCronJobAnalyzerLabelSelector(t *testing.T) { function TestCheckCronScheduleIsValid (line 247) | func TestCheckCronScheduleIsValid(t *testing.T) { FILE: pkg/analyzer/deployment.go type DeploymentAnalyzer (line 29) | type DeploymentAnalyzer struct method Analyze (line 33) | func (d DeploymentAnalyzer) Analyze(a common.Analyzer) ([]common.Resul... FILE: pkg/analyzer/deployment_test.go function TestDeploymentAnalyzer (line 29) | func TestDeploymentAnalyzer(t *testing.T) { function TestDeploymentAnalyzerNamespaceFiltering (line 77) | func TestDeploymentAnalyzerNamespaceFiltering(t *testing.T) { function TestDeploymentAnalyzerLabelSelectorFiltering (line 155) | func TestDeploymentAnalyzerLabelSelectorFiltering(t *testing.T) { FILE: pkg/analyzer/events_test.go function FetchLatestEvent (line 15) | func FetchLatestEvent(ctx context.Context, client kubernetes.Interface, ... function TestFetchLatestEvent (line 38) | func TestFetchLatestEvent(t *testing.T) { FILE: pkg/analyzer/gateway.go type GatewayAnalyzer (line 27) | type GatewayAnalyzer struct method Analyze (line 30) | func (GatewayAnalyzer) Analyze(a common.Analyzer) ([]common.Result, er... FILE: pkg/analyzer/gateway_test.go function BuildGatewayClass (line 18) | func BuildGatewayClass(name string) gtwapi.GatewayClass { function BuildGateway (line 28) | func BuildGateway(className gtwapi.ObjectName, status metav1.ConditionSt... function TestGatewayAnalyzer (line 54) | func TestGatewayAnalyzer(t *testing.T) { function TestMissingClassGatewayAnalyzer (line 94) | func TestMissingClassGatewayAnalyzer(t *testing.T) { function TestStatusGatewayAnalyzer (line 131) | func TestStatusGatewayAnalyzer(t *testing.T) { function TestGatewayAnalyzerLabelSelectorFiltering (line 185) | func TestGatewayAnalyzerLabelSelectorFiltering(t *testing.T) { FILE: pkg/analyzer/gatewayclass.go type GatewayClassAnalyzer (line 26) | type GatewayClassAnalyzer struct method Analyze (line 29) | func (GatewayClassAnalyzer) Analyze(a common.Analyzer) ([]common.Resul... FILE: pkg/analyzer/gatewayclass_test.go function TestGatewayClassAnalyzer (line 18) | func TestGatewayClassAnalyzer(t *testing.T) { function TestGatewayClassAnalyzerLabelSelectorFiltering (line 59) | func TestGatewayClassAnalyzerLabelSelectorFiltering(t *testing.T) { FILE: pkg/analyzer/hpa.go type HpaAnalyzer (line 29) | type HpaAnalyzer struct method Analyze (line 31) | func (HpaAnalyzer) Analyze(a common.Analyzer) ([]common.Result, error) { type PodInfo (line 176) | type PodInfo interface type DeploymentInfo (line 180) | type DeploymentInfo struct method GetPodSpec (line 184) | func (d DeploymentInfo) GetPodSpec() corev1.PodSpec { type ReplicationControllerInfo (line 189) | type ReplicationControllerInfo struct method GetPodSpec (line 193) | func (rc ReplicationControllerInfo) GetPodSpec() corev1.PodSpec { type ReplicaSetInfo (line 198) | type ReplicaSetInfo struct method GetPodSpec (line 202) | func (rs ReplicaSetInfo) GetPodSpec() corev1.PodSpec { type StatefulSetInfo (line 207) | type StatefulSetInfo struct method GetPodSpec (line 212) | func (ss StatefulSetInfo) GetPodSpec() corev1.PodSpec { FILE: pkg/analyzer/hpa_test.go function TestHPAAnalyzer (line 32) | func TestHPAAnalyzer(t *testing.T) { function TestHPAAnalyzerWithMultipleHPA (line 56) | func TestHPAAnalyzerWithMultipleHPA(t *testing.T) { function TestHPAAnalyzerWithUnsuportedScaleTargetRef (line 88) | func TestHPAAnalyzerWithUnsuportedScaleTargetRef(t *testing.T) { function TestHPAAnalyzerWithNonExistentScaleTargetRef (line 134) | func TestHPAAnalyzerWithNonExistentScaleTargetRef(t *testing.T) { function TestHPAAnalyzerWithExistingScaleTargetRefAsDeployment (line 181) | func TestHPAAnalyzerWithExistingScaleTargetRefAsDeployment(t *testing.T) { function TestHPAAnalyzerWithExistingScaleTargetRefAsReplicationController (line 245) | func TestHPAAnalyzerWithExistingScaleTargetRefAsReplicationController(t ... function TestHPAAnalyzerWithExistingScaleTargetRefAsReplicaSet (line 309) | func TestHPAAnalyzerWithExistingScaleTargetRefAsReplicaSet(t *testing.T) { function TestHPAAnalyzerWithExistingScaleTargetRefAsStatefulSet (line 373) | func TestHPAAnalyzerWithExistingScaleTargetRefAsStatefulSet(t *testing.T) { function TestHPAAnalyzerWithExistingScaleTargetRefWithoutSpecifyingResources (line 437) | func TestHPAAnalyzerWithExistingScaleTargetRefWithoutSpecifyingResources... function TestHPAAnalyzerNamespaceFiltering (line 504) | func TestHPAAnalyzerNamespaceFiltering(t *testing.T) { function TestHPAAnalyzerLabelSelectorFiltering (line 535) | func TestHPAAnalyzerLabelSelectorFiltering(t *testing.T) { function TestHPAAnalyzerStatusFieldAbleToScale (line 569) | func TestHPAAnalyzerStatusFieldAbleToScale(t *testing.T) { function TestHPAAnalyzerStatusFieldScalingActive (line 609) | func TestHPAAnalyzerStatusFieldScalingActive(t *testing.T) { function TestHPAAnalyzerStatusFieldScalingLimited (line 649) | func TestHPAAnalyzerStatusFieldScalingLimited(t *testing.T) { function TestHPAAnalyzerStatusField (line 689) | func TestHPAAnalyzerStatusField(t *testing.T) { function TestHPAAnalyzerStatusScalingLimitedError (line 739) | func TestHPAAnalyzerStatusScalingLimitedError(t *testing.T) { FILE: pkg/analyzer/httproute.go type HTTPRouteAnalyzer (line 27) | type HTTPRouteAnalyzer struct method Analyze (line 30) | func (HTTPRouteAnalyzer) Analyze(a common.Analyzer) ([]common.Result, ... FILE: pkg/analyzer/httproute_test.go function BuildRouteGateway (line 19) | func BuildRouteGateway(namespace, name, fromNamespaceref string) gtwapi.... function BuildHTTPRoute (line 60) | func BuildHTTPRoute(backendName, gtwName gtwapi.ObjectName, gtwNamespace... function TestGWMissiningHTTRouteAnalyzer (line 97) | func TestGWMissiningHTTRouteAnalyzer(t *testing.T) { function TestGWConfigSameHTTRouteAnalyzer (line 153) | func TestGWConfigSameHTTRouteAnalyzer(t *testing.T) { function TestGWConfigSelectorHTTRouteAnalyzer (line 210) | func TestGWConfigSelectorHTTRouteAnalyzer(t *testing.T) { function TestSvcMissingHTTRouteAnalyzer (line 268) | func TestSvcMissingHTTRouteAnalyzer(t *testing.T) { function TestSvcDifferentPortHTTRouteAnalyzer (line 325) | func TestSvcDifferentPortHTTRouteAnalyzer(t *testing.T) { FILE: pkg/analyzer/ingress.go type IngressAnalyzer (line 26) | type IngressAnalyzer struct method Analyze (line 28) | func (IngressAnalyzer) Analyze(a common.Analyzer) ([]common.Result, er... FILE: pkg/analyzer/ingress_test.go function TestIngressAnalyzer (line 29) | func TestIngressAnalyzer(t *testing.T) { function TestIngressAnalyzerLabelSelector (line 208) | func TestIngressAnalyzerLabelSelector(t *testing.T) { function strPtr (line 251) | func strPtr(s string) *string { function pathTypePtr (line 255) | func pathTypePtr(p networkingv1.PathType) *networkingv1.PathType { FILE: pkg/analyzer/installplan_test.go function TestInstallPlanAnalyzer (line 16) | func TestInstallPlanAnalyzer(t *testing.T) { FILE: pkg/analyzer/instalplan.go type InstallPlanAnalyzer (line 12) | type InstallPlanAnalyzer struct method Analyze (line 18) | func (InstallPlanAnalyzer) Analyze(a common.Analyzer) ([]common.Result... function firstCondStr (line 61) | func firstCondStr(u *unstructured.Unstructured, field string) string { FILE: pkg/analyzer/job.go type JobAnalyzer (line 26) | type JobAnalyzer struct method Analyze (line 28) | func (analyzer JobAnalyzer) Analyze(a common.Analyzer) ([]common.Resul... FILE: pkg/analyzer/job_test.go function TestJobAnalyzer (line 29) | func TestJobAnalyzer(t *testing.T) { function TestJobAnalyzerLabelSelector (line 176) | func TestJobAnalyzerLabelSelector(t *testing.T) { FILE: pkg/analyzer/log.go type LogAnalyzer (line 32) | type LogAnalyzer struct method Analyze (line 35) | func (LogAnalyzer) Analyze(a common.Analyzer) ([]common.Result, error) { function printErrorLines (line 108) | func printErrorLines(logs string, errorPattern *regexp.Regexp) string { FILE: pkg/analyzer/log_test.go function TestLogAnalyzer (line 30) | func TestLogAnalyzer(t *testing.T) { function TestLogAnalyzerLabelSelectorFiltering (line 122) | func TestLogAnalyzerLabelSelectorFiltering(t *testing.T) { FILE: pkg/analyzer/mutating_webhook.go type MutatingWebhookAnalyzer (line 27) | type MutatingWebhookAnalyzer struct method Analyze (line 29) | func (MutatingWebhookAnalyzer) Analyze(a common.Analyzer) ([]common.Re... FILE: pkg/analyzer/mutating_webhook_test.go function TestMutatingWebhookAnalyzer (line 29) | func TestMutatingWebhookAnalyzer(t *testing.T) { function TestMutatingWebhookAnalyzerLabelSelectorFiltering (line 142) | func TestMutatingWebhookAnalyzerLabelSelectorFiltering(t *testing.T) { FILE: pkg/analyzer/netpol.go type NetworkPolicyAnalyzer (line 26) | type NetworkPolicyAnalyzer struct method Analyze (line 28) | func (NetworkPolicyAnalyzer) Analyze(a common.Analyzer) ([]common.Resu... FILE: pkg/analyzer/netpol_test.go function TestNetpolNoPods (line 29) | func TestNetpolNoPods(t *testing.T) { function TestNetpolWithPod (line 76) | func TestNetpolWithPod(t *testing.T) { function TestNetpolNoPodsNamespaceFiltering (line 137) | func TestNetpolNoPodsNamespaceFiltering(t *testing.T) { function TestNetpolLabelSelectorFiltering (line 224) | func TestNetpolLabelSelectorFiltering(t *testing.T) { FILE: pkg/analyzer/node.go type NodeAnalyzer (line 26) | type NodeAnalyzer struct method Analyze (line 28) | func (NodeAnalyzer) Analyze(a common.Analyzer) ([]common.Result, error) { function addNodeConditionFailure (line 92) | func addNodeConditionFailure(failures []common.Failure, nodeName string,... function isKnownNodeConditionType (line 106) | func isKnownNodeConditionType(conditionType v1.NodeConditionType) bool { FILE: pkg/analyzer/node_test.go function TestNodeAnalyzer (line 29) | func TestNodeAnalyzer(t *testing.T) { function TestNodeAnalyzerLabelSelectorFiltering (line 171) | func TestNodeAnalyzerLabelSelectorFiltering(t *testing.T) { FILE: pkg/analyzer/operatorgroup.go type OperatorGroupAnalyzer (line 11) | type OperatorGroupAnalyzer struct method Analyze (line 17) | func (OperatorGroupAnalyzer) Analyze(a common.Analyzer) ([]common.Resu... FILE: pkg/analyzer/operatorgroup_test.go function TestOperatorGroupAnalyzer (line 15) | func TestOperatorGroupAnalyzer(t *testing.T) { FILE: pkg/analyzer/pdb.go type PdbAnalyzer (line 26) | type PdbAnalyzer struct method Analyze (line 28) | func (PdbAnalyzer) Analyze(a common.Analyzer) ([]common.Result, error) { FILE: pkg/analyzer/pdb_test.go function TestPodDisruptionBudgetAnalyzer (line 29) | func TestPodDisruptionBudgetAnalyzer(t *testing.T) { function TestPodDisruptionBudgetAnalyzerLabelSelectorFiltering (line 119) | func TestPodDisruptionBudgetAnalyzerLabelSelectorFiltering(t *testing.T) { FILE: pkg/analyzer/pod.go type PodAnalyzer (line 25) | type PodAnalyzer struct method Analyze (line 28) | func (PodAnalyzer) Analyze(a common.Analyzer) ([]common.Result, error) { function analyzeContainerStatusFailures (line 95) | func analyzeContainerStatusFailures(a common.Analyzer, statuses []v1.Con... function isErrorReason (line 161) | func isErrorReason(reason string) bool { function isEvtErrorReason (line 175) | func isEvtErrorReason(reason string) bool { FILE: pkg/analyzer/pod_test.go function TestPodAnalyzer (line 29) | func TestPodAnalyzer(t *testing.T) { FILE: pkg/analyzer/pvc.go type PvcAnalyzer (line 25) | type PvcAnalyzer struct method Analyze (line 27) | func (PvcAnalyzer) Analyze(a common.Analyzer) ([]common.Result, error) { FILE: pkg/analyzer/pvc_test.go function TestPersistentVolumeClaimAnalyzer (line 30) | func TestPersistentVolumeClaimAnalyzer(t *testing.T) { function TestPvcAnalyzerLabelSelectorFiltering (line 232) | func TestPvcAnalyzerLabelSelectorFiltering(t *testing.T) { FILE: pkg/analyzer/rs.go type ReplicaSetAnalyzer (line 24) | type ReplicaSetAnalyzer struct method Analyze (line 26) | func (ReplicaSetAnalyzer) Analyze(a common.Analyzer) ([]common.Result,... FILE: pkg/analyzer/rs_test.go function TestReplicaSetAnalyzer (line 29) | func TestReplicaSetAnalyzer(t *testing.T) { function TestReplicaSetAnalyzerLabelSelectorFiltering (line 148) | func TestReplicaSetAnalyzerLabelSelectorFiltering(t *testing.T) { FILE: pkg/analyzer/security.go type SecurityAnalyzer (line 23) | type SecurityAnalyzer struct method Analyze (line 25) | func (SecurityAnalyzer) Analyze(a common.Analyzer) ([]common.Result, e... function analyzeServiceAccounts (line 58) | func analyzeServiceAccounts(a common.Analyzer) ([]common.Result, error) { function analyzeRoleBindings (line 106) | func analyzeRoleBindings(a common.Analyzer) ([]common.Result, error) { function analyzePodSecurityContexts (line 147) | func analyzePodSecurityContexts(a common.Analyzer) ([]common.Result, err... function containsWildcard (line 194) | func containsWildcard(slice []string) bool { FILE: pkg/analyzer/security_test.go function TestSecurityAnalyzer (line 29) | func TestSecurityAnalyzer(t *testing.T) { FILE: pkg/analyzer/service.go type ServiceAnalyzer (line 29) | type ServiceAnalyzer struct method Analyze (line 31) | func (ServiceAnalyzer) Analyze(a common.Analyzer) ([]common.Result, er... FILE: pkg/analyzer/service_test.go function TestServiceAnalyzer (line 29) | func TestServiceAnalyzer(t *testing.T) { function TestServiceAnalyzerLabelSelectorFiltering (line 256) | func TestServiceAnalyzerLabelSelectorFiltering(t *testing.T) { FILE: pkg/analyzer/statefulset.go type StatefulSetAnalyzer (line 27) | type StatefulSetAnalyzer struct method Analyze (line 29) | func (StatefulSetAnalyzer) Analyze(a common.Analyzer) ([]common.Result... FILE: pkg/analyzer/statefulset_test.go function TestStatefulSetAnalyzer (line 30) | func TestStatefulSetAnalyzer(t *testing.T) { function TestStatefulSetAnalyzerWithoutService (line 54) | func TestStatefulSetAnalyzerWithoutService(t *testing.T) { function TestStatefulSetAnalyzerMissingStorageClass (line 96) | func TestStatefulSetAnalyzerMissingStorageClass(t *testing.T) { function TestStatefulSetAnalyzerNamespaceFiltering (line 162) | func TestStatefulSetAnalyzerNamespaceFiltering(t *testing.T) { function TestStatefulSetAnalyzerLabelSelectorFiltering (line 192) | func TestStatefulSetAnalyzerLabelSelectorFiltering(t *testing.T) { function TestStatefulSetAnalyzerReplica (line 244) | func TestStatefulSetAnalyzerReplica(t *testing.T) { function TestStatefulSetAnalyzerUnavailableReplicas (line 306) | func TestStatefulSetAnalyzerUnavailableReplicas(t *testing.T) { function TestStatefulSetAnalyzerUnavailableReplicaWithPodInitialized (line 337) | func TestStatefulSetAnalyzerUnavailableReplicaWithPodInitialized(t *test... FILE: pkg/analyzer/storage.go type StorageAnalyzer (line 25) | type StorageAnalyzer struct method Analyze (line 27) | func (StorageAnalyzer) Analyze(a common.Analyzer) ([]common.Result, er... function analyzeStorageClasses (line 60) | func analyzeStorageClasses(a common.Analyzer) ([]common.Result, error) { function analyzePersistentVolumes (line 109) | func analyzePersistentVolumes(a common.Analyzer) ([]common.Result, error) { function analyzePersistentVolumeClaims (line 159) | func analyzePersistentVolumeClaims(a common.Analyzer) ([]common.Result, ... FILE: pkg/analyzer/storage_test.go function TestStorageAnalyzer (line 29) | func TestStorageAnalyzer(t *testing.T) { FILE: pkg/analyzer/subscription.go type SubscriptionAnalyzer (line 12) | type SubscriptionAnalyzer struct method Analyze (line 18) | func (SubscriptionAnalyzer) Analyze(a common.Analyzer) ([]common.Resul... FILE: pkg/analyzer/subscription_test.go function TestSubscriptionAnalyzer (line 16) | func TestSubscriptionAnalyzer(t *testing.T) { FILE: pkg/analyzer/test_utils.go function boolPtr (line 4) | func boolPtr(b bool) *bool { function int64Ptr (line 8) | func int64Ptr(i int64) *int64 { FILE: pkg/analyzer/validating_webhook.go type ValidatingWebhookAnalyzer (line 27) | type ValidatingWebhookAnalyzer struct method Analyze (line 29) | func (ValidatingWebhookAnalyzer) Analyze(a common.Analyzer) ([]common.... FILE: pkg/analyzer/validating_webhook_test.go function TestValidatingWebhookAnalyzer (line 29) | func TestValidatingWebhookAnalyzer(t *testing.T) { function TestValidatingWebhookAnalyzerLabelSelectorFiltering (line 142) | func TestValidatingWebhookAnalyzerLabelSelectorFiltering(t *testing.T) { FILE: pkg/cache/azuresa_based.go type AzureCache (line 16) | type AzureCache struct method Configure (line 28) | func (s *AzureCache) Configure(cacheInfo CacheProvider) error { method Store (line 65) | func (s *AzureCache) Store(key string, data string) error { method Load (line 72) | func (s *AzureCache) Load(key string) (string, error) { method List (line 90) | func (s *AzureCache) List() ([]CacheObjectDetails, error) { method Remove (line 115) | func (s *AzureCache) Remove(key string) error { method Exists (line 123) | func (s *AzureCache) Exists(key string) bool { method IsCacheDisabled (line 145) | func (s *AzureCache) IsCacheDisabled() bool { method GetName (line 149) | func (s *AzureCache) GetName() string { method DisableCache (line 153) | func (s *AzureCache) DisableCache() { type AzureCacheConfiguration (line 23) | type AzureCacheConfiguration struct FILE: pkg/cache/cache.go type ICache (line 21) | type ICache interface function New (line 33) | func New(cacheType string) ICache { function ParseCacheConfiguration (line 42) | func ParseCacheConfiguration() (CacheProvider, error) { function NewCacheProvider (line 51) | func NewCacheProvider(cacheType, bucketname, region, endpoint, storageAc... function GetCacheConfiguration (line 86) | func GetCacheConfiguration() (ICache, error) { function AddRemoteCache (line 109) | func AddRemoteCache(cacheInfo CacheProvider) error { function RemoveRemoteCache (line 120) | func RemoveRemoteCache() error { FILE: pkg/cache/cache_test.go function TestNewReturnsExpectedCache (line 11) | func TestNewReturnsExpectedCache(t *testing.T) { function TestNewCacheProvider_InterplexAndInvalid (line 21) | func TestNewCacheProvider_InterplexAndInvalid(t *testing.T) { function TestAddRemoveRemoteCacheAndGet (line 33) | func TestAddRemoveRemoteCacheAndGet(t *testing.T) { FILE: pkg/cache/file_based.go type FileBasedCache (line 14) | type FileBasedCache struct method Configure (line 18) | func (f *FileBasedCache) Configure(cacheInfo CacheProvider) error { method IsCacheDisabled (line 22) | func (f *FileBasedCache) IsCacheDisabled() bool { method List (line 26) | func (*FileBasedCache) List() ([]CacheObjectDetails, error) { method Exists (line 52) | func (*FileBasedCache) Exists(key string) bool { method Load (line 70) | func (*FileBasedCache) Load(key string) (string, error) { method Remove (line 86) | func (*FileBasedCache) Remove(key string) error { method Store (line 100) | func (*FileBasedCache) Store(key string, data string) error { method GetName (line 110) | func (s *FileBasedCache) GetName() string { method DisableCache (line 114) | func (s *FileBasedCache) DisableCache() { FILE: pkg/cache/file_based_test.go function withTempCacheHome (line 13) | func withTempCacheHome(t *testing.T) func() { function TestFileBasedCache_BasicOps (line 25) | func TestFileBasedCache_BasicOps(t *testing.T) { function TestFileBasedCache_PathShape (line 69) | func TestFileBasedCache_PathShape(t *testing.T) { FILE: pkg/cache/gcs_based.go type GCSCache (line 12) | type GCSCache struct method Configure (line 27) | func (s *GCSCache) Configure(cacheInfo CacheProvider) error { method Store (line 59) | func (s *GCSCache) Store(key string, data string) error { method Load (line 73) | func (s *GCSCache) Load(key string) (string, error) { method Remove (line 88) | func (s *GCSCache) Remove(key string) error { method List (line 97) | func (s *GCSCache) List() ([]CacheObjectDetails, error) { method Exists (line 117) | func (s *GCSCache) Exists(key string) bool { method IsCacheDisabled (line 123) | func (s *GCSCache) IsCacheDisabled() bool { method GetName (line 127) | func (s *GCSCache) GetName() string { method DisableCache (line 131) | func (s *GCSCache) DisableCache() { type GCSCacheConfiguration (line 21) | type GCSCacheConfiguration struct FILE: pkg/cache/interplex_based.go type InterplexCache (line 17) | type InterplexCache struct method Configure (line 31) | func (c *InterplexCache) Configure(cacheInfo CacheProvider) error { method Store (line 40) | func (c *InterplexCache) Store(key string, data string) error { method Load (line 64) | func (c *InterplexCache) Load(key string) (string, error) { method List (line 86) | func (c *InterplexCache) List() ([]CacheObjectDetails, error) { method Remove (line 91) | func (c *InterplexCache) Remove(key string) error { method Exists (line 116) | func (c *InterplexCache) Exists(key string) bool { method IsCacheDisabled (line 121) | func (c *InterplexCache) IsCacheDisabled() bool { method GetName (line 125) | func (c *InterplexCache) GetName() string { method DisableCache (line 129) | func (c *InterplexCache) DisableCache() { type InterplexCacheConfiguration (line 24) | type InterplexCacheConfiguration struct type InterplexClient (line 28) | type InterplexClient struct FILE: pkg/cache/interplex_based_test.go function TestInterplexCache (line 13) | func TestInterplexCache(t *testing.T) { type mockCacheService (line 71) | type mockCacheService struct method Set (line 76) | func (m *mockCacheService) Set(ctx context.Context, req *schemav1.SetR... method Get (line 84) | func (m *mockCacheService) Get(ctx context.Context, req *schemav1.GetR... FILE: pkg/cache/s3_based.go type S3Cache (line 16) | type S3Cache struct method Configure (line 29) | func (s *S3Cache) Configure(cacheInfo CacheProvider) error { method Store (line 76) | func (s *S3Cache) Store(key string, data string) error { method Remove (line 87) | func (s *S3Cache) Remove(key string) error { method Load (line 99) | func (s *S3Cache) Load(key string) (string, error) { method List (line 116) | func (s *S3Cache) List() ([]CacheObjectDetails, error) { method Exists (line 135) | func (s *S3Cache) Exists(key string) bool { method IsCacheDisabled (line 145) | func (s *S3Cache) IsCacheDisabled() bool { method GetName (line 149) | func (s *S3Cache) GetName() string { method DisableCache (line 153) | func (s *S3Cache) DisableCache() { type S3CacheConfiguration (line 22) | type S3CacheConfiguration struct FILE: pkg/cache/types.go type CacheProvider (line 5) | type CacheProvider struct type CacheObjectDetails (line 13) | type CacheObjectDetails struct FILE: pkg/common/types.go type IAnalyzer (line 35) | type IAnalyzer interface type Analyzer (line 39) | type Analyzer struct type PreAnalysis (line 50) | type PreAnalysis struct type Result (line 76) | type Result struct type AnalysisStats (line 84) | type AnalysisStats struct type Failure (line 89) | type Failure struct type Sensitive (line 95) | type Sensitive struct type SourceType (line 101) | type SourceType type AvailabilityMode (line 102) | type AvailabilityMode type UpgradeConstraintPolicy (line 103) | type UpgradeConstraintPolicy type CRDUpgradeSafetyEnforcement (line 104) | type CRDUpgradeSafetyEnforcement type ClusterCatalog (line 107) | type ClusterCatalog struct type ClusterCatalogList (line 113) | type ClusterCatalogList struct type ClusterCatalogSpec (line 119) | type ClusterCatalogSpec struct type ClusterCatalogStatus (line 127) | type ClusterCatalogStatus struct type ClusterCatalogURLs (line 136) | type ClusterCatalogURLs struct type CatalogSource (line 139) | type CatalogSource struct type ResolvedCatalogSource (line 143) | type ResolvedCatalogSource struct type ResolvedImageSource (line 147) | type ResolvedImageSource struct type ImageSource (line 151) | type ImageSource struct type ClusterExtension (line 156) | type ClusterExtension struct type ClusterExtensionSpec (line 163) | type ClusterExtensionSpec struct type ClusterExtensionInstallConfig (line 170) | type ClusterExtensionInstallConfig struct type PreflightConfig (line 174) | type PreflightConfig struct type CRDUpgradeSafetyPreflightConfig (line 178) | type CRDUpgradeSafetyPreflightConfig struct type ServiceAccountReference (line 182) | type ServiceAccountReference struct type SourceConfig (line 186) | type SourceConfig struct type CatalogFilter (line 191) | type CatalogFilter struct type ClusterExtensionStatus (line 199) | type ClusterExtensionStatus struct type ClusterExtensionInstallStatus (line 205) | type ClusterExtensionInstallStatus struct type BundleMetadata (line 209) | type BundleMetadata struct FILE: pkg/custom/client.go type Client (line 13) | type Client struct method Run (line 33) | func (cli *Client) Run() (common.Result, error) { function NewClient (line 18) | func NewClient(c Connection) (*Client, error) { FILE: pkg/custom/client_test.go type mockAnalyzerClient (line 13) | type mockAnalyzerClient struct method Run (line 18) | func (m *mockAnalyzerClient) Run(ctx context.Context, in *schemav1.Run... function TestClientRunMapsResponse (line 22) | func TestClientRunMapsResponse(t *testing.T) { FILE: pkg/custom/types.go type Connection (line 3) | type Connection struct type CustomAnalyzer (line 7) | type CustomAnalyzer struct FILE: pkg/custom_analyzer/customAnalyzer.go type CustomAnalyzerConfiguration (line 9) | type CustomAnalyzerConfiguration struct type Connection (line 14) | type Connection struct type CustomAnalyzer (line 19) | type CustomAnalyzer struct method Check (line 25) | func (*CustomAnalyzer) Check(actualConfig []CustomAnalyzerConfiguratio... function NewCustomAnalyzer (line 21) | func NewCustomAnalyzer() *CustomAnalyzer { FILE: pkg/integration/aws/aws.go type AWS (line 12) | type AWS struct method Deploy (line 16) | func (a *AWS) Deploy(namespace string) error { method UnDeploy (line 21) | func (a *AWS) UnDeploy(namespace string) error { method AddAnalyzer (line 26) | func (a *AWS) AddAnalyzer(mergedMap *map[string]common.IAnalyzer) { method GetAnalyzerName (line 55) | func (a *AWS) GetAnalyzerName() []string { method GetNamespace (line 60) | func (a *AWS) GetNamespace() (string, error) { method OwnsAnalyzer (line 65) | func (a *AWS) OwnsAnalyzer(s string) bool { method isFilterActive (line 74) | func (a *AWS) isFilterActive() bool { method IsActivate (line 88) | func (a *AWS) IsActivate() bool { function NewAWS (line 96) | func NewAWS() *AWS { FILE: pkg/integration/aws/eks.go type EKSAnalyzer (line 16) | type EKSAnalyzer struct method Analyze (line 20) | func (e *EKSAnalyzer) Analyze(analysis common.Analyzer) ([]common.Resu... FILE: pkg/integration/integration.go type IIntegration (line 30) | type IIntegration interface type Integration (line 47) | type Integration struct method List (line 61) | func (*Integration) List() []string { method Get (line 69) | func (*Integration) Get(name string) (IIntegration, error) { method AnalyzerByIntegration (line 76) | func (i *Integration) AnalyzerByIntegration(input string) (string, err... method Activate (line 88) | func (*Integration) Activate(name string, namespace string, activeFilt... method Deactivate (line 112) | func (*Integration) Deactivate(name string, namespace string) error { method IsActivate (line 143) | func (*Integration) IsActivate(name string) (bool, error) { function NewIntegration (line 57) | func NewIntegration() *Integration { FILE: pkg/integration/integration_test.go function TestAnalyzerByIntegration (line 24) | func TestAnalyzerByIntegration(t *testing.T) { function TestActivate (line 62) | func TestActivate(t *testing.T) { FILE: pkg/integration/keda/keda.go type Keda (line 29) | type Keda struct method Deploy (line 51) | func (k *Keda) Deploy(namespace string) error { method UnDeploy (line 83) | func (k *Keda) UnDeploy(namespace string) error { method AddAnalyzer (line 156) | func (k *Keda) AddAnalyzer(mergedMap *map[string]common.IAnalyzer) { method GetAnalyzerName (line 160) | func (k *Keda) GetAnalyzerName() []string { method GetNamespace (line 166) | func (k *Keda) GetNamespace() (string, error) { method OwnsAnalyzer (line 179) | func (k *Keda) OwnsAnalyzer(analyzer string) bool { method isFilterActive (line 188) | func (k *Keda) isFilterActive() bool { method isDeployed (line 202) | func (k *Keda) isDeployed() bool { method IsActivate (line 227) | func (k *Keda) IsActivate() bool { function getEnv (line 33) | func getEnv(key, defaultValue string) string { function NewKeda (line 41) | func NewKeda() *Keda { FILE: pkg/integration/keda/scaledobject_analyzer.go type ScaledObjectAnalyzer (line 16) | type ScaledObjectAnalyzer struct method Analyze (line 18) | func (s *ScaledObjectAnalyzer) Analyze(a common.Analyzer) ([]common.Re... type PodInfo (line 155) | type PodInfo interface type DeploymentInfo (line 159) | type DeploymentInfo struct method GetPodSpec (line 163) | func (d DeploymentInfo) GetPodSpec() corev1.PodSpec { type ReplicationControllerInfo (line 168) | type ReplicationControllerInfo struct method GetPodSpec (line 172) | func (rc ReplicationControllerInfo) GetPodSpec() corev1.PodSpec { type ReplicaSetInfo (line 177) | type ReplicaSetInfo struct method GetPodSpec (line 181) | func (rs ReplicaSetInfo) GetPodSpec() corev1.PodSpec { type StatefulSetInfo (line 186) | type StatefulSetInfo struct method GetPodSpec (line 191) | func (ss StatefulSetInfo) GetPodSpec() corev1.PodSpec { FILE: pkg/integration/kyverno/analyzer.go type KyvernoAnalyzer (line 29) | type KyvernoAnalyzer struct method analyzePolicyReports (line 34) | func (KyvernoAnalyzer) analyzePolicyReports(a common.Analyzer) ([]comm... method analyzeClusterPolicyReports (line 88) | func (t KyvernoAnalyzer) analyzeClusterPolicyReports(a common.Analyzer... method Analyze (line 141) | func (t KyvernoAnalyzer) Analyze(a common.Analyzer) ([]common.Result, ... FILE: pkg/integration/kyverno/analyzer_test.go function buildFakeClient (line 31) | func buildFakeClient(t *testing.T) client.Client { function TestAnalyzerNamespaceFiltering (line 71) | func TestAnalyzerNamespaceFiltering(t *testing.T) { function TestAnalyzerAllNamespace (line 96) | func TestAnalyzerAllNamespace(t *testing.T) { FILE: pkg/integration/kyverno/kyverno.go type Kyverno (line 25) | type Kyverno struct method GetAnalyzerName (line 31) | func (k *Kyverno) GetAnalyzerName() []string { method OwnsAnalyzer (line 39) | func (k *Kyverno) OwnsAnalyzer(analyzer string) bool { method isDeployed (line 49) | func (k *Kyverno) isDeployed() bool { method isFilterActive (line 75) | func (k *Kyverno) isFilterActive() bool { method IsActivate (line 89) | func (k *Kyverno) IsActivate() bool { method AddAnalyzer (line 97) | func (k *Kyverno) AddAnalyzer(mergedMap *map[string]common.IAnalyzer) { method Deploy (line 107) | func (k *Kyverno) Deploy(namespace string) error { method UnDeploy (line 111) | func (k *Kyverno) UnDeploy(_ string) error { method GetNamespace (line 115) | func (t *Kyverno) GetNamespace() (string, error) { function NewKyverno (line 27) | func NewKyverno() *Kyverno { FILE: pkg/integration/prometheus/config_analyzer.go constant prometheusContainerName (line 24) | prometheusContainerName = "prometheus" constant configReloaderContainerName (line 25) | configReloaderContainerName = "config-reloader" constant prometheusConfigFlag (line 26) | prometheusConfigFlag = "--config.file=" constant configReloaderConfigFlag (line 27) | configReloaderConfigFlag = "--config-file=" type ConfigAnalyzer (line 35) | type ConfigAnalyzer struct method Analyze (line 45) | func (c *ConfigAnalyzer) Analyze(a common.Analyzer) ([]common.Result, ... type podConfig (line 40) | type podConfig struct function configKey (line 106) | func configKey(namespace string, volume *corev1.Volume) (string, error) { function findPrometheusPodConfigs (line 116) | func findPrometheusPodConfigs(ctx context.Context, client kubernetes.Int... function findPrometheusPods (line 156) | func findPrometheusPods(ctx context.Context, client kubernetes.Interface... function findPrometheusConfigPath (line 186) | func findPrometheusConfigPath(ctx context.Context, client kubernetes.Int... function findPrometheusConfigVolumeAndKey (line 211) | func findPrometheusConfigVolumeAndKey(ctx context.Context, client kubern... function extractPrometheusConfigFromVolume (line 238) | func extractPrometheusConfigFromVolume(ctx context.Context, client kuber... function unmarshalPromConfigBytes (line 267) | func unmarshalPromConfigBytes(b []byte) (*promconfig.Config, error) { FILE: pkg/integration/prometheus/prometheus.go constant ConfigValidate (line 16) | ConfigValidate = "PrometheusConfigValidate" constant ConfigRelabel (line 17) | ConfigRelabel = "PrometheusConfigRelabelReport" type Prometheus (line 20) | type Prometheus struct method Deploy (line 27) | func (p *Prometheus) Deploy(namespace string) error { method UnDeploy (line 69) | func (p *Prometheus) UnDeploy(_ string) error { method AddAnalyzer (line 76) | func (p *Prometheus) AddAnalyzer(mergedMap *map[string]common.IAnalyze... method GetAnalyzerName (line 81) | func (p *Prometheus) GetAnalyzerName() []string { method GetNamespace (line 85) | func (p *Prometheus) GetNamespace() (string, error) { method OwnsAnalyzer (line 89) | func (p *Prometheus) OwnsAnalyzer(analyzer string) bool { method IsActivate (line 93) | func (t *Prometheus) IsActivate() bool { function NewPrometheus (line 23) | func NewPrometheus() *Prometheus { FILE: pkg/integration/prometheus/relabel_analyzer.go type RelabelAnalyzer (line 12) | type RelabelAnalyzer struct method Analyze (line 15) | func (r *RelabelAnalyzer) Analyze(a common.Analyzer) ([]common.Result,... FILE: pkg/kubernetes/apireference.go method GetApiDocV2 (line 10) | func (k *K8sApiReference) GetApiDocV2(field string) string { method recursePath (line 32) | func (k *K8sApiReference) recursePath(definitions []*openapi_v2.NamedSch... FILE: pkg/kubernetes/apireference_test.go function TestGetApiDocV2 (line 24) | func TestGetApiDocV2(t *testing.T) { FILE: pkg/kubernetes/kubernetes.go method GetConfig (line 25) | func (c *Client) GetConfig() *rest.Config { method GetClient (line 29) | func (c *Client) GetClient() kubernetes.Interface { method GetCtrlClient (line 33) | func (c *Client) GetCtrlClient() ctrl.Client { method GetDynamicClient (line 37) | func (c *Client) GetDynamicClient() dynamic.Interface { function NewClient (line 41) | func NewClient(kubecontext string, kubeconfig string) (*Client, error) { FILE: pkg/kubernetes/types.go type Client (line 13) | type Client struct type K8sApiReference (line 21) | type K8sApiReference struct FILE: pkg/server/analyze/analyze.go method Analyze (line 11) | func (h *Handler) Analyze(ctx context.Context, i *schemav1.AnalyzeReques... FILE: pkg/server/analyze/handler.go type Handler (line 5) | type Handler struct FILE: pkg/server/client_example/main.go type AnalyzeRequest (line 28) | type AnalyzeRequest struct type JSONRPCResponse (line 44) | type JSONRPCResponse struct function main (line 59) | func main() { FILE: pkg/server/config/config.go constant notUsedBucket (line 15) | notUsedBucket = "" constant notUsedRegion (line 16) | notUsedRegion = "" constant notUsedEndpoint (line 17) | notUsedEndpoint = "" constant notUsedStorageAcc (line 18) | notUsedStorageAcc = "" constant notUsedContainerName (line 19) | notUsedContainerName = "" constant notUsedProjectId (line 20) | notUsedProjectId = "" constant notUsedInsecure (line 21) | notUsedInsecure = false method ApplyConfig (line 25) | func (h *Handler) ApplyConfig(ctx context.Context, i *schemav1.AddConfig... method AddConfig (line 86) | func (h *Handler) AddConfig(ctx context.Context, i *schemav1.AddConfigRe... method RemoveConfig (line 99) | func (h *Handler) RemoveConfig(ctx context.Context, i *schemav1.RemoveCo... FILE: pkg/server/config/handler.go type Handler (line 9) | type Handler struct method Shutdown (line 13) | func (h *Handler) Shutdown(ctx context.Context, request *schemav1.Shut... FILE: pkg/server/config/integration.go method syncIntegration (line 16) | func (h *Handler) syncIntegration(ctx context.Context, method ListIntegrations (line 95) | func (h *Handler) ListIntegrations(ctx context.Context, req *schemav1.Li... method deactivateAllIntegrations (line 129) | func (*Handler) deactivateAllIntegrations(integrationProvider *integrati... FILE: pkg/server/example/main.go function main (line 28) | func main() { FILE: pkg/server/log.go function LogInterceptor (line 14) | func LogInterceptor(logger *zap.Logger) grpc.UnaryServerInterceptor { function logRequest (line 46) | func logRequest(logger *zap.Logger, fields []zap.Field, statusCode int, ... FILE: pkg/server/mcp.go type K8sGptMCPServer (line 35) | type K8sGptMCPServer struct method Start (line 109) | func (s *K8sGptMCPServer) Start() error { method registerToolsAndResources (line 132) | func (s *K8sGptMCPServer) registerToolsAndResources() error { method handleAnalyze (line 405) | func (s *K8sGptMCPServer) handleAnalyze(ctx context.Context, request m... method handleClusterInfo (line 487) | func (s *K8sGptMCPServer) handleClusterInfo(ctx context.Context, reque... method handleConfig (line 505) | func (s *K8sGptMCPServer) handleConfig(ctx context.Context, request mc... method registerPrompts (line 574) | func (s *K8sGptMCPServer) registerPrompts() error { method registerResources (line 599) | func (s *K8sGptMCPServer) registerResources() error { method getClusterInfo (line 621) | func (s *K8sGptMCPServer) getClusterInfo(ctx context.Context, request ... method getNamespacesResource (line 658) | func (s *K8sGptMCPServer) getNamespacesResource(ctx context.Context, r... method getActiveFiltersResource (line 698) | func (s *K8sGptMCPServer) getActiveFiltersResource(ctx context.Context... method Close (line 725) | func (s *K8sGptMCPServer) Close() error { function NewMCPServer (line 45) | func NewMCPServer(port string, aiProvider *ai.AIProvider, useHTTP bool, ... type AnalyzeRequest (line 344) | type AnalyzeRequest struct type AnalyzeResponse (line 361) | type AnalyzeResponse struct type ClusterInfoRequest (line 366) | type ClusterInfoRequest struct type ClusterInfoResponse (line 371) | type ClusterInfoResponse struct type ConfigRequest (line 376) | type ConfigRequest struct type ConfigResponse (line 400) | type ConfigResponse struct function validateMaxConcurrency (line 476) | func validateMaxConcurrency(maxConcurrency int) int { type zapLoggerAdapter (line 730) | type zapLoggerAdapter struct method Infof (line 734) | func (z *zapLoggerAdapter) Infof(format string, v ...any) { method Errorf (line 738) | func (z *zapLoggerAdapter) Errorf(format string, v ...any) { function stripANSI (line 743) | func stripANSI(input string) string { FILE: pkg/server/mcp_handlers.go constant DefaultListLimit (line 34) | DefaultListLimit = 100 constant MaxListLimit (line 36) | MaxListLimit = 1000 type resourceLister (line 40) | type resourceLister type resourceGetter (line 43) | type resourceGetter function normalizeResourceType (line 191) | func normalizeResourceType(resourceType string) (string, error) { function marshalJSON (line 208) | func marshalJSON(data interface{}) (string, error) { method handleListResources (line 217) | func (s *K8sGptMCPServer) handleListResources(ctx context.Context, reque... method handleGetResource (line 276) | func (s *K8sGptMCPServer) handleGetResource(ctx context.Context, request... method handleListNamespaces (line 320) | func (s *K8sGptMCPServer) handleListNamespaces(ctx context.Context, requ... method handleListEvents (line 340) | func (s *K8sGptMCPServer) handleListEvents(ctx context.Context, request ... method handleGetLogs (line 392) | func (s *K8sGptMCPServer) handleGetLogs(ctx context.Context, request mcp... method handleListFilters (line 449) | func (s *K8sGptMCPServer) handleListFilters(ctx context.Context, request... method handleAddFilters (line 469) | func (s *K8sGptMCPServer) handleAddFilters(ctx context.Context, request ... method handleRemoveFilters (line 504) | func (s *K8sGptMCPServer) handleRemoveFilters(ctx context.Context, reque... method handleListIntegrations (line 541) | func (s *K8sGptMCPServer) handleListIntegrations(ctx context.Context, re... function contains (line 563) | func contains(slice []string, item string) bool { FILE: pkg/server/mcp_prompts.go method getTroubleshootPodPrompt (line 24) | func (s *K8sGptMCPServer) getTroubleshootPodPrompt(ctx context.Context, ... method getTroubleshootDeploymentPrompt (line 69) | func (s *K8sGptMCPServer) getTroubleshootDeploymentPrompt(ctx context.Co... method getTroubleshootClusterPrompt (line 116) | func (s *K8sGptMCPServer) getTroubleshootClusterPrompt(ctx context.Conte... FILE: pkg/server/query/handler.go type Handler (line 5) | type Handler struct FILE: pkg/server/query/query.go method Query (line 11) | func (h *Handler) Query(ctx context.Context, i *schemav1.QueryRequest) ( FILE: pkg/server/query/query_test.go type MockAI (line 15) | type MockAI struct method Configure (line 19) | func (m *MockAI) Configure(config ai.IAIConfig) error { method GetCompletion (line 24) | func (m *MockAI) GetCompletion(ctx context.Context, prompt string) (st... method GetName (line 29) | func (m *MockAI) GetName() string { method Close (line 34) | func (m *MockAI) Close() { type MockAIClientFactory (line 39) | type MockAIClientFactory struct method NewClient (line 43) | func (m *MockAIClientFactory) NewClient(provider string) ai.IAI { type MockConfigProvider (line 49) | type MockConfigProvider struct method UnmarshalKey (line 53) | func (m *MockConfigProvider) UnmarshalKey(key string, rawVal interface... function TestQuery_Success (line 65) | func TestQuery_Success(t *testing.T) { function TestQuery_UnmarshalError (line 121) | func TestQuery_UnmarshalError(t *testing.T) { function TestQuery_ProviderNotFound (line 158) | func TestQuery_ProviderNotFound(t *testing.T) { function TestQuery_ConfigureError (line 207) | func TestQuery_ConfigureError(t *testing.T) { function TestQuery_GetCompletionError (line 259) | func TestQuery_GetCompletionError(t *testing.T) { FILE: pkg/server/server.go type Config (line 46) | type Config struct method Shutdown (line 77) | func (s *Config) Shutdown() error { method Serve (line 93) | func (s *Config) Serve() error { method ServeMetrics (line 148) | func (s *Config) ServeMetrics() error { type Health (line 64) | type Health struct function grpcHandlerFunc (line 83) | func grpcHandlerFunc(grpcServer *grpc.Server, otherHandler http.Handler)... FILE: pkg/server/server_test.go function TestServe (line 19) | func TestServe(t *testing.T) { function TestMCPServerCreation (line 66) | func TestMCPServerCreation(t *testing.T) { function TestMCPServerBasicHTTP (line 96) | func TestMCPServerBasicHTTP(t *testing.T) { function TestMCPServerToolCall (line 218) | func TestMCPServerToolCall(t *testing.T) { function waitForPort (line 331) | func waitForPort(address string, timeout time.Duration) error { FILE: pkg/util/util.go function GetParent (line 40) | func GetParent(client *kubernetes.Client, meta metav1.ObjectMeta) (strin... function RemoveDuplicates (line 119) | func RemoveDuplicates(slice []string) ([]string, []string) { function SliceDiff (line 136) | func SliceDiff(source, dest []string) []string { function MaskString (line 150) | func MaskString(input string) string { function ReplaceIfMatch (line 163) | func ReplaceIfMatch(text string, pattern string, replacement string) str... function GetCacheKey (line 171) | func GetCacheKey(provider string, language string, sEnc string) string { function GetPodListByLabels (line 179) | func GetPodListByLabels(client k.Interface, function FileExists (line 195) | func FileExists(path string) (bool, error) { function EnsureDirExists (line 205) | func EnsureDirExists(dir string) error { function MapToString (line 215) | func MapToString(m map[string]string) string { function LabelsIncludeAny (line 230) | func LabelsIncludeAny(predefinedSelector, Labels map[string]string) bool { function FetchLatestEvent (line 241) | func FetchLatestEvent(ctx context.Context, kubernetesClient *kubernetes.... function NewHeaders (line 271) | func NewHeaders(customHeaders []string) []http.Header { function LabelStrToSelector (line 302) | func LabelStrToSelector(labelStr string) labels.Selector { function CaptureOutput (line 317) | func CaptureOutput(f func()) string { function Contains (line 342) | func Contains(s, substr string) bool { FILE: pkg/util/util_test.go function TestGetParent (line 32) | func TestGetParent(t *testing.T) { function TestRemoveDuplicates (line 171) | func TestRemoveDuplicates(t *testing.T) { function TestSliceDiff (line 201) | func TestSliceDiff(t *testing.T) { function TestReplaceIfMatch (line 231) | func TestReplaceIfMatch(t *testing.T) { function TestGetCacheKey (line 263) | func TestGetCacheKey(t *testing.T) { function TestGetPodListByLabels (line 288) | func TestGetPodListByLabels(t *testing.T) { function TestFileExists (line 397) | func TestFileExists(t *testing.T) { function TestEnsureDirExists (line 426) | func TestEnsureDirExists(t *testing.T) { function TestMapToString (line 452) | func TestMapToString(t *testing.T) { function TestLabelsIncludeAny (line 478) | func TestLabelsIncludeAny(t *testing.T) { function TestMaskString (line 510) | func TestMaskString(t *testing.T) { function TestNewHeaders (line 530) | func TestNewHeaders(t *testing.T) { function TestLabelStrToSelector (line 553) | func TestLabelStrToSelector(t *testing.T) { function TestCaptureOutput (line 569) | func TestCaptureOutput(t *testing.T) { function TestContains (line 576) | func TestContains(t *testing.T) {