Documentation ¶
Index ¶
- Constants
- Variables
- func CommonMain(envPtr *string, addrPtr *string, envCtxPtr *string, secretIDPtr *string, ...) error
- func CreateLogFile() (*log.Logger, error)
- func EnableDeployer(driverConfigPtr *config.DriverConfig, env string, region string, token string, ...)
- func ProcessDeploy(featherCtx *cap.FeatherContext, trcshDriverConfig *capauth.TrcshDriverConfig, ...)
- func TrcshInitConfig(driverConfigPtr *config.DriverConfig, env string, region string, ...) (*capauth.TrcshDriverConfig, error)
Constants ¶
View Source
const (
YOU_SHALL_NOT_PASS = "you shall not pass"
)
Variables ¶
View Source
var (
MODE_PERCH_STR string = string([]byte{cap.MODE_PERCH})
)
Functions ¶
func CommonMain ¶
func CreateLogFile ¶
func EnableDeployer ¶
func EnableDeployer(driverConfigPtr *config.DriverConfig, env string, region string, token string, trcPath string, secretId *string, approleId *string, useMemCache bool, outputMemCache bool, deployment string, dronePtr *bool, projectService ...*string)
EnableDeploy - initializes and starts running deployer for provided deployment and environment.
func ProcessDeploy ¶
func ProcessDeploy(featherCtx *cap.FeatherContext, trcshDriverConfig *capauth.TrcshDriverConfig, deployment string, trcPath string, projectService string, secretId *string, approleId *string, dronePtr *bool)
ProcessDeploy
Parameters:
- env: Current environment context
- region: a region
- token: An environment token
- deployment: name of deployment
- trcPath: Path to the current deployment script...
- secretId: trcsh secret.
- approleId: trcsh app role.
Returns:
Nothing.
func TrcshInitConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.