ecs

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CacheHostList []schema.Host

Functions

func RunCommand added in v0.1.1

func RunCommand(client *ecs.Client, instanceId, region, ostype, cmd string) string

Types

type Driver added in v0.0.9

type Driver struct {
	Cred   *credentials.StsTokenCredential
	Region string
}

func (*Driver) GetResource added in v0.0.9

func (d *Driver) GetResource(ctx context.Context) ([]schema.Host, error)

GetResource returns all the resources in the store for a provider.

func (*Driver) NewClient added in v0.1.1

func (d *Driver) NewClient() (*ecs.Client, error)

Jump to

Keyboard shortcuts

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