command

package
v0.0.0-...-2a31ff8 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2015 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

package command contains all command logic to succesfully run wasteband

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreate

func NewCreate(conf *config.Configuration) cli.CommandFactory

func NewDelete

func NewDelete(conf *config.Configuration) cli.CommandFactory

NewDelete creates a new instance of Delete

func NewOptimize

func NewOptimize(conf *config.Configuration) cli.CommandFactory

NewOptimize creates a new instance of Delete

func NewSearch

func NewSearch(conf *config.Configuration) cli.CommandFactory

NewSearch creates a new instance of Delete

func NewSet

func NewSet(conf *config.Configuration) cli.CommandFactory

func NewShow

func NewShow(conf *config.Configuration) cli.CommandFactory

NewShow creates a new instance of Delete

func NewVersion

func NewVersion(version string) cli.CommandFactory

Types

type Create

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

func (*Create) Help

func (c *Create) Help() string

Help provides full help inforamation for the subcommand

func (*Create) Run

func (c *Create) Run(args []string) int

func (*Create) Synopsis

func (c *Create) Synopsis() string

Synopsis provides a brief description of the command

type Delete

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

Delete holds in the passed in configuration

func (*Delete) Help

func (d *Delete) Help() string

Help provides full help inforamation for the subcommand

func (*Delete) Run

func (d *Delete) Run(args []string) int

Run removes a given resource.

func (*Delete) Synopsis

func (d *Delete) Synopsis() string

Synopsis provides a brief description of the command

type Optimize

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

Optimize holds in the passed in configuration

func (*Optimize) Help

func (o *Optimize) Help() string

Help provides full help inforamation for the subcommand

func (*Optimize) Run

func (o *Optimize) Run(args []string) int

Run optimizes a given resource.

func (*Optimize) Synopsis

func (o *Optimize) Synopsis() string

Synopsis provides a brief description of the command

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

Search holds in the passed in configuration

func (*Search) Help

func (s *Search) Help() string

Help provides full help inforamation for the subcommand

func (*Search) Run

func (s *Search) Run(args []string) int

Run searches for a given resource.

func (*Search) Synopsis

func (s *Search) Synopsis() string

Synopsis provides a brief description of the command

type Set

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

func (*Set) Help

func (s *Set) Help() string

Help provides full help inforamation for the subcommand

func (*Set) Run

func (s *Set) Run(args []string) int

func (*Set) Synopsis

func (s *Set) Synopsis() string

Synopsis provides a brief description of the command

type Show

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

Show holds in the passed in configuration

func (*Show) Help

func (s *Show) Help() string

Help provides full help inforamation for the subcommand

func (*Show) Run

func (s *Show) Run(args []string) int

Run shows a given resource.

func (*Show) Synopsis

func (s *Show) Synopsis() string

Synopsis provides a brief description of the command

type Version

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

func (*Version) Help

func (v *Version) Help() string

Help displays the below string

func (*Version) Run

func (v *Version) Run(args []string) int

Run shows the current version

func (*Version) Synopsis

func (v *Version) Synopsis() string

Synopsis provides a brief description of the command

Jump to

Keyboard shortcuts

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