progress

package
v0.0.0-...-a4d1c73 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package progress provides displaying of progress e.g during stack creation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureRemoteSink

func ConfigureRemoteSink(context *context.Context) (err error)

Configure AWS Resources needed for progress monitoring.

Types

type Condition

type Condition struct {
	StringEquals map[string]string
}

type Connection

type Connection struct {
	SqsClient *sqs.SQS

	TopicArn *string
	// contains filtered or unexported fields
}

Connection contains elements need to get connection.

func DestroyRemoteSink

func DestroyRemoteSink(context *context.Context) (conn Connection, err error)

Remove all AWS Resources created for stack monitoring.

func GetRemoteSink

func GetRemoteSink(context *context.Context) (conn Connection, err error)

Get configuration of created AWS Resources.

func (*Connection) MonitorStackQueue

func (conn *Connection) MonitorStackQueue()

Monitor queue, that delivers messages sent by cloud formation stack progress.

type Message

type Message struct {
	Type             string
	MessageId        string
	TopicArn         string
	Subject          string
	Message          string
	Timestamp        string
	SignatureVersion string
	Signature        string
	SigningCertURL   string
	UnsubscribeURL   string
}

Message - struct with elements of message.

type ParseWriter

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

ParseWriter structure describes functions to stain text.

func NewParseWriter

func NewParseWriter() (pw *ParseWriter)

NewParseWriter is used to show progress in colorful table.

func (*ParseWriter) Write

func (pw *ParseWriter) Write(p []byte) (n int, err error)

type PolicyDocument

type PolicyDocument struct {
	Version   string
	Statement []StatementEntry
}

type StatementEntry

type StatementEntry struct {
	Sid       string
	Effect    string
	Action    []string
	Resource  string
	Condition Condition
	Principal string
}

Jump to

Keyboard shortcuts

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