Documentation
¶
Index ¶
- Variables
- func DashboardURL() string
- func IncludeSensitiveInfo() bool
- func InitRuntimeConfig(includeSensitiveInfo bool)
- func IsWorkspaceSet() bool
- func SelectWorkspace(workspaceID string) error
- func SetAPIConfig(input APIConfig) error
- func SetDashboardURL(u string) error
- func WorkspaceID() (string, error)
- type APIConfig
- type Config
- type RuntimeConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLogin = errors.New("not authenticated; either set RENDER_API_KEY or ask your MCP host to authenticate")
View Source
var ErrNoWorkspace = errors.New("no workspace set. Prompt the user to select a workspace. Do NOT try to select a workspace for them, as it may be destructive")
Functions ¶
func DashboardURL ¶
func DashboardURL() string
func IncludeSensitiveInfo ¶
func IncludeSensitiveInfo() bool
IncludeSensitiveInfo returns whether sensitive info should be included in tool reponse to the MCP host.
func InitRuntimeConfig ¶
func InitRuntimeConfig(includeSensitiveInfo bool)
func IsWorkspaceSet ¶
func IsWorkspaceSet() bool
func SelectWorkspace ¶
func SetAPIConfig ¶
func SetDashboardURL ¶
func WorkspaceID ¶
Types ¶
type APIConfig ¶
type APIConfig struct {
Key string `yaml:"key,omitempty"`
ExpiresAt int64 `yaml:"expires_at,omitempty"`
Host string `json:"host,omitempty"`
RefreshToken string `json:"refresh_token,omitempty"`
}
func DefaultAPIConfig ¶
type Config ¶
type RuntimeConfig ¶
type RuntimeConfig struct {
// contains filtered or unexported fields
}
RuntimeConfig holds application runtime configuration settings. It should not be persisted to disk.
Click to show internal directories.
Click to hide internal directories.