Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SHA1Reporter ¶
type SHA1Reporter struct { RepoURL string FileName string Logger log.Logger Fi fileInfo // contains filtered or unexported fields }
SHA1Reporter reports a gauge to Client that is the commit SHA1 of the current image
func (*SHA1Reporter) Datapoints ¶
func (s *SHA1Reporter) Datapoints() []*datapoint.Datapoint
Datapoints returns a single datapoint that includes the commit sha loaded from a config file
func (*SHA1Reporter) Var ¶
func (s *SHA1Reporter) Var() expvar.Var
Var returns an expvar that is the build file info
Click to show internal directories.
Click to hide internal directories.