Documentation ¶
Index ¶
- Constants
- Variables
- func CheckUpdates() bool
- func GaugeRepositoryUrl() string
- func GaugeTemplatesUrl() string
- func GaugeUpdateUrl() string
- func GetProperty(name string) (string, error)
- func IdeRequestTimeout() time.Duration
- func List(machineReadable bool) (string, error)
- func Merge() error
- func MergedProperties() *properties
- func PluginConnectionTimeout() time.Duration
- func PluginKillTimeout() time.Duration
- func Properties() *properties
- func RecordTelemetryConsentSet()
- func RefactorTimeout() time.Duration
- func RunnerConnectionTimeout() time.Duration
- func RunnerRequestTimeout() time.Duration
- func SetProjectRoot(args []string) error
- func TelemetryConsent() bool
- func TelemetryEnabled() bool
- func TelemetryLogEnabled() bool
- func UniqueID() string
- func Update(name, value string) error
- func UpdateTelemetry(value string) error
- func UpdateTelemetryLoggging(value string) error
Constants ¶
const (
LayoutForTimeStamp = "Jan 2, 2006 at 3:04pm"
)
Variables ¶
var APILog = logging.MustGetLogger("gauge-api")
var ProjectRoot string
Functions ¶
func CheckUpdates ¶ added in v0.3.0
func CheckUpdates() bool
CheckUpdates determines if update check is enabled
func GaugeRepositoryUrl ¶
func GaugeRepositoryUrl() string
GaugeRepositoryUrl fetches the repository URL to locate plugins
func GaugeTemplatesUrl ¶ added in v0.3.0
func GaugeTemplatesUrl() string
GaugeTemplatesUrl fetches the URL to be used to download project templates
func GaugeUpdateUrl ¶ added in v0.3.0
func GaugeUpdateUrl() string
GaugeUpdateUrl fetches the URL to be used to check updates
func GetProperty ¶ added in v0.9.0
func IdeRequestTimeout ¶ added in v0.9.8
Timeout in milliseconds for requests from the grpc language runner.
func MergedProperties ¶ added in v0.9.0
func MergedProperties() *properties
func PluginConnectionTimeout ¶
PluginConnectionTimeout gets timeout in milliseconds for making a connection to plugins
func PluginKillTimeout ¶
PluginKillTimeout gets timeout in milliseconds for a plugin to stop after a kill message has been sent
func Properties ¶ added in v0.9.0
func Properties() *properties
func RecordTelemetryConsentSet ¶ added in v1.0.1
func RecordTelemetryConsentSet()
RecordTelemetryConsentSet records that user has opted in/out
func RefactorTimeout ¶
RefactorTimeout returns the default timeout value for a refactoring request.
func RunnerConnectionTimeout ¶
RunnerConnectionTimeout gets timeout in milliseconds for making a connection to the language runner
func RunnerRequestTimeout ¶
Timeout in milliseconds for requests from the language runner.
func SetProjectRoot ¶
SetProjectRoot sets project root location in ENV.
func TelemetryConsent ¶ added in v1.0.1
func TelemetryConsent() bool
TelemetryConsent determines if user has opted in/out of telemetry either via config or by setting GAUGE_TELEMETRY_ENABLED environment variable
func TelemetryEnabled ¶ added in v0.9.0
func TelemetryEnabled() bool
TelemetryEnabled determines if sending data to gauge telemetry engine is enabled
func TelemetryLogEnabled ¶ added in v0.9.0
func TelemetryLogEnabled() bool
TelemetryLogEnabled determines if requests to gauge telemetry engine have to be logged
func UpdateTelemetry ¶ added in v0.9.0
func UpdateTelemetryLoggging ¶ added in v0.9.0
Types ¶
This section is empty.