本文整理匯總了Golang中github.com/dynport/urknall.Package.AddTemplate方法的典型用法代碼示例。如果您正苦於以下問題:Golang Package.AddTemplate方法的具體用法?Golang Package.AddTemplate怎麽用?Golang Package.AddTemplate使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類github.com/dynport/urknall.Package
的用法示例。
在下文中一共展示了Package.AddTemplate方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Golang代碼示例。
示例1: Render
func (tpl *UbuntuRiakRemove) Render(p urknall.Package) {
p.AddTemplate("riak", &UbuntuRiakRemoveTemplate{})
}
示例2: Render
func (tpl *UbuntuMegamGatewayInstall) Render(p urknall.Package) {
p.AddTemplate("gateway", &UbuntuMegamGatewayInstallTemplate{})
}
示例3: Render
func (tpl *UbuntuMegamCommonInstall) Render(p urknall.Package) {
p.AddTemplate("common", &UbuntuMegamCommonInstallTemplate{})
}
示例4: Render
func (tpl *UbuntuRiakInstall) Render(p urknall.Package) {
p.AddTemplate("riak", &UbuntuRiakInstallTemplate{})
}
示例5: Render
func (tpl *UbuntuMegamdInstall) Render(p urknall.Package) {
p.AddTemplate("megamd", &UbuntuMegamdInstallTemplate{})
}
示例6: Render
func (tpl *UbuntuRabbitmqRemove) Render(p urknall.Package) {
p.AddTemplate("rabbitmq", &UbuntuRabbitRemoveTemplate{})
}
示例7: Render
func (tpl *UbuntuMegamCommonRemove) Render(p urknall.Package) {
p.AddTemplate("common", &UbuntuMegamCommonRemoveTemplate{})
}
示例8: Render
func (tpl *UbuntuMegamReport) Render(p urknall.Package) {
p.AddTemplate("report", &UbuntuMegamReportTemplate{})
}
示例9: Render
func (tpl *UbuntuRabbitmqInstall) Render(p urknall.Package) {
p.AddTemplate("rabbitmq", &UbuntuRabbitmqInstallTemplate{})
}
示例10: Render
func (tpl *UbuntuCephInstall) Render(p urknall.Package) {
p.AddTemplate("ceph", &UbuntuCephInstallTemplate{})
}
示例11: Render
func (tpl *UbuntuMegamdRemove) Render(p urknall.Package) {
p.AddTemplate("megamd", &UbuntuMegamdRemoveTemplate{})
}
示例12: Render
func (tpl *UbuntuBridge) Render(p urknall.Package) {
p.AddTemplate("bridge", &UbuntuBridgeTemplate{})
}
示例13: Render
func (tpl *UbuntuMegamGatewayRemove) Render(p urknall.Package) {
p.AddTemplate("gateway", &UbuntuMegamGatewayRemoveTemplate{})
}
示例14: Render
func (tpl *UbuntuMegamSnowflakeRemove) Render(p urknall.Package) {
p.AddTemplate("snowflake", &UbuntuMegamSnowflakeRemoveTemplate{})
}
示例15: Render
func (tpl *UbuntuOneHostRemove) Render(p urknall.Package) {
p.AddTemplate("onehost", &UbuntuOneHostRemoveTemplate{})
}