Documentation
¶
Index ¶
Constants ¶
View Source
const Application = "Couchbase Exporter"
Variables ¶
View Source
var ( Version string BuildNumber string Revision string )
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent is a valid user agent string as defined by the HTTP specification https://tools.ietf.org/html/rfc1945#section-10.15, this is used to identify what unique version of the Exporter has been interacting with Couchbase server.
func WithBuildNumber ¶
func WithBuildNumber() string
This will generate things like "1.0.0 (build 123)" and should be used for binary version strings so we can tell exactly which build (and by extension commit) is being used.
func WithBuildNumberAndRevision ¶
func WithBuildNumberAndRevision() string
WithBuildNumberAndRevision gives full debug information, used primarily for CLI commands.
func WithRevision ¶
func WithRevision() string
This will generate things like 1.0.0 and 1.0.0-beta1 and should be used for things like docker images.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.