ops

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Command     string
	Environment environments.Environment
}

func (*Command) Run

func (c *Command) Run() error

type Download

type Download struct {
	File        string
	Environment environments.Environment
}

func (*Download) Run

func (d *Download) Run() error

type Mkdir

type Mkdir struct {
	TargetFile  string
	Environment environments.Environment
}

func (*Mkdir) Run

func (m *Mkdir) Run() error

type Move

type Move struct {
	SourceFile  string
	TargetFile  string
	Environment environments.Environment
}

func (*Move) Run

func (m *Move) Run() error

type Operation

type Operation interface {
	Run() error
}

type WriteFile

type WriteFile struct {
	TargetFile  string
	Environment environments.Environment
	Text        string
}

func (*WriteFile) Run

func (c *WriteFile) Run() error

Jump to

Keyboard shortcuts

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