debian

package
v0.0.0-...-02230fc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2016 License: Apache-2.0 Imports: 9 Imported by: 1

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

View Source
const (
	InfoDriver = "InfoDriver"
	Vm         = "Vm"
	HostName   = "HostName"
	Networking = "Networking"
)
View Source
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'`
)
View Source
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 */

)
View Source
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 */

)
View Source
const (
	Bridgename = "Bridgename"
	PhyDev     = "PhyDev"
	Network    = "Network"
	Netmask    = "Netmask"
	Gateway    = "Gateway"
	Dnsname1   = "Dnsname1"
	Dnsname2   = "Dnsname2"
	Interface  = `` /* 199-byte string literal not displayed */

)
View Source
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"
  `
)
View Source
const (
	BRIDGE_NAME = "Bridge"
	PHY_DEV     = "PhyDev"
)
View Source
const (
	Bridge      = "Bridge"
	Iptype      = "Iptype"
	Ip          = "Ip"
	Size        = "Size"
	Networkmask = "Networkmask"
	Gatewayip   = "Gatewayip"
	Dns1        = "Dns1"
	Dns2        = "Dns2"
	Opennetwork = `` /* 161-byte string literal not displayed */

)
View Source
const (
	ONE_INSTALL_LOG = "/var/log/megam/megamcib/opennebula.log"
	Slash           = `\`
)
View Source
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"
)
View Source
const (
	Disk = "Disk"
)
View Source
const (
	KnownHostsList = `
	ConnectTimeout 5
	Host *
	StrictHostKeyChecking no
	`
)
View Source
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)

func (*DebianAttachOneHost) Run

func (tpl *DebianAttachOneHost) Run(target urknall.Target, inputs map[string]string) error

type DebianAttachOneHostTemplate

type DebianAttachOneHostTemplate struct {
	// contains filtered or unexported fields
}

func (*DebianAttachOneHostTemplate) Render

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)

func (*DebianCephDatastore) Run

func (tpl *DebianCephDatastore) Run(target urknall.Target, inputs map[string]string) error

type DebianCephDatastoreTemplate

type DebianCephDatastoreTemplate struct{}

func (*DebianCephDatastoreTemplate) Render

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)

func (*DebianCephGateway) Run

func (tpl *DebianCephGateway) Run(target urknall.Target, inputs map[string]string) error

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)

func (*DebianCephInstall) Run

func (tpl *DebianCephInstall) Run(target urknall.Target, inputs map[string]string) error

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)

func (*DebianCephRemove) Run

func (tpl *DebianCephRemove) Run(target urknall.Target, inputs map[string]string) error

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)

func (*DebianCreateBridge) Run

func (tpl *DebianCreateBridge) Run(target urknall.Target, inputs map[string]string) error

type DebianCreateBridgeTemplate

type DebianCreateBridgeTemplate struct {
	// contains filtered or unexported fields
}

func (*DebianCreateBridgeTemplate) Render

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)

func (*DebianCreateDatastoreLvm) Run

func (tpl *DebianCreateDatastoreLvm) Run(target urknall.Target, inputs map[string]string) error

type DebianCreateDatastoreLvmTemplate

type DebianCreateDatastoreLvmTemplate struct {
	// contains filtered or unexported fields
}

func (*DebianCreateDatastoreLvmTemplate) Render

type DebianCreateNetwork

type DebianCreateNetwork struct {
	BridgeName string
	PhyDev     string
}

func (*DebianCreateNetwork) Options

func (tpl *DebianCreateNetwork) Options(t *templates.Template)

func (*DebianCreateNetwork) Render

func (tpl *DebianCreateNetwork) Render(p urknall.Package)

func (*DebianCreateNetwork) Run

func (tpl *DebianCreateNetwork) Run(target urknall.Target, inputs map[string]string) error

type DebianCreateNetworkOpennebula

type DebianCreateNetworkOpennebula struct {
	// contains filtered or unexported fields
}

func (*DebianCreateNetworkOpennebula) Options

func (*DebianCreateNetworkOpennebula) Render

func (*DebianCreateNetworkOpennebula) Run

func (tpl *DebianCreateNetworkOpennebula) Run(target urknall.Target, inputs map[string]string) error

type DebianCreateNetworkOpennebulaTemplate

type DebianCreateNetworkOpennebulaTemplate struct {
	// contains filtered or unexported fields
}

func (*DebianCreateNetworkOpennebulaTemplate) Render

type DebianCreateNetworkTemplate

type DebianCreateNetworkTemplate struct {
	BridgeName string
	PhyDev     string
}

func (*DebianCreateNetworkTemplate) Render

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)

func (*DebianCreateVolume) Run

func (tpl *DebianCreateVolume) Run(target urknall.Target, inputs map[string]string) error

type DebianCreateVolumeTemplate

type DebianCreateVolumeTemplate struct {
	// contains filtered or unexported fields
}

func (*DebianCreateVolumeTemplate) Render

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)

func (*DebianGatewayInstall) Run

func (tpl *DebianGatewayInstall) Run(target urknall.Target, inputs map[string]string) error

type DebianGatewayInstallTemplate

type DebianGatewayInstallTemplate struct{}

func (*DebianGatewayInstallTemplate) Render

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)

func (*DebianGatewayRemove) Run

func (tpl *DebianGatewayRemove) Run(target urknall.Target, inputs map[string]string) error

type DebianGatewayRemoveTemplate

type DebianGatewayRemoveTemplate struct{}

func (*DebianGatewayRemoveTemplate) Render

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)

func (*DebianHostCheck) Run

func (tpl *DebianHostCheck) Run(target urknall.Target, inputs map[string]string) error

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)

func (*DebianHostInfo) Run

func (tpl *DebianHostInfo) Run(target urknall.Target, inputs map[string]string) error

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)

func (*DebianMegamCommonInstall) Run

func (tpl *DebianMegamCommonInstall) Run(target urknall.Target, inputs map[string]string) error

type DebianMegamCommonInstallTemplate

type DebianMegamCommonInstallTemplate struct{}

func (*DebianMegamCommonInstallTemplate) Render

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)

func (*DebianMegamCommonRemove) Run

func (tpl *DebianMegamCommonRemove) Run(target urknall.Target, inputs map[string]string) error

type DebianMegamCommonRemoveTemplate

type DebianMegamCommonRemoveTemplate struct{}

func (*DebianMegamCommonRemoveTemplate) Render

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)

func (*DebianMegamdInstall) Run

func (tpl *DebianMegamdInstall) Run(target urknall.Target, inputs map[string]string) error

type DebianMegamdInstallTemplate

type DebianMegamdInstallTemplate struct{}

func (*DebianMegamdInstallTemplate) Render

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)

func (*DebianMegamdRemove) Run

func (tpl *DebianMegamdRemove) Run(target urknall.Target, inputs map[string]string) error

type DebianMegamdRemoveTemplate

type DebianMegamdRemoveTemplate struct{}

func (*DebianMegamdRemoveTemplate) Render

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)

func (*DebianNilavuInstall) Run

func (tpl *DebianNilavuInstall) Run(target urknall.Target, inputs map[string]string) error

type DebianNilavuInstallTemplate

type DebianNilavuInstallTemplate struct{}

func (*DebianNilavuInstallTemplate) Render

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)

func (*DebianNilavuRemove) Run

func (tpl *DebianNilavuRemove) Run(target urknall.Target, inputs map[string]string) error

type DebianNilavuRemoveTemplate

type DebianNilavuRemoveTemplate struct{}

func (*DebianNilavuRemoveTemplate) Render

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)

func (*DebianOneHostInstall) Run

func (tpl *DebianOneHostInstall) Run(target urknall.Target, inputs map[string]string) error

type DebianOneHostInstallTemplate

type DebianOneHostInstallTemplate struct{}

func (*DebianOneHostInstallTemplate) Render

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)

func (*DebianOneHostRemove) Run

func (tpl *DebianOneHostRemove) Run(target urknall.Target, inputs map[string]string) error

type DebianOneHostRemoveTemplate

type DebianOneHostRemoveTemplate struct{}

func (*DebianOneHostRemoveTemplate) Render

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)

func (*DebianOneInstall) Run

func (tpl *DebianOneInstall) Run(target urknall.Target, inputs map[string]string) error

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)

func (*DebianOneRemove) Run

func (tpl *DebianOneRemove) Run(target urknall.Target, inputs map[string]string) error

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)

func (*DebianSnowflakeInstall) Run

func (tpl *DebianSnowflakeInstall) Run(target urknall.Target, inputs map[string]string) error

type DebianSnowflakeInstallTemplate

type DebianSnowflakeInstallTemplate struct{}

func (*DebianSnowflakeInstallTemplate) Render

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)

func (*DebianSnowflakeRemove) Run

func (tpl *DebianSnowflakeRemove) Run(target urknall.Target, inputs map[string]string) error

type DebianSnowflakeRemoveTemplate

type DebianSnowflakeRemoveTemplate struct{}

func (*DebianSnowflakeRemoveTemplate) Render

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)

func (*DebianSshPass) Run

func (tpl *DebianSshPass) Run(target urknall.Target, inputs map[string]string) error

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)

func (*DebianVerticeConfig) Run

func (tpl *DebianVerticeConfig) Run(target urknall.Target, inputs map[string]string) error

type DebianVerticeConfigTemplate

type DebianVerticeConfigTemplate struct{}

func (*DebianVerticeConfigTemplate) Render

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)

func (*DebianVerticeReport) Run

func (tpl *DebianVerticeReport) Run(target urknall.Target, inputs map[string]string) error

type DebianVerticeReportTemplate

type DebianVerticeReportTemplate struct{}

func (*DebianVerticeReportTemplate) Render

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL