Sparta: github.com/mweagle/Sparta/magefile Index | Files

package spartamage

import "github.com/mweagle/Sparta/magefile"

Index

Package Files

actions.go doc.go private.go

func ApplyToSource Uses

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 Uses

func Delete() error

Delete deletes the given service

func Describe Uses

func Describe() error

Describe deploys the given service

func Log Uses

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

Log is a mage verbose aware log function

func Provision Uses

func Provision() error

Provision deploys the given service

func Script Uses

func Script(commands [][]string) error

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

func SpartaCommand Uses

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 Uses

func Status(plaintext ...bool) error

Status returns a report for the given status

func Version Uses

func Version() error

Version returns version information about the service and embedded Sparta version

Package spartamage imports 9 packages (graph). Updated 2018-10-23. Refresh now. Tools for package owners.