fargate

package
v0.0.0-...-6fe41a3 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TaskArnToNodeID

func TaskArnToNodeID(arn string) (string, error)

TaskArnToNodeID transforms a TaskArn to a node id

Types

type Provider

type Provider struct {
	Session *session.Session
	Client  *ecs.ECS
}

Provider implements provider.EndpointProvider

func NewProvider

func NewProvider() (*Provider, error)

NewProvider returns a new provider

func (Provider) GetClusters

func (p Provider) GetClusters() (map[string][]provider.Cluster, error)

GetClusters returns a list of services running in FARGATE cluster assumptions:

  • we DON'T care about the FARGATE service concept
  • a container within a task can expose _multiple_ services

Jump to

Keyboard shortcuts

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