Documentation ¶
Overview ¶
Package initupload determines the output status of clone operations and posts that status along with artifacts and logs to cloud storage.
Index ¶
Constants ¶
View Source
const ( // JSONConfigEnvVar is the environment variable where utilities expect to find a full JSON // configuration. JSONConfigEnvVar = "INITUPLOAD_OPTIONS" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { *gcsupload.Options // Log is the log file to which clone records are written. If unspecified, no clone records // are uploaded. Log string `json:"log,omitempty"` }
Options holds the GCS options and the log file of clone records.
func NewOptions ¶
func NewOptions() *Options
NewOptions returns an empty Options with no nil fields.
func (*Options) ConfigVar ¶
ConfigVar exposes the environment variable used to store serialized configuration.
func (*Options) LoadConfig ¶
LoadConfig loads options from serialized config.
Click to show internal directories.
Click to hide internal directories.