commands

package
v0.0.0-...-8ed3f1d Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2015 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const CaddyExtVersion = "0.1.0"

Variables

View Source
var (
	ErrBuildSourceNotFound          = errors.New("Caddy source doesn't exist inside current GOPATH")
	ErrBuildOutputDirectoryNotFound = errors.New("Output directory doesn't exist")
)

Errors

View Source
var (
	ErrInstallNoSource         = errors.New("Couldn't find extension's repository")
	ErrInstallSourceNotFound   = errors.New("Extension source doesn't exist inside current GOPATH")
	ErrInstallExtensionResolve = errors.New("Coundn't resolve that extension from Caddy's registry. Please provide a repository for extension.")
)

Errors

View Source
var CaddyExt = &cobra.Command{
	Use:   "caddyext",
	Short: "Caddy's directive/extension manager",
	Long:  `Caddy's directive/extension manager`,
}
View Source
var (
	ErrMissingArguments = errors.New("Missing arguments")
)

Functions

func BuildCaddy

func BuildCaddy(cmd *cobra.Command, args []string)

func DisableExtension

func DisableExtension(cmd *cobra.Command, args []string)

func EnableExtension

func EnableExtension(cmd *cobra.Command, args []string)

func Execute

func Execute()

func InstallExtension

func InstallExtension(cmd *cobra.Command, args []string)

func MoveExtension

func MoveExtension(cmd *cobra.Command, args []string)

func RemoveExtension

func RemoveExtension(cmd *cobra.Command, args []string)

func ResetCaddy

func ResetCaddy(cmd *cobra.Command, args []string)

func StackExtension

func StackExtension(cmd *cobra.Command, args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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