MCPcopy
hub / github.com/seaweedfs/seaweedfs / Value

Interface Value

weed/util/fla9/fla9.go:249–252  ·  view source on GitHub ↗

Value is the interface to the dynamic value stored in a flag. (The default value is represented as a string.) If a Value has an IsBoolFlag() bool method returning true, the command-line parser makes -name equivalent to -name=true rather than using the next command-line argument. Set is called once

Source from the content-addressed store, hash-verified

247//
248// Set is called once, in command line order, for each flag present.
249type Value interface {
250 String() string
251 Set(string) error
252}
253
254// Getter is an interface that allows the contents of a Value to be retrieved.
255// It wraps the Value interface, rather than being part of it, because it

Callers 16

LoadConfigurationFunction · 0.65
TestSetOutboundLocalIPFunction · 0.65
selectIpV4Function · 0.65
quoteDSNValueFunction · 0.65
NormalizeHttpSchemeMethod · 0.65
SplitStatementsFunction · 0.65
StringMethod · 0.65
mainFunction · 0.65
corsMiddlewareFunction · 0.65
StoreTelemetryMethod · 0.65
updateStatsMethod · 0.65

Implementers 7

VolumeLocationListweed/topology/volume_location_list.go
ShardsInfoweed/storage/erasure_coding/ec_shards_
CompactMapweed/storage/needle_map/compact_map.go
moduleSpecweed/glog/glog.go
traceLocationweed/glog/glog.go
FlagSetweed/util/fla9/fla9.go
Prefixweed/s3api/lifecycle_xml/types.go

Calls

no outgoing calls

Tested by

no test coverage detected