Documentation ¶
Overview ¶
Package template implements the interface through which templates can be edited and configured.
Index ¶
- type Template
- type TemplateConfig
- func (tc TemplateConfig) Component() component.ComponentConfig
- func (tc TemplateConfig) KConfigMenu() (*kconfig.KConfigFile, error)
- func (tc TemplateConfig) KConfigValues() (kconfig.KConfigValues, error)
- func (tc TemplateConfig) Name() string
- func (tc TemplateConfig) PrintInfo() string
- func (tc TemplateConfig) Source() string
- func (tc TemplateConfig) Type() unikraft.ComponentType
- func (tc TemplateConfig) Version() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TemplateConfig ¶
type TemplateConfig struct {
component.ComponentConfig
}
TemplateConfig is the configuration of a template. It is identical to the component configuration
func (TemplateConfig) Component ¶
func (tc TemplateConfig) Component() component.ComponentConfig
Component returns the component of the template
func (TemplateConfig) KConfigMenu ¶
func (tc TemplateConfig) KConfigMenu() (*kconfig.KConfigFile, error)
KConfigMenu returns the path to the kconfig file of the template
func (TemplateConfig) KConfigValues ¶
func (tc TemplateConfig) KConfigValues() (kconfig.KConfigValues, error)
KConfigValues returns the kconfig values of the template
func (TemplateConfig) Name ¶
func (tc TemplateConfig) Name() string
Name returns the name of the template
func (TemplateConfig) PrintInfo ¶
func (tc TemplateConfig) PrintInfo() string
PrintInfo prints information about the template
func (TemplateConfig) Source ¶
func (tc TemplateConfig) Source() string
Source returns the source of the template
func (TemplateConfig) Type ¶
func (tc TemplateConfig) Type() unikraft.ComponentType
Type returns the type of the template
func (TemplateConfig) Version ¶
func (tc TemplateConfig) Version() string
Version returns the version of the template
Click to show internal directories.
Click to hide internal directories.