export

package
v1.99.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteExport

func DeleteExport(ctx context.Context, httpClient *http.Client, bucketName, objectName string) error

func DeleteTemporaryBucket

func DeleteTemporaryBucket(ctx context.Context, httpClient *http.Client, bucketName string) error

func ForParentToStorageObject

func ForParentToStorageObject(ctx context.Context, httpClient *http.Client, parent, bucketName, objectName string) error

ForParentToStorageObject performs an asset inventory export to the GCS 'bucketName' bucket at 'objectName' see additional methods in this package for creating a temporary bucket and generating an object name

parent is the fully qualified org, folder, or project, i.e. projects/projectId folders/folderNumber organizations/orgNumber

func NewObjectName

func NewObjectName() string

func NewTemporaryBucketAndObjectName

func NewTemporaryBucketAndObjectName(ctx context.Context, httpClient *http.Client) (string, string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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