Documentation
¶
Index ¶
- func GetInternalAppleSpec() stringdeprecated
- func GetInternalDockerSpec() stringdeprecated
- func GetInternalLocalContainerSpec() string
- func GetInternalNomadSpec() string
- func GetInternalPodmanSpec() stringdeprecated
- func InitializeMCPServer(routes *http.ServeMux, enableWebEndpoint bool, nativeTools bool) *mcp.Server
- func ToolFilter(user *model.User) openai.ToolFilter
- type Group
- type GroupList
- type SharedWith
- type SkillInfo
- type Space
- type SpaceDefinition
- type SpaceList
- type Template
- type TemplateGroup
- type TemplateList
- type User
- type UserList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInternalAppleSpec
deprecated
added in
v0.20.0
func GetInternalAppleSpec() string
Deprecated: Use GetInternalLocalContainerSpec instead
func GetInternalDockerSpec
deprecated
func GetInternalDockerSpec() string
Deprecated: Use GetInternalLocalContainerSpec instead
func GetInternalLocalContainerSpec ¶ added in v0.20.0
func GetInternalLocalContainerSpec() string
GetInternalLocalContainerSpec returns the embedded local container spec (for scaffold command)
func GetInternalNomadSpec ¶
func GetInternalNomadSpec() string
GetInternalNomadSpec returns the embedded nomad spec (for scaffold command)
func GetInternalPodmanSpec
deprecated
func GetInternalPodmanSpec() string
Deprecated: Use GetInternalLocalContainerSpec instead
func InitializeMCPServer ¶
func ToolFilter ¶
func ToolFilter(user *model.User) openai.ToolFilter
Types ¶
type SharedWith ¶
type SharedWith struct {
}
type Space ¶
type Space struct {
ID string `json:"id"`
Name string `json:"name"`
State string `json:"state"`
Description string `json:"description"`
Note string `json:"note"`
Zone string `json:"zone"`
Platform string `json:"platform"`
WebPorts []string `json:"web_ports"`
TCPPorts []string `json:"tcp_ports"`
SSH bool `json:"ssh"`
WebTerminal bool `json:"web_terminal"`
CustomFields []model.SpaceCustomField `json:"custom_fields"`
}
type SpaceDefinition ¶
type SpaceDefinition struct {
UserId string `json:"user_id"`
TemplateId string `json:"template_id"`
Name string `json:"name"`
Description string `json:"description"`
Shell string `json:"shell"`
Zone string `json:"zone"`
AltNames []string `json:"alt_names"`
IsDeployed bool `json:"is_deployed"`
IsPending bool `json:"is_pending"`
IsDeleting bool `json:"is_deleting"`
StartedAt time.Time `json:"started_at"`
CreatedAt time.Time `json:"created_at"`
IconURL string `json:"icon_url"`
CustomFields []apiclient.CustomFieldValue `json:"custom_fields"`
}
type Template ¶
type Template struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Platform string `json:"platform"`
Groups []TemplateGroup `json:"groups"`
ComputeUnits uint32 `json:"compute_units"`
StorageUnits uint32 `json:"storage_units"`
ScheduleEnabled bool `json:"schedule_enabled"`
IsManaged bool `json:"is_managed"`
Schedule string `json:"schedule"`
Zones []string `json:"zones"`
CustomFields []model.TemplateCustomField `json:"custom_fields"`
MaxUptime uint32 `json:"max_uptime"`
MaxUptimeUnit string `json:"max_uptime_unit"`
}
type TemplateGroup ¶
type TemplateList ¶
type TemplateList struct {
Templates []Template `json:"templates"`
}
Click to show internal directories.
Click to hide internal directories.