Documentation ¶
Index ¶
- func ConnectSSH(...) (exitCode int, err error)
- func DeployServices(profile, cluster, imageTag string, imageTags, services []string, ...) (exitCode int, err error)
- func EcrEndpoint(profile string) (err error)
- func EcrLogin(profile string) (err error)
- func ExecFargate(profile, cluster, command string) error
- func InitAWS(profile string) error
- func RunFargate(profile, cluster, service, taskDefinitionName, imageTag string, ...) (exitCode int, err error)
- func RunTask(profile, cluster, service, taskDefinitionName, imageTag string, ...) (exitCode int, err error)
- func WriteSSMParameter(profile, parameterName, kmsKey, value string, processor []string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectSSH ¶
func ConnectSSH(profile, cluster, taskDefinitionName, containerName, shell, service, instanceUser string, pushSSHKey bool) (exitCode int, err error)
ConnectSSH runs ssh with some magic parameters to connect to running containers on AWS ECS
func DeployServices ¶
func DeployServices(profile, cluster, imageTag string, imageTags, services []string, workDir string) (exitCode int, err error)
DeployServices deploys specified services in parallel
func EcrEndpoint ¶
EcrEndpoint prints endpoint for docker
func ExecFargate ¶
ExecFargate executes a command in a specified container on an ECS Fargate service
func InitAWS ¶
InitAWS initializes a new AWS session with the specified profile for Ecsta realization
func RunFargate ¶
func RunFargate(profile, cluster, service, taskDefinitionName, imageTag string, imageTags []string, workDir, containerName, awslogGroup, launchType string, securityGroupFilter string, args []string) (exitCode int, err error)
RunFargate runs the specified one-off task in the cluster using the task definition
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.