Documentation ¶
Overview ¶
** Copyright [2013-2016] [Megam Systems] ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** distributed under the License is distributed on an "AS IS" BASIS, ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** See the License for the specific language governing permissions and ** limitations under the License.
** Copyright [2013-2016] [Megam Systems] ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** distributed under the License is distributed on an "AS IS" BASIS, ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** See the License for the specific language governing permissions and ** limitations under the License.
** Copyright [2013-2016] [Megam Systems] ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** distributed under the License is distributed on an "AS IS" BASIS, ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** See the License for the specific language governing permissions and ** limitations under the License.
** Copyright [2013-2016] [Megam Systems] ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** distributed under the License is distributed on an "AS IS" BASIS, ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** See the License for the specific language governing permissions and ** limitations under the License.
Index ¶
- Constants
- type DebianAttachOneHost
- type DebianAttachOneHostTemplate
- type DebianCephDatastore
- type DebianCephDatastoreTemplate
- type DebianCephGateway
- type DebianCephGatewayTemplate
- type DebianCephInstall
- type DebianCephInstallTemplate
- type DebianCephRemove
- type DebianCephRemoveTemplate
- type DebianCreateBridge
- type DebianCreateBridgeTemplate
- type DebianCreateDatastoreLvm
- type DebianCreateDatastoreLvmTemplate
- type DebianCreateNetwork
- type DebianCreateNetworkOpennebula
- type DebianCreateNetworkOpennebulaTemplate
- type DebianCreateNetworkTemplate
- type DebianCreateVolume
- type DebianCreateVolumeTemplate
- type DebianGatewayInstall
- type DebianGatewayInstallTemplate
- type DebianGatewayRemove
- type DebianGatewayRemoveTemplate
- type DebianHostCheck
- type DebianHostCheckTemplate
- type DebianHostInfo
- type DebianHostInfoTemplate
- type DebianMegamCommonInstall
- type DebianMegamCommonInstallTemplate
- type DebianMegamCommonRemove
- type DebianMegamCommonRemoveTemplate
- type DebianMegamdInstall
- type DebianMegamdInstallTemplate
- type DebianMegamdRemove
- type DebianMegamdRemoveTemplate
- type DebianNilavuInstall
- type DebianNilavuInstallTemplate
- type DebianNilavuRemove
- type DebianNilavuRemoveTemplate
- type DebianOneHostInstall
- type DebianOneHostInstallTemplate
- type DebianOneHostRemove
- type DebianOneHostRemoveTemplate
- type DebianOneInstall
- type DebianOneInstallTemplate
- type DebianOneRemove
- type DebianOneRemoveTemplate
- type DebianSnowflakeInstall
- type DebianSnowflakeInstallTemplate
- type DebianSnowflakeRemove
- type DebianSnowflakeRemoveTemplate
- type DebianSshPass
- type DebianSshPassTemplate
- type DebianVerticeConfig
- type DebianVerticeConfigTemplate
- type DebianVerticeReport
- type DebianVerticeReportTemplate
Constants ¶
const ( InfoDriver = "InfoDriver" Vm = "Vm" HostName = "HostName" Networking = "Networking" )
const ( Ceph_User = "megdc" Poolname = "one" Uid = `uuidgen` Xml = `` /* 174-byte string literal not displayed */ Setval = `sudo virsh secret-set-value --secret %v --base64 $(cat client.libvirt.key)` Echo = `echo '%v'` )
const ( Ceph_conf = `` /* 201-byte string literal not displayed */ S3gw = ` #!/bin/sh exec /usr/bin/radosgw -c /etc/ceph/ceph.conf -n client.radosgw.admin ` Rgw_conf = `` /* 719-byte string literal not displayed */ )
const ( CephUser = "CephUser" Osd = "Osd" Phydev = "PhyDev" UserHomePrefix = "/home/" StrictHostKey = ` ConnectTimeout 5 Host * StrictHostKeyChecking no ` SSHHostConfig = ` Host %s Hostname %s User %s ` CephConf = `` /* 126-byte string literal not displayed */ )
const ( Bridgename = "Bridgename" PhyDev = "PhyDev" Network = "Network" Netmask = "Netmask" Gateway = "Gateway" Dnsname1 = "Dnsname1" Dnsname2 = "Dnsname2" Interface = `` /* 199-byte string literal not displayed */ )
const ( VgName = "VgName" PoolName = "PoolName" Hostname = "Hostname" Dslvmconf = `NAME = "lvmds" DS_MAD = lvm TM_MAD = lvm DISK_TYPE = block POOL_NAME = %s BRIDGE_LIST = %s VG_NAME = "%s" HOST = "%s" ` )
const ( BRIDGE_NAME = "Bridge" PHY_DEV = "PhyDev" )
const ( Bridge = "Bridge" Iptype = "Iptype" Ip = "Ip" Size = "Size" Networkmask = "Networkmask" Gatewayip = "Gatewayip" Dns1 = "Dns1" Dns2 = "Dns2" Opennetwork = `` /* 161-byte string literal not displayed */ )
const ( ONE_INSTALL_LOG = "/var/log/megam/megamcib/opennebula.log" Slash = `\` )
const ( // DefaultMegamRepo is the default megam repository to install if its not provided. DefaultMegamRepo = "http://get.megam.io/1.0/debian/8/ jessie testing" ListFilePath = "/etc/apt/sources.list.d/megam.list" )
const (
Disk = "Disk"
)
const (
KnownHostsList = `
ConnectTimeout 5
Host *
StrictHostKeyChecking no
`
)
const (
ONEHOST_INSTALL_LOG = "/var/log/megam/megamcib/opennebulahost.log"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebianAttachOneHost ¶
type DebianAttachOneHost struct {
// contains filtered or unexported fields
}
func (*DebianAttachOneHost) Options ¶
func (tpl *DebianAttachOneHost) Options(t *templates.Template)
func (*DebianAttachOneHost) Render ¶
func (tpl *DebianAttachOneHost) Render(p urknall.Package)
type DebianAttachOneHostTemplate ¶
type DebianAttachOneHostTemplate struct {
// contains filtered or unexported fields
}
func (*DebianAttachOneHostTemplate) Render ¶
func (m *DebianAttachOneHostTemplate) Render(pkg urknall.Package)
type DebianCephDatastore ¶
type DebianCephDatastore struct{}
func (*DebianCephDatastore) Options ¶
func (tpl *DebianCephDatastore) Options(t *templates.Template)
func (*DebianCephDatastore) Render ¶
func (tpl *DebianCephDatastore) Render(p urknall.Package)
type DebianCephDatastoreTemplate ¶
type DebianCephDatastoreTemplate struct{}
func (*DebianCephDatastoreTemplate) Render ¶
func (m *DebianCephDatastoreTemplate) Render(pkg urknall.Package)
type DebianCephGateway ¶
type DebianCephGateway struct { }
func (*DebianCephGateway) Options ¶
func (tpl *DebianCephGateway) Options(t *templates.Template)
func (*DebianCephGateway) Render ¶
func (tpl *DebianCephGateway) Render(p urknall.Package)
type DebianCephGatewayTemplate ¶
type DebianCephGatewayTemplate struct { }
func (*DebianCephGatewayTemplate) Render ¶
func (m *DebianCephGatewayTemplate) Render(pkg urknall.Package)
type DebianCephInstall ¶
type DebianCephInstall struct {
// contains filtered or unexported fields
}
func (*DebianCephInstall) Options ¶
func (tpl *DebianCephInstall) Options(t *templates.Template)
func (*DebianCephInstall) Render ¶
func (tpl *DebianCephInstall) Render(p urknall.Package)
type DebianCephInstallTemplate ¶
type DebianCephInstallTemplate struct {
// contains filtered or unexported fields
}
func (*DebianCephInstallTemplate) Render ¶
func (m *DebianCephInstallTemplate) Render(pkg urknall.Package)
type DebianCephRemove ¶
type DebianCephRemove struct {
// contains filtered or unexported fields
}
func (*DebianCephRemove) Options ¶
func (tpl *DebianCephRemove) Options(t *templates.Template)
func (*DebianCephRemove) Render ¶
func (tpl *DebianCephRemove) Render(p urknall.Package)
type DebianCephRemoveTemplate ¶
type DebianCephRemoveTemplate struct {
// contains filtered or unexported fields
}
func (*DebianCephRemoveTemplate) Render ¶
func (m *DebianCephRemoveTemplate) Render(pkg urknall.Package)
type DebianCreateBridge ¶
type DebianCreateBridge struct {
// contains filtered or unexported fields
}
func (*DebianCreateBridge) Options ¶
func (tpl *DebianCreateBridge) Options(t *templates.Template)
func (*DebianCreateBridge) Render ¶
func (tpl *DebianCreateBridge) Render(p urknall.Package)
type DebianCreateBridgeTemplate ¶
type DebianCreateBridgeTemplate struct {
// contains filtered or unexported fields
}
func (*DebianCreateBridgeTemplate) Render ¶
func (m *DebianCreateBridgeTemplate) Render(pkg urknall.Package)
type DebianCreateDatastoreLvm ¶
type DebianCreateDatastoreLvm struct {
// contains filtered or unexported fields
}
func (*DebianCreateDatastoreLvm) Options ¶
func (tpl *DebianCreateDatastoreLvm) Options(t *templates.Template)
func (*DebianCreateDatastoreLvm) Render ¶
func (tpl *DebianCreateDatastoreLvm) Render(p urknall.Package)
type DebianCreateDatastoreLvmTemplate ¶
type DebianCreateDatastoreLvmTemplate struct {
// contains filtered or unexported fields
}
func (*DebianCreateDatastoreLvmTemplate) Render ¶
func (m *DebianCreateDatastoreLvmTemplate) Render(pkg urknall.Package)
type DebianCreateNetwork ¶
func (*DebianCreateNetwork) Options ¶
func (tpl *DebianCreateNetwork) Options(t *templates.Template)
func (*DebianCreateNetwork) Render ¶
func (tpl *DebianCreateNetwork) Render(p urknall.Package)
type DebianCreateNetworkOpennebula ¶
type DebianCreateNetworkOpennebula struct {
// contains filtered or unexported fields
}
func (*DebianCreateNetworkOpennebula) Options ¶
func (tpl *DebianCreateNetworkOpennebula) Options(t *templates.Template)
func (*DebianCreateNetworkOpennebula) Render ¶
func (tpl *DebianCreateNetworkOpennebula) Render(p urknall.Package)
type DebianCreateNetworkOpennebulaTemplate ¶
type DebianCreateNetworkOpennebulaTemplate struct {
// contains filtered or unexported fields
}
func (*DebianCreateNetworkOpennebulaTemplate) Render ¶
func (m *DebianCreateNetworkOpennebulaTemplate) Render(pkg urknall.Package)
type DebianCreateNetworkTemplate ¶
func (*DebianCreateNetworkTemplate) Render ¶
func (m *DebianCreateNetworkTemplate) Render(pkg urknall.Package)
type DebianCreateVolume ¶
type DebianCreateVolume struct {
// contains filtered or unexported fields
}
func (*DebianCreateVolume) Options ¶
func (tpl *DebianCreateVolume) Options(t *templates.Template)
func (*DebianCreateVolume) Render ¶
func (tpl *DebianCreateVolume) Render(p urknall.Package)
type DebianCreateVolumeTemplate ¶
type DebianCreateVolumeTemplate struct {
// contains filtered or unexported fields
}
func (*DebianCreateVolumeTemplate) Render ¶
func (m *DebianCreateVolumeTemplate) Render(pkg urknall.Package)
type DebianGatewayInstall ¶
type DebianGatewayInstall struct{}
func (*DebianGatewayInstall) Options ¶
func (tpl *DebianGatewayInstall) Options(t *templates.Template)
func (*DebianGatewayInstall) Render ¶
func (tpl *DebianGatewayInstall) Render(p urknall.Package)
type DebianGatewayInstallTemplate ¶
type DebianGatewayInstallTemplate struct{}
func (*DebianGatewayInstallTemplate) Render ¶
func (m *DebianGatewayInstallTemplate) Render(pkg urknall.Package)
type DebianGatewayRemove ¶
type DebianGatewayRemove struct{}
func (*DebianGatewayRemove) Options ¶
func (tpl *DebianGatewayRemove) Options(t *templates.Template)
func (*DebianGatewayRemove) Render ¶
func (tpl *DebianGatewayRemove) Render(p urknall.Package)
type DebianGatewayRemoveTemplate ¶
type DebianGatewayRemoveTemplate struct{}
func (*DebianGatewayRemoveTemplate) Render ¶
func (m *DebianGatewayRemoveTemplate) Render(pkg urknall.Package)
type DebianHostCheck ¶
type DebianHostCheck struct{}
func (*DebianHostCheck) Options ¶
func (tpl *DebianHostCheck) Options(t *templates.Template)
func (*DebianHostCheck) Render ¶
func (tpl *DebianHostCheck) Render(p urknall.Package)
type DebianHostCheckTemplate ¶
type DebianHostCheckTemplate struct{}
func (*DebianHostCheckTemplate) Render ¶
func (m *DebianHostCheckTemplate) Render(pkg urknall.Package)
type DebianHostInfo ¶
type DebianHostInfo struct{}
func (*DebianHostInfo) Options ¶
func (tpl *DebianHostInfo) Options(t *templates.Template)
func (*DebianHostInfo) Render ¶
func (tpl *DebianHostInfo) Render(p urknall.Package)
type DebianHostInfoTemplate ¶
type DebianHostInfoTemplate struct{}
func (*DebianHostInfoTemplate) Render ¶
func (m *DebianHostInfoTemplate) Render(pkg urknall.Package)
type DebianMegamCommonInstall ¶
type DebianMegamCommonInstall struct{}
func (*DebianMegamCommonInstall) Options ¶
func (tpl *DebianMegamCommonInstall) Options(t *templates.Template)
func (*DebianMegamCommonInstall) Render ¶
func (tpl *DebianMegamCommonInstall) Render(p urknall.Package)
type DebianMegamCommonInstallTemplate ¶
type DebianMegamCommonInstallTemplate struct{}
func (*DebianMegamCommonInstallTemplate) Render ¶
func (m *DebianMegamCommonInstallTemplate) Render(pkg urknall.Package)
type DebianMegamCommonRemove ¶
type DebianMegamCommonRemove struct{}
func (*DebianMegamCommonRemove) Options ¶
func (tpl *DebianMegamCommonRemove) Options(t *templates.Template)
func (*DebianMegamCommonRemove) Render ¶
func (tpl *DebianMegamCommonRemove) Render(p urknall.Package)
type DebianMegamCommonRemoveTemplate ¶
type DebianMegamCommonRemoveTemplate struct{}
func (*DebianMegamCommonRemoveTemplate) Render ¶
func (m *DebianMegamCommonRemoveTemplate) Render(pkg urknall.Package)
type DebianMegamdInstall ¶
type DebianMegamdInstall struct{}
func (*DebianMegamdInstall) Options ¶
func (tpl *DebianMegamdInstall) Options(t *templates.Template)
func (*DebianMegamdInstall) Render ¶
func (tpl *DebianMegamdInstall) Render(p urknall.Package)
type DebianMegamdInstallTemplate ¶
type DebianMegamdInstallTemplate struct{}
func (*DebianMegamdInstallTemplate) Render ¶
func (m *DebianMegamdInstallTemplate) Render(pkg urknall.Package)
type DebianMegamdRemove ¶
type DebianMegamdRemove struct{}
func (*DebianMegamdRemove) Options ¶
func (tpl *DebianMegamdRemove) Options(t *templates.Template)
func (*DebianMegamdRemove) Render ¶
func (tpl *DebianMegamdRemove) Render(p urknall.Package)
type DebianMegamdRemoveTemplate ¶
type DebianMegamdRemoveTemplate struct{}
func (*DebianMegamdRemoveTemplate) Render ¶
func (m *DebianMegamdRemoveTemplate) Render(pkg urknall.Package)
type DebianNilavuInstall ¶
type DebianNilavuInstall struct{}
func (*DebianNilavuInstall) Options ¶
func (tpl *DebianNilavuInstall) Options(t *templates.Template)
func (*DebianNilavuInstall) Render ¶
func (tpl *DebianNilavuInstall) Render(p urknall.Package)
type DebianNilavuInstallTemplate ¶
type DebianNilavuInstallTemplate struct{}
func (*DebianNilavuInstallTemplate) Render ¶
func (m *DebianNilavuInstallTemplate) Render(pkg urknall.Package)
type DebianNilavuRemove ¶
type DebianNilavuRemove struct{}
func (*DebianNilavuRemove) Options ¶
func (tpl *DebianNilavuRemove) Options(t *templates.Template)
func (*DebianNilavuRemove) Render ¶
func (tpl *DebianNilavuRemove) Render(p urknall.Package)
type DebianNilavuRemoveTemplate ¶
type DebianNilavuRemoveTemplate struct{}
func (*DebianNilavuRemoveTemplate) Render ¶
func (m *DebianNilavuRemoveTemplate) Render(pkg urknall.Package)
type DebianOneHostInstall ¶
type DebianOneHostInstall struct{}
func (*DebianOneHostInstall) Options ¶
func (tpl *DebianOneHostInstall) Options(t *templates.Template)
func (*DebianOneHostInstall) Render ¶
func (tpl *DebianOneHostInstall) Render(p urknall.Package)
type DebianOneHostInstallTemplate ¶
type DebianOneHostInstallTemplate struct{}
func (*DebianOneHostInstallTemplate) Render ¶
func (m *DebianOneHostInstallTemplate) Render(pkg urknall.Package)
type DebianOneHostRemove ¶
type DebianOneHostRemove struct{}
func (*DebianOneHostRemove) Options ¶
func (tpl *DebianOneHostRemove) Options(t *templates.Template)
func (*DebianOneHostRemove) Render ¶
func (tpl *DebianOneHostRemove) Render(p urknall.Package)
type DebianOneHostRemoveTemplate ¶
type DebianOneHostRemoveTemplate struct{}
func (*DebianOneHostRemoveTemplate) Render ¶
func (m *DebianOneHostRemoveTemplate) Render(pkg urknall.Package)
type DebianOneInstall ¶
type DebianOneInstall struct{}
func (*DebianOneInstall) Options ¶
func (tpl *DebianOneInstall) Options(t *templates.Template)
func (*DebianOneInstall) Render ¶
func (tpl *DebianOneInstall) Render(p urknall.Package)
type DebianOneInstallTemplate ¶
type DebianOneInstallTemplate struct{}
func (*DebianOneInstallTemplate) Render ¶
func (m *DebianOneInstallTemplate) Render(pkg urknall.Package)
type DebianOneRemove ¶
type DebianOneRemove struct{}
func (*DebianOneRemove) Options ¶
func (tpl *DebianOneRemove) Options(t *templates.Template)
func (*DebianOneRemove) Render ¶
func (tpl *DebianOneRemove) Render(p urknall.Package)
type DebianOneRemoveTemplate ¶
type DebianOneRemoveTemplate struct{}
func (*DebianOneRemoveTemplate) Render ¶
func (m *DebianOneRemoveTemplate) Render(pkg urknall.Package)
type DebianSnowflakeInstall ¶
type DebianSnowflakeInstall struct{}
func (*DebianSnowflakeInstall) Options ¶
func (tpl *DebianSnowflakeInstall) Options(t *templates.Template)
func (*DebianSnowflakeInstall) Render ¶
func (tpl *DebianSnowflakeInstall) Render(p urknall.Package)
type DebianSnowflakeInstallTemplate ¶
type DebianSnowflakeInstallTemplate struct{}
func (*DebianSnowflakeInstallTemplate) Render ¶
func (m *DebianSnowflakeInstallTemplate) Render(pkg urknall.Package)
type DebianSnowflakeRemove ¶
type DebianSnowflakeRemove struct{}
func (*DebianSnowflakeRemove) Options ¶
func (tpl *DebianSnowflakeRemove) Options(t *templates.Template)
func (*DebianSnowflakeRemove) Render ¶
func (tpl *DebianSnowflakeRemove) Render(p urknall.Package)
type DebianSnowflakeRemoveTemplate ¶
type DebianSnowflakeRemoveTemplate struct{}
func (*DebianSnowflakeRemoveTemplate) Render ¶
func (m *DebianSnowflakeRemoveTemplate) Render(pkg urknall.Package)
type DebianSshPass ¶
type DebianSshPass struct {
Host string
}
func (*DebianSshPass) Options ¶
func (tpl *DebianSshPass) Options(t *templates.Template)
func (*DebianSshPass) Render ¶
func (tpl *DebianSshPass) Render(p urknall.Package)
type DebianSshPassTemplate ¶
type DebianSshPassTemplate struct {
Host string
}
func (*DebianSshPassTemplate) Render ¶
func (m *DebianSshPassTemplate) Render(pkg urknall.Package)
type DebianVerticeConfig ¶
type DebianVerticeConfig struct{}
func (*DebianVerticeConfig) Options ¶
func (tpl *DebianVerticeConfig) Options(t *templates.Template)
func (*DebianVerticeConfig) Render ¶
func (tpl *DebianVerticeConfig) Render(p urknall.Package)
type DebianVerticeConfigTemplate ¶
type DebianVerticeConfigTemplate struct{}
func (*DebianVerticeConfigTemplate) Render ¶
func (m *DebianVerticeConfigTemplate) Render(pkg urknall.Package)
type DebianVerticeReport ¶
type DebianVerticeReport struct{}
func (*DebianVerticeReport) Options ¶
func (tpl *DebianVerticeReport) Options(t *templates.Template)
func (*DebianVerticeReport) Render ¶
func (tpl *DebianVerticeReport) Render(p urknall.Package)
type DebianVerticeReportTemplate ¶
type DebianVerticeReportTemplate struct{}
func (*DebianVerticeReportTemplate) Render ¶
func (m *DebianVerticeReportTemplate) Render(pkg urknall.Package)
Source Files ¶
- tpl_attach_onehost.go
- tpl_ceph_datastore_conn.go
- tpl_ceph_gateway.go
- tpl_ceph_install.go
- tpl_ceph_remove.go
- tpl_create_bridge.go
- tpl_create_datastore_lvm.go
- tpl_create_network.go
- tpl_create_volume.go
- tpl_host_check.go
- tpl_host_info.go
- tpl_network.go
- tpl_one_install.go
- tpl_one_remove.go
- tpl_onehost_install.go
- tpl_onehost_remove.go
- tpl_ssh_auth.go
- tpl_vertice_install.go
- tpl_vertice_remove.go
- tpl_vertice_report.go
- tpl_verticecommon_install.go
- tpl_verticecommon_remove.go
- tpl_verticeconfig.go
- tpl_verticegateway_install.go
- tpl_verticegateway_remove.go
- tpl_verticenilavu_install.go
- tpl_verticenilavu_remove.go
- tpl_verticesnowflake_install.go
- tpl_verticesnowflake_remove.go