Documentation ¶
Overview ¶
Package sidecar is a library that knows how to report on the output of a process that writes its output and exit code to disk
Index ¶
Constants ¶
View Source
const ( // JSONConfigEnvVar is the environment variable that // utilities expect to find a full JSON configuration // in when run. JSONConfigEnvVar = "SIDECAR_OPTIONS" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { GcsOptions *gcsupload.Options `json:"gcs_options"` WrapperOptions *wrapper.Options `json:"wrapper_options"` }
Options exposes the configuration necessary for defining the process being watched and where in GCS an upload will land.
func (*Options) BindOptions ¶
BindOptions binds flags to options
func (*Options) ConfigVar ¶
ConfigVar exposese 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.