MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / String

Method String

pkg/settings/setting.go:65–65  ·  view source on GitHub ↗

String returns the string representation of the setting's current value. It's used when materializing results for `SHOW CLUSTER SETTINGS` or `SHOW CLUSTER SETTING `. If this object implements a non-reportable setting that was retrieved for reporting (see LookupForReportingByKey), Stri

(sv *Values)

Source from the content-addressed store, hash-verified

63 // If this object implements a non-reportable setting that was retrieved for
64 // reporting (see LookupForReportingByKey), String hides the actual value.
65 String(sv *Values) string
66
67 // DefaultString returns the default value for the setting as a string. This
68 // is the same as calling String on the setting when it was never set.

Callers 9

SQLIdentifierMethod · 0.65
StringMethod · 0.65
enumValuesToDescFunction · 0.65
DecodeToStringMethod · 0.65
RedactedValueFunction · 0.65
EncodeDurationFunction · 0.65
newProtoMessageFunction · 0.65
StringMethod · 0.65
DecodeToStringMethod · 0.65

Implementers 1

MaskedSettingpkg/settings/masked.go

Calls

no outgoing calls

Tested by

no test coverage detected