MCPcopy Create free account

hub / github.com/VersusControl/devops-ai-guidelines / functions

Functions787 in github.com/VersusControl/devops-ai-guidelines

FunctionNew
New constructs a Watcher with the given resync period (use 0 to disable).
02-mcp-for-devops/code/07/pkg/watch/watcher.go:55
FunctionNew
New constructs and registers a Recorder.
02-mcp-for-devops/code/08/pkg/metrics/metrics.go:26
FunctionNew
New constructs the Server bound to `addr` (e.g. ":6060"). Call Start to begin serving.
02-mcp-for-devops/code/08/pkg/profiler/profiler.go:19
FunctionNew
New builds a fresh server. Tools must be registered through AddTool so the middleware is applied.
02-mcp-for-devops/code/08/pkg/mcp/server.go:26
FunctionNewAPIKeyAuthenticator
(store APIKeyStore, logger *logrus.Logger)
02-mcp-for-devops/code/06/pkg/auth/apikey.go:99
FunctionNewAuditLogger
(logger *logrus.Logger)
02-mcp-for-devops/code/06/pkg/audit/logger.go:30
FunctionNewClient
(configPath string, logger *logging.Logger)
02-mcp-for-devops/code/06/pkg/k8s/client.go:29
FunctionNewClient
(configPath string, logger *logrus.Logger)
02-mcp-for-devops/code/03/pkg/k8s/client.go:26
FunctionNewClient
(configPath string, logger *logging.Logger)
02-mcp-for-devops/code/04/pkg/k8s/client.go:29
FunctionNewClusterUnavailableError
(err error)
02-mcp-for-devops/code/03/pkg/types/errors.go:55
FunctionNewInMemoryAPIKeyStore
(logger *logrus.Logger)
02-mcp-for-devops/code/06/pkg/auth/apikey.go:31
FunctionNewInternalError
(component string, err error)
02-mcp-for-devops/code/03/pkg/types/errors.go:70
FunctionNewJWTAuthenticator
(secretKey []byte, logger *logrus.Logger)
02-mcp-for-devops/code/06/pkg/auth/jwt.go:24
FunctionNewLogger
(level, format string)
02-mcp-for-devops/code/06/internal/logging/logger.go:14
FunctionNewLogger
(level, format string)
02-mcp-for-devops/code/03/internal/logging/logger.go:14
FunctionNewLogger
(level, format string)
02-mcp-for-devops/code/04/internal/logging/logger.go:14
FunctionNewMultiAuthenticator
()
02-mcp-for-devops/code/06/pkg/auth/common.go:23
FunctionNewRBACEnforcer
(logger *logrus.Logger)
02-mcp-for-devops/code/06/pkg/rbac/policies.go:45
FunctionNewResourceNotFoundError
Error constructors
02-mcp-for-devops/code/03/pkg/types/errors.go:33
FunctionNewSecureMCPServer
(originalServer *Server, securityMiddleware *security.SecurityMiddleware, logger *logrus.Logger)
02-mcp-for-devops/code/06/pkg/mcp/secure_server.go:31
FunctionNewSecurityMiddleware
( authenticator *auth.MultiAuthenticator, rbacEnforcer *rbac.RBACEnforcer, auditLogger *audit.AuditLogger,
02-mcp-for-devops/code/06/pkg/security/middleware.go:23
FunctionNewServer
NewServer wires everything but does not start any background goroutines.
02-mcp-for-devops/code/07/pkg/mcp/server.go:39
FunctionNewServer
NewServer creates a new MCP server instance with proper MCP protocol implementation
02-mcp-for-devops/code/06/pkg/mcp/server.go:26
FunctionNewServer
NewServer creates a new MCP server instance with proper MCP protocol implementation
02-mcp-for-devops/code/03/pkg/mcp/server.go:27
FunctionNewServer
NewServer creates a new MCP server instance with proper MCP protocol implementation
02-mcp-for-devops/code/04/pkg/mcp/server.go:26
FunctionNewToolExecutor
(k8sClient *k8s.Client, logger *logging.Logger)
02-mcp-for-devops/code/06/pkg/tools/executor.go:17
FunctionNewToolExecutor
(k8sClient *k8s.Client, logger *logging.Logger)
02-mcp-for-devops/code/04/pkg/tools/executor.go:17
MethodResolve
Resolve returns the GroupVersionResource for a Kind + Group pair. Useful for MCP tool argument validation.
02-mcp-for-devops/code/07/pkg/crd/dynamic.go:76
MethodRevokeAPIKey
(ctx context.Context, keyID string)
02-mcp-for-devops/code/06/pkg/auth/apikey.go:14
MethodRevokeAPIKey
(ctx context.Context, keyID string)
02-mcp-for-devops/code/06/pkg/auth/apikey.go:75
MethodStart
Start wires informers for the supplied kinds and blocks until ctx is done. Supported kinds: "pods", "deployments", "services", "events".
02-mcp-for-devops/code/07/pkg/watch/watcher.go:80
MethodStart
Start starts the MCP server with stdio transport
02-mcp-for-devops/code/06/pkg/mcp/server.go:56
MethodSubscribe
Subscribe registers a callback. The returned function unsubscribes.
02-mcp-for-devops/code/07/pkg/watch/watcher.go:65
FunctionTestFetchAllRespectsMaxItems
(t *testing.T)
02-mcp-for-devops/code/08/pkg/pagination/pagination_test.go:31
FunctionTestFetchAllWalksAllPages
(t *testing.T)
02-mcp-for-devops/code/08/pkg/pagination/pagination_test.go:10
FunctionTestLimiterRejectsBurst
(t *testing.T)
02-mcp-for-devops/code/08/pkg/ratelimit/limiter_test.go:21
MethodToURI
()
02-mcp-for-devops/code/06/pkg/types/mcp.go:44
MethodToURI
()
02-mcp-for-devops/code/03/pkg/types/mcp.go:44
MethodToURI
()
02-mcp-for-devops/code/04/pkg/types/mcp.go:44
MethodUninstall
Uninstall removes a release.
02-mcp-for-devops/code/07/pkg/helm/client.go:104
MethodValidateAPIKey
(ctx context.Context, key string)
02-mcp-for-devops/code/06/pkg/auth/apikey.go:42
FunctionWithIdentity
WithIdentity stamps a caller identifier onto the context. Auth middleware should call this after verifying credentials.
02-mcp-for-devops/code/08/pkg/mcp/server.go:76
Method__init__
(self, container)
03-ai-agent-for-devops/code/14/app.py:50
Method__init__
(self, storage_dir: str, session_id: str = "default")
03-ai-agent-for-devops/code/14/src/memory/chat_store.py:21
Method__init__
(self, storage_dir: str)
03-ai-agent-for-devops/code/14/src/memory/incident_store.py:23
Method__init__
(self, region: Optional[str] = None)
03-ai-agent-for-devops/code/14/src/sources/cloudwatch.py:35
Method__init__
( self, url: Optional[str] = None, api_key: Optional[str] = None, username: Op
03-ai-agent-for-devops/code/14/src/sources/elasticsearch.py:21
Method__init__
( self, namespace: Optional[str] = None, kubeconfig: Optional[str] = None, con
03-ai-agent-for-devops/code/14/src/sources/kubernetes.py:34
Method__init__
(self, window_seconds: int = 60)
03-ai-agent-for-devops/code/14/src/analysis/correlator.py:61
Method__init__
(self, sources: Optional[list[tuple[LogSource, str]]] = None)
03-ai-agent-for-devops/code/14/src/analysis/aggregator.py:40
Method__init__
(self)
03-ai-agent-for-devops/code/14/src/models/minimax.py:11
Method__init__
Initialize the Gemini model
03-ai-agent-for-devops/code/14/src/models/gemini.py:11
Method__init__
(self)
03-ai-agent-for-devops/code/14/src/models/github_openai.py:11
Method__init__
(self, incident_context: str = "")
03-ai-agent-for-devops/code/14/src/agents/log_analyzer.py:42
Method__init__
Initialize the Gemini model
03-ai-agent-for-devops/code/07/src/models/gemini.py:11
Method__init__
Initialize the agent
03-ai-agent-for-devops/code/07/src/agents/log_analyzer.py:30
Method__init__
Initialize the Gemini model
03-ai-agent-for-devops/code/09/src/models/gemini.py:11
Method__init__
Initialize the agent
03-ai-agent-for-devops/code/09/src/agents/log_analyzer.py:27
Method__init__
(self, container)
03-ai-agent-for-devops/code/10/app.py:42
Method__init__
(self)
03-ai-agent-for-devops/code/10/src/models/minimax.py:11
Method__init__
Initialize the Gemini model
03-ai-agent-for-devops/code/10/src/models/gemini.py:11
Method__init__
(self)
03-ai-agent-for-devops/code/10/src/models/github_openai.py:11
Method__init__
(self)
03-ai-agent-for-devops/code/10/src/agents/log_analyzer.py:42
Method__init__
(self, container)
03-ai-agent-for-devops/code/13/app.py:47
Method__init__
(self, storage_dir: str, session_id: str = "default")
03-ai-agent-for-devops/code/13/src/memory/chat_store.py:21
Method__init__
(self, storage_dir: str)
03-ai-agent-for-devops/code/13/src/memory/incident_store.py:23
Method__init__
(self, region: Optional[str] = None)
03-ai-agent-for-devops/code/13/src/sources/cloudwatch.py:35
Method__init__
( self, url: Optional[str] = None, api_key: Optional[str] = None, username: Op
03-ai-agent-for-devops/code/13/src/sources/elasticsearch.py:21
Method__init__
( self, namespace: Optional[str] = None, kubeconfig: Optional[str] = None, con
03-ai-agent-for-devops/code/13/src/sources/kubernetes.py:34
Method__init__
(self)
03-ai-agent-for-devops/code/13/src/models/minimax.py:11
Method__init__
Initialize the Gemini model
03-ai-agent-for-devops/code/13/src/models/gemini.py:11
Method__init__
(self)
03-ai-agent-for-devops/code/13/src/models/github_openai.py:11
Method__init__
(self, incident_context: str = "")
03-ai-agent-for-devops/code/13/src/agents/log_analyzer.py:42
Method__init__
(self, container)
03-ai-agent-for-devops/code/12/app.py:43
Method__init__
(self, storage_dir: str, session_id: str = "default")
03-ai-agent-for-devops/code/12/src/memory/chat_store.py:21
Method__init__
(self, storage_dir: str)
03-ai-agent-for-devops/code/12/src/memory/incident_store.py:23
Method__init__
(self)
03-ai-agent-for-devops/code/12/src/models/minimax.py:11
Method__init__
Initialize the Gemini model
03-ai-agent-for-devops/code/12/src/models/gemini.py:11
Method__init__
(self)
03-ai-agent-for-devops/code/12/src/models/github_openai.py:11
Method__init__
(self, incident_context: str = "")
03-ai-agent-for-devops/code/12/src/agents/log_analyzer.py:42
Method__init__
Initialize the Gemini model
03-ai-agent-for-devops/code/08/src/models/gemini.py:11
Method__init__
Initialize the agent
03-ai-agent-for-devops/code/08/src/agents/log_analyzer.py:29
Function_safe_fetch
Wrapper that converts source errors into empty lists. We don't want one slow/broken source to break the whole timeline. The source-level
03-ai-agent-for-devops/code/14/src/analysis/aggregator.py:122
Functionactivate
(context: vscode.ExtensionContext)
02-mcp-for-devops/code/05/extension/src/extension.ts:31
Functionbuild_incident_timeline
Build a correlated timeline that highlights events happening across multiple sources within the same time window. Use this to find the m
03-ai-agent-for-devops/code/14/src/tools/correlation.py:52
Methodclear
Delete all incidents.
03-ai-agent-for-devops/code/14/src/memory/incident_store.py:129
Methodclear
Delete all incidents.
03-ai-agent-for-devops/code/13/src/memory/incident_store.py:129
Methodclear
Delete all incidents.
03-ai-agent-for-devops/code/12/src/memory/incident_store.py:129
Functioncount_errors
Count how many error lines are in log content. Input should be the log content as a string.
03-ai-agent-for-devops/code/06/src/langchain_log_analyzer.py:23
Methodcross_source
Return only clusters that touch more than one source.
03-ai-agent-for-devops/code/14/src/analysis/correlator.py:93
Functiondeactivate
()
02-mcp-for-devops/code/05/extension/src/extension.ts:68
Methodfetch
( self, target: str, query: Optional[str] = None, minutes: int = 15, l
03-ai-agent-for-devops/code/14/src/sources/cloudwatch.py:47
Methodfetch
( self, target: str, query: Optional[str] = None, minutes: int = 15, l
03-ai-agent-for-devops/code/14/src/sources/elasticsearch.py:38
Methodfetch
( self, target: str, query: Optional[str] = None, minutes: int = 15, l
03-ai-agent-for-devops/code/14/src/sources/kubernetes.py:53
Methodfetch
( self, target: str, query: Optional[str] = None, minutes: int = 15, l
03-ai-agent-for-devops/code/13/src/sources/cloudwatch.py:47
Methodfetch
( self, target: str, query: Optional[str] = None, minutes: int = 15, l
03-ai-agent-for-devops/code/13/src/sources/elasticsearch.py:38
Methodfetch
( self, target: str, query: Optional[str] = None, minutes: int = 15, l
03-ai-agent-for-devops/code/13/src/sources/kubernetes.py:53
Functionfetch_all
Shortcut for callers that don't need their own aggregator instance.
03-ai-agent-for-devops/code/14/src/analysis/aggregator.py:109
Functionfetch_all_logs
Pull logs from every configured source in parallel and return a single chronological list. Use this when you want one merged view of wha
03-ai-agent-for-devops/code/14/src/tools/correlation.py:23
Functionfetch_cloudwatch_logs
Fetch recent CloudWatch Logs from an AWS log group. Use this for application logs that are shipped to CloudWatch — typically EKS pods co
03-ai-agent-for-devops/code/14/src/tools/cloud_logs.py:25
← previousnext →501–600 of 787, ranked by callers