lib

package
v1.9.9-beta Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

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

func EcrEndpoint(profile string) (err error)

EcrEndpoint prints endpoint for docker

func EcrLogin

func EcrLogin(profile string) (err error)

EcrLogin prints login cmd for docker

func ExecFargate

func ExecFargate(profile, cluster, command string) error

ExecFargate executes a command in a specified container on an ECS Fargate service

func InitAWS

func InitAWS(profile string) error

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

func RunTask

func RunTask(profile, cluster, service, taskDefinitionName, imageTag string, imageTags []string, workDir, containerName, awslogGroup, launchType string, args []string) (exitCode int, err error)

RunTask runs the specified one-off task in the cluster using the task definition

func WriteSSMParameter

func WriteSSMParameter(profile, parameterName, kmsKey, value string, processor []string, pickJsonKeys []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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