base

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2013 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

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

func New

func New(name, description string, moduleCollectionProvider ModulesProviderFunc, forEachModule ForEachModuleFunc) *Action

func (*Action) Description

func (action *Action) Description() string

func (*Action) DryRun

func (action *Action) DryRun(arguments []string)

func (*Action) Execute

func (action *Action) Execute(arguments []string)

func (*Action) Name

func (action *Action) Name() string

type ForEachModuleFunc

type ForEachModuleFunc func(module *modules.Module, executeADryRunOnly bool)

type ModulesProviderFunc

type ModulesProviderFunc func() *modules.Collection

Jump to

Keyboard shortcuts

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