one

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: 0

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.

Index

Constants

This section is empty.

Variables

View Source
var INSTALL_PACKAGES = []string{"OneInstall"}
View Source
var REMOVE_PACKAGES = []string{"OneRemove"}

Functions

This section is empty.

Types

type Oneinstall

type Oneinstall struct {
	Fs         *gnuflag.FlagSet
	OneInstall bool
	Host       string
	Username   string
	Password   string
}

func (*Oneinstall) Flags

func (cmd *Oneinstall) Flags() *gnuflag.FlagSet

func (*Oneinstall) Info

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

func (*Oneinstall) Run

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

type Oneremove

type Oneremove struct {
	Fs        *gnuflag.FlagSet
	OneRemove bool
}

func (*Oneremove) Flags

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

func (*Oneremove) Info

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

func (*Oneremove) Run

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

Jump to

Keyboard shortcuts

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