awsspec

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ECSSpec

type ECSSpec struct {
	Session *session.Session
}

ECSSpec contains the AWS session

func New

func New(s *session.Session) ECSSpec

New returns a new ECSSpec

func (ECSSpec) ServiceHasRunningTasks

func (e ECSSpec) ServiceHasRunningTasks(cluster, service string, count int) (res bool, err error)

ServiceHasRunningTasks determines whether the number of running tasks in the provided ECS servicematches the specified count

Jump to

Keyboard shortcuts

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