package
0.0.0-20210223223322-a2cb77e65476
Repository: https://github.com/cezio/deployer-go.git
Documentation: pkg.go.dev

# Functions

IsDirectory returns true if given path is a directory.
MakeMux creates new ServerMux object.
NewConfig Create new Config with dir set to dir.
NewConfigFromEnv Create new Config from env variable.
RequestMethodsFromStrings converts array of strings to array of request methods.

# Constants

ExecutionError execution failed.
MaxSecretSize max size of secret body.
MissingConfig no configuration file.
PreconditionsError invalid method or invalid secret.
ReadError can't read config.
RequestGET get method.
RequestPOST post method.
SetupError cannot prepare execution environment.

# Variables

RequestMethods contains list of allowed methods.

# Structs

ConfigError keeps information on runtime config errors.
DeploymentConfig Deployment configuration structure.
RuntimeConfig keeps runtime configuration.

# Type aliases

ConfigErrorType type of error.
RequestMethod method that can be used for deployment.