Documentation
¶
Index ¶
- func EnvVars(request mcp.CallToolRequest) ([]client.EnvVarInput, bool, error)
- func KeyValuePlan(plan string) (*client.KeyValuePlan, error)
- func OptionalToolArrayParam[T any](request mcp.CallToolRequest, param string) ([]T, bool, error)
- func OptionalToolParam[T any](request mcp.CallToolRequest, param string) (T, bool, error)
- func PaidPlan(plan string) (*client.PaidPlan, error)
- func PostgresDiskSizeGb(diskSizeGb int) error
- func PostgresPlan(plan string) (pgclient.PostgresPlans, error)
- func RequiredToolArrayParam[T any](request mcp.CallToolRequest, param string) ([]T, error)
- func RequiredToolParam[T any](request mcp.CallToolRequest, param string) (T, error)
- func WorkspaceMatches(workspaceID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvVars ¶
func EnvVars(request mcp.CallToolRequest) ([]client.EnvVarInput, bool, error)
func KeyValuePlan ¶
func KeyValuePlan(plan string) (*client.KeyValuePlan, error)
func OptionalToolArrayParam ¶
func OptionalToolParam ¶
OptionalToolParam retrieves an optional parameter from the request arguments. If the parameter is present and of the correct type, it returns the value and true. If the parameter is not present or of the incorrect type, it returns the zero value and false.
func PostgresDiskSizeGb ¶
func PostgresPlan ¶
func PostgresPlan(plan string) (pgclient.PostgresPlans, error)
func RequiredToolArrayParam ¶
func RequiredToolArrayParam[T any](request mcp.CallToolRequest, param string) ([]T, error)
func RequiredToolParam ¶
func RequiredToolParam[T any](request mcp.CallToolRequest, param string) (T, error)
func WorkspaceMatches ¶
WorkspaceMatches gets the workspace from the config and validates that it matches the provided input. If the workspace is not set, no error is returned
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.