Documentation ¶
Overview ¶
Package consumers provides helper functions for working with Smithy compatible outputs as a Consumer. Subdirectories in this package have more complete example usages of this package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Raw represents if the non-enriched results should be used. Raw bool )
Functions ¶
func LoadEnrichedToolResponse ¶
func LoadEnrichedToolResponse() ([]*smithyapiv1.EnrichedLaunchToolResponse, error)
LoadEnrichedToolResponse loads enriched results from the enricher.
func LoadToolResponse ¶
func LoadToolResponse() ([]*smithyapiv1.LaunchToolResponse, error)
LoadToolResponse loads raw results from producers.
func ParseFlags ¶
func ParseFlags() error
ParseFlags will parse the input flags for the consumer and perform simple validation.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package main of the aws-s3 consumer implements a simple consumer for uploading smithy results to the S3 bucket passed as an argument the consumer expects the environment variables AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY to be set
|
Package main of the aws-s3 consumer implements a simple consumer for uploading smithy results to the S3 bucket passed as an argument the consumer expects the environment variables AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY to be set |
Package main of the bigquery consumer puts smithy issues into the target bigquery dataset, it will create teh dataset and the schema if one does not exist
|
Package main of the bigquery consumer puts smithy issues into the target bigquery dataset, it will create teh dataset and the schema if one does not exist |
Package main of the pdf consumer implements a simple consumer for applying a go-template to a smithy scan, converting the result to pdf and then uploading the result to the S3 bucket passed as an argument the consumer expects the environment variables AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY to be set along with the "bucket" and "region" arguments to be passed
|
Package main of the pdf consumer implements a simple consumer for applying a go-template to a smithy scan, converting the result to pdf and then uploading the result to the S3 bucket passed as an argument the consumer expects the environment variables AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY to be set along with the "bucket" and "region" arguments to be passed |
Click to show internal directories.
Click to hide internal directories.