Documentation
¶
Index ¶
- Constants
- func NewModule() types.Module
- type TinetModule
- func (m TinetModule) CheckModuleRequirements(cfg *types.Config, nm *types.NetworkModel) error
- func (m TinetModule) GenerateParameters(cfg *types.Config, nm *types.NetworkModel) error
- func (m *TinetModule) GenerateValueParameters(generatorName string, target types.ValueOwner, cfg *types.Config, ...) ([]map[string]string, error)
- func (m *TinetModule) UpdateConfig(cfg *types.Config) error
Constants ¶
View Source
const InterfaceClassName = "_tinetInterface"
View Source
const NetworkClassName = "_tinetNetwork"
View Source
const NodeClassName = "_tinetNode"
View Source
const SpecCmdFormatName = "tinetSpecCmd"
View Source
const TinetBindMountsParamName = "_tn_bindMounts"
View Source
const TinetImageParamName = "image"
View Source
const TinetNetworkNameParamName = "_tn_networkName"
View Source
const TinetOutputFile = "spec.yaml"
View Source
const TinetYamlFormatName = "_tinetYaml"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TinetModule ¶
type TinetModule struct {
*types.StandardModule
}
func (TinetModule) CheckModuleRequirements ¶
func (m TinetModule) CheckModuleRequirements(cfg *types.Config, nm *types.NetworkModel) error
func (TinetModule) GenerateParameters ¶
func (m TinetModule) GenerateParameters(cfg *types.Config, nm *types.NetworkModel) error
func (*TinetModule) GenerateValueParameters ¶ added in v0.7.0
func (m *TinetModule) GenerateValueParameters( generatorName string, target types.ValueOwner, cfg *types.Config, nm *types.NetworkModel, ) ([]map[string]string, error)
GenerateValueParameters implements ParameterGenerator interface Generates parameter sets for Value objects based on generator name
func (*TinetModule) UpdateConfig ¶
func (m *TinetModule) UpdateConfig(cfg *types.Config) error
Click to show internal directories.
Click to hide internal directories.