platform_aws_ecs

package
v0.0.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(accessKey, secretKey string) gateway.Platform

Types

type PlatformAwsEcsGateway

type PlatformAwsEcsGateway struct {
	*platform_aws.BasePlatformAws
	// contains filtered or unexported fields
}

func (*PlatformAwsEcsGateway) DeleteNode

func (g *PlatformAwsEcsGateway) DeleteNode(ctx context.Context, node *node.Node) error

DeleteNode deletes all resources specific to the given node. If a resource doesn't generate a direct cost, if an error occurs it is logged and the process continues.

func (*PlatformAwsEcsGateway) GetStatus

func (g *PlatformAwsEcsGateway) GetStatus(ctx context.Context, n *node.Node) (node.Status, error)

func (*PlatformAwsEcsGateway) StartNode

func (g *PlatformAwsEcsGateway) StartNode(ctx context.Context, node *node.Node) error

func (*PlatformAwsEcsGateway) StopNode

func (g *PlatformAwsEcsGateway) StopNode(ctx context.Context, node *node.Node) error

type PlatformAwsEcsGatewayOptions

type PlatformAwsEcsGatewayOptions func(*PlatformAwsEcsGateway)

func WithKeyPair

func WithKeyPair(accessKey, secretKey string) PlatformAwsEcsGatewayOptions

Jump to

Keyboard shortcuts

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