Documentation
¶
Overview ¶
Package claude provides commands for integrating with Claude Code through GitLab Duo.
Index ¶
Constants ¶
View Source
const ( // Standard claude environment variables defined [here](https://docs.anthropic.com/en/docs/claude-code/settings#environment-variables) EnvAnthropicCustomHeaders = "ANTHROPIC_CUSTOM_HEADERS" EnvAnthropicBaseURL = "ANTHROPIC_BASE_URL" EnvAnthropicModel = "ANTHROPIC_MODEL" EnvAnthropicAuthToken = "ANTHROPIC_AUTH_TOKEN" // Default model: This needs to be configured as we don't support // all models DefaultClaudeModel = "claude-sonnet-4-20250514" // Claude executable name ClaudeExecutable = "claude" // Settings configuration ClaudeSettingsDir = ".claude" SettingsFileName = "settings.json" APIKeyHelperKey = "apiKeyHelper" CloudConnectorUrl = "https://cloud.gitlab.com/ai/v1/proxy/anthropic" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DirectAccessResponse ¶
type DirectAccessResponse struct { Headers map[string]string `json:"headers"` Token string `json:"token"` }
DirectAccessResponse represents the response from GitLab direct access token API.
Click to show internal directories.
Click to hide internal directories.