Documentation
¶
Index ¶
- func GenerateHugoConfiguration(workshopDir string, target string, params map[string]string, sessionURL string) error
- func PopulateTemporaryDirectory() (string, error)
- func RenderHugoStaticHTML(workshopDir string, tempDir string) error
- func RunHugoServer(workshopRoot string, kubeconfig string, context string, workshop string, ...) error
- type ServerCleanupFunc
- type WorkshopConfig
- type WorkshopModuleConfig
- type WorkshopParamsConfig
- type WorkshopPathConfig
- type WorkshopPathwaysConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderHugoStaticHTML ¶
Types ¶
type ServerCleanupFunc ¶
type ServerCleanupFunc func()
type WorkshopConfig ¶
type WorkshopConfig struct {
Pathways WorkshopPathwaysConfig `yaml:"pathways,omitempty"`
Params []WorkshopParamsConfig `yaml:"params,omitempty"`
}
type WorkshopModuleConfig ¶
type WorkshopParamsConfig ¶
type WorkshopPathConfig ¶
type WorkshopPathConfig struct {
Title string `yaml:"title,omitempty"`
Description string `yaml:"description,omitempty"`
Params []WorkshopParamsConfig `yaml:"params,omitempty"`
Steps []string `yaml:"steps,omitempty"`
}
type WorkshopPathwaysConfig ¶
type WorkshopPathwaysConfig struct {
Default string `yaml:"default,omitempty"`
Paths map[string]WorkshopPathConfig `yaml:"paths,omitempty"`
Modules map[string]WorkshopModuleConfig `yaml:"modules,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.