gcs

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Output

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

GCSOutput writes to a Google Cloud Storage bucket

func NewOutput added in v0.1.9

func NewOutput(ctx context.Context, format, bucketName, credentialsPath string) (*Output, error)

NewOutput creates a new GCSOutput

func (*Output) Write

func (o *Output) Write(ctx context.Context, policyManifest *packaging.PolicyManifest, intermediateJSON []byte, rc *results.ResultCollection, cluster string, timestamp time.Time) error

Write exports data in the specified format and writes it to the specified GCS bucket

Jump to

Keyboard shortcuts

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