upload

package
v0.0.0-...-52c2931 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogPath

func LogPath(gcsPath string, now time.Time, b []byte) string

LogPath returns the Google Cloud Storage path where the raw POST data should be stored.

gcsPath will be the root of the path. now is the time which will be encoded in the path. b is the source bytes of the incoming file.

func ObjectPath

func ObjectPath(key map[string]string, gitHash string, gcsPath string, now time.Time, b []byte) string

ObjectPath returns the Google Cloud Storage path where the JSON serialization of benchData should be stored.

gcsPath will be the root of the path. now is the time which will be encoded in the path. b is the source bytes of the incoming file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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