ssm

package
v0.0.0-...-3ac0d25 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 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 Agent

type Agent struct {
	Region string
	AWS    *aws.Client
}

func New

func New(awsClient *aws.Client, region string) *Agent

func (*Agent) DeployArtifact

func (a *Agent) DeployArtifact(out io.Writer, node string, branch string) error

StartSession starts session

func (*Agent) GetNodeList

func (a *Agent) GetNodeList() ([]string, error)

GetNodeList returns instance list in the aws account

func (*Agent) SelectNode

func (a *Agent) SelectNode() (string, error)

SelectNode chooses one instance to connect

func (*Agent) StartSession

func (a *Agent) StartSession(out io.Writer, node string) error

StartSession starts session

Jump to

Keyboard shortcuts

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