MCPcopy Index your code
hub / github.com/cloudfoundry/cli / NullInt

Struct NullInt

types/null_int.go:14–17  ·  view source on GitHub ↗

NullInt is a wrapper around integer values that can be null or an integer. Use IsSet to check if the value is provided, instead of checking against 0.

Source from the content-addressed store, hash-verified

12// NullInt is a wrapper around integer values that can be null or an integer.
13// Use IsSet to check if the value is provided, instead of checking against 0.
14type NullInt struct {
15 IsSet bool
16 Value int
17}
18
19// ParseStringValue is used to parse a user provided flag argument.
20func (n *NullInt) ParseStringValue(val string) error {

Callers 2

scaleProcessMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected