const noError … const pluginExecutionError … const pluginNotFoundError … const clientInternalError … const successExitCode … const failureExitCode … type certificateExpirationTracker … var expirationMetrics … // set stores the given expiration time and updates the updates the certificate // expiry metric to the earliest expiration time. func (c *certificateExpirationTracker) set(a *Authenticator, t time.Time) { … } // incrementCallsMetric increments a global metrics counter for the number of calls to an exec // plugin, partitioned by exit code. The provided err should be the return value from // exec.Cmd.Run(). func incrementCallsMetric(err error) { … }