Documentation ¶
Overview ¶
Package iomodule implements the output modules
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandOutput ¶
CommandOutput handles writing output to a string.
func (CommandOutput) Read ¶
func (c CommandOutput) Read(context context.T, reader *io.PipeReader, exitCode int)
type File ¶
type File struct { FileName string OrchestrationDirectory string OutputS3BucketName string OutputS3KeyPrefix string LogGroupName string LogStreamName string }
File handles writing to an output file and upload to s3 and cloudWatch
type ICWServiceRetriever ¶
type ICWServiceRetriever interface {
NewCloudWatchLogsService(context context.T) ICloudWatchLoggingService
}
type ICloudWatchLoggingService ¶
type ICloudWatchLoggingService interface { StreamData( logGroupName string, logStreamName string, absoluteFilePath string, isFileComplete bool, isLogStreamCreated bool, fileCompleteSignal chan bool, cleanupControlCharacters bool, structuredLogs bool) (success bool) SetIsFileComplete(val bool) GetIsUploadComplete() bool }
type IOModule ¶
type IOModule interface {
Read(context.T, *io.PipeReader, int)
}
IOModule is an interface for output modules
type IS3LogsServiceRetriever ¶
Click to show internal directories.
Click to hide internal directories.