gossm

package
v0.0.0-...-4f92c4a Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeTargets

func MakeTargets(tagPairs, instanceIds []string) []*ssm.Target

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(sess *session.Session) *Client

func (*Client) Doit

func (c *Client) Doit(ctx context.Context, commandInput *ssm.SendCommandInput) (*DoitResponse, error)

type CommandInstanceIdsOutput

type CommandInstanceIdsOutput struct {
	InstanceIds              []string
	FaultyInstanceIds        []string
	WrongPlatformInstanceIds []string
}

type DoitResponse

type DoitResponse struct {
	Channel     chan SsmMessage
	CommandId   string
	InstanceIds CommandInstanceIdsOutput
}

type SsmMessage

type SsmMessage struct {
	CommandId    string
	InstanceId   string
	StdoutChunk  string
	StderrChunk  string
	Error        error
	InstanceDone bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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