context

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSetsCtx

type AWSetsCtx struct {
	AWSCfg     aws.Config
	AccountId  string
	WorkerId   int
	Context    context.Context
	Lister     string
	StatusChan chan<- StatusUpdate
	TotalJobs  int
}

func (*AWSetsCtx) Close added in v0.7.0

func (c *AWSetsCtx) Close()

func (*AWSetsCtx) Copy

func (c *AWSetsCtx) Copy(region string) *AWSetsCtx

func (*AWSetsCtx) Region

func (c *AWSetsCtx) Region() string

func (*AWSetsCtx) SendStatus added in v0.7.0

func (c *AWSetsCtx) SendStatus(statusType StatusType, msg string)

type StatusType added in v0.7.0

type StatusType string
const (
	StatusLogInfo           StatusType = "logInfo"
	StatusLogDebug          StatusType = "logDebug"
	StatusLogError          StatusType = "logError"
	StatusProcessing        StatusType = "processing"
	StatusComplete          StatusType = "complete"
	StatusCompleteWithError StatusType = "completeWithError"
)

type StatusUpdate added in v0.7.0

type StatusUpdate struct {
	Type      StatusType
	Lister    string
	Region    string
	Message   string
	WorkerId  int
	TotalJobs int
}

Jump to

Keyboard shortcuts

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