onehost

package
v0.0.0-...-073edfd 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: 3 Imported by: 1

Documentation

Overview

** Copyright [2013-2015] [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-2015] [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-2015] [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-2015] [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

This section is empty.

Variables

View Source
var INSTALL_PACKAGES = []string{"OneHostInstall"}
View Source
var NETWORK_PACKAGES = []string{"CreateNetwork"}
View Source
var REMOVE_PACKAGES = []string{"OneHostRemove"}
View Source
var SSH_PASS = []string{"SshPass"}

Functions

This section is empty.

Types

type Createnetwork

type Createnetwork struct {
	Fs     *gnuflag.FlagSet
	PhyDev string
	Bridge string
}

func (*Createnetwork) Flags

func (c *Createnetwork) Flags() *gnuflag.FlagSet

func (*Createnetwork) Info

func (g *Createnetwork) Info() *cmd.Info

func (*Createnetwork) Run

func (c *Createnetwork) Run(context *cmd.Context) error

type Onehostinstall

type Onehostinstall struct {
	Fs *gnuflag.FlagSet
}

func (*Onehostinstall) Flags

func (c *Onehostinstall) Flags() *gnuflag.FlagSet

func (*Onehostinstall) Info

func (g *Onehostinstall) Info() *cmd.Info

func (*Onehostinstall) Run

func (c *Onehostinstall) Run(context *cmd.Context) error

type Onehostremove

type Onehostremove struct {
	Fs *gnuflag.FlagSet
}

func (*Onehostremove) Flags

func (c *Onehostremove) Flags() *gnuflag.FlagSet

func (*Onehostremove) Info

func (g *Onehostremove) Info() *cmd.Info

func (*Onehostremove) Run

func (c *Onehostremove) Run(context *cmd.Context) error

type Sshpass

type Sshpass struct {
	Fs   *gnuflag.FlagSet
	HOST string
}

func (*Sshpass) Flags

func (c *Sshpass) Flags() *gnuflag.FlagSet

func (*Sshpass) Info

func (g *Sshpass) Info() *cmd.Info

func (*Sshpass) Run

func (c *Sshpass) Run(context *cmd.Context) error

Jump to

Keyboard shortcuts

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