amazon

package
v0.0.0-...-1a23c2c Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

func NewTask

func NewTask(ctx context.Context, cloud universal.Cloud, identifier string, task universal.Task) (*Task, error)

func (*Task) Create

func (t *Task) Create(ctx context.Context) error

func (*Task) Delete

func (t *Task) Delete(ctx context.Context) error

func (*Task) GetAddresses

func (t *Task) GetAddresses(ctx context.Context) []net.IP

func (*Task) GetEvents

func (t *Task) GetEvents(ctx context.Context) []universal.Event

func (*Task) GetIdentifier

func (t *Task) GetIdentifier(ctx context.Context) string

func (*Task) GetKeyPair

func (t *Task) GetKeyPair(ctx context.Context) (*ssh.DeterministicSSHKeyPair, error)

func (*Task) GetStatus

func (t *Task) GetStatus(ctx context.Context) map[string]int

func (*Task) Logs

func (t *Task) Logs(ctx context.Context) ([]string, error)

func (*Task) Pull

func (t *Task) Pull(ctx context.Context, destination string) error

func (*Task) Push

func (t *Task) Push(ctx context.Context, source string, unsafe bool) error

func (*Task) Read

func (t *Task) Read(ctx context.Context) error

func (*Task) Stop

func (t *Task) Stop(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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