spartamage

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyToSource

func ApplyToSource(fileExtension string,
	ignoredSubdirectories []string,
	commandParts ...string) error

ApplyToSource is a mage compatible function that applies a command to your source tree

func Delete

func Delete() error

Delete deletes the given service

func Describe

func Describe() error

Describe deploys the given service

func Log

func Log(formatSpecifier string, args ...interface{})

Log is a mage verbose aware log function

func Provision

func Provision() error

Provision deploys the given service

func Script

func Script(commands [][]string) error

Script is a 2d array of commands to run as a script

func SpartaCommand

func SpartaCommand(commandParts ...string) error

SpartaCommand issues a go run command that encapsulates resolving global env vars that can be translated into Sparta command line options

func Status

func Status(plaintext ...bool) error

Status returns a report for the given status

func Version

func Version() error

Version returns version information about the service and embedded Sparta version

Types

This section is empty.

Jump to

Keyboard shortcuts

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