trcshbase

package
v0.0.0-...-9cd73b5 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 34 Imported by: 0

Documentation

Index

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 CommonMain(envPtr *string, addrPtr *string, envCtxPtr *string,
	secretIDPtr *string,
	appRoleIDPtr *string,
	flagset *flag.FlagSet,
	argLines []string,
	c *eUtils.DriverConfig) error

func EnableDeployer

func EnableDeployer(env string, region string, token string, trcPath string, secretId *string, approleId *string, outputMemCache bool, deployment string)

EnableDeploy - initializes and starts running deployer for provided deployment and environment.

func ProcessDeploy

func ProcessDeploy(featherCtx *cap.FeatherContext, driverConfig *eUtils.DriverConfig, token string, deployment string, trcPath string, secretId *string, approleId *string, outputMemCache 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 ResetModifier

func ResetModifier(driverConfig *eUtils.DriverConfig)

func TrcshInitConfig

func TrcshInitConfig(env string, region string, pathParam string, outputMemCache bool) (*eUtils.DriverConfig, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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