Documentation
¶
Overview ¶
Package recipes is a small HTTP client for the SimpleDeploy community recipes catalog. The catalog is a static JSON index plus per-recipe compose.yml/README.md files served from GitHub Pages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) Client ¶
Client returns the underlying HTTP client (used by API handlers to fetch per-recipe sub-resources without re-implementing host whitelisting).
func (*Cache) Invalidate ¶
func (c *Cache) Invalidate()
type Recipe ¶
type Recipe struct {
ID string `json:"id"`
Name string `json:"name"`
Icon string `json:"icon,omitempty"`
Category string `json:"category"`
Description string `json:"description"`
Tags []string `json:"tags,omitempty"`
Author string `json:"author,omitempty"`
Homepage string `json:"homepage,omitempty"`
ComposeURL string `json:"compose_url"`
ReadmeURL string `json:"readme_url"`
ScreenshotURL string `json:"screenshot_url,omitempty"`
SchemaVersion int `json:"schema_version,omitempty"`
MinSimpleDeployVersion string `json:"min_simpledeploy_version,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.