Documentation ¶
Index ¶
- func DeleteExport(ctx context.Context, httpClient *http.Client, bucketName, objectName string) error
- func DeleteTemporaryBucket(ctx context.Context, httpClient *http.Client, bucketName string) error
- func ForParentToStorageObject(ctx context.Context, httpClient *http.Client, ...) error
- func NewObjectName() string
- func NewTemporaryBucketAndObjectName(ctx context.Context, httpClient *http.Client) (string, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteExport ¶
func DeleteTemporaryBucket ¶
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.