Documentation ¶
Index ¶
- Constants
- Variables
- func BuildCaddy(cmd *cobra.Command, args []string)
- func DisableExtension(cmd *cobra.Command, args []string)
- func EnableExtension(cmd *cobra.Command, args []string)
- func Execute()
- func InstallExtension(cmd *cobra.Command, args []string)
- func MoveExtension(cmd *cobra.Command, args []string)
- func RemoveExtension(cmd *cobra.Command, args []string)
- func ResetCaddy(cmd *cobra.Command, args []string)
- func StackExtension(cmd *cobra.Command, args []string)
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 DisableExtension ¶
func EnableExtension ¶
func InstallExtension ¶
func MoveExtension ¶
func RemoveExtension ¶
func ResetCaddy ¶
func StackExtension ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.