- Sort Score
- Result 10 results
- Languages All
Results 21 - 25 of 25 for parseBool (0.14 sec)
-
staging/src/k8s.io/apiserver/pkg/server/resourceconfig/helpers.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 23 18:36:33 UTC 2022 - 7.8K bytes - Viewed (0) -
cmd/tier-handlers.go
writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } var ignoreInUse bool if forceStr := r.Form.Get("force"); forceStr != "" { ignoreInUse, _ = strconv.ParseBool(forceStr) } // Disallow remote tiers with internal storage class names switch cfg.Name { case storageclass.STANDARD, storageclass.RRS:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 7.5K bytes - Viewed (0) -
pkg/kube/inject/app_probe.go
func ShouldRewriteAppHTTPProbers(annotations map[string]string, specSetting bool) bool { if annotations != nil { if value, ok := annotations[annotation.SidecarRewriteAppHTTPProbers.Name]; ok { if isSetInAnnotation, err := strconv.ParseBool(value); err == nil { return isSetInAnnotation } } } return specSetting } // FindSidecar returns the pointer to the first container whose name matches the "istio-proxy".
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 04 15:06:24 UTC 2023 - 8.4K bytes - Viewed (0) -
src/strconv/atoi.go
var ErrSyntax = errors.New("invalid syntax") // A NumError records a failed conversion. type NumError struct { Func string // the failing function (ParseBool, ParseInt, ParseUint, ParseFloat, ParseComplex) Num string // the input Err error // the reason the conversion failed (e.g. ErrRange, ErrSyntax, etc.) } func (e *NumError) Error() string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 05 00:24:26 UTC 2024 - 8.3K bytes - Viewed (0) -
src/strconv/example_test.go
} func ExampleItoa() { i := 10 s := strconv.Itoa(i) fmt.Printf("%T, %v\n", s, s) // Output: // string, 10 } func ExampleParseBool() { v := "true" if s, err := strconv.ParseBool(v); err == nil { fmt.Printf("%T, %v\n", s, s) } // Output: // bool, true } func ExampleParseFloat() { v := "3.1415926535" if s, err := strconv.ParseFloat(v, 32); err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 22:57:37 UTC 2023 - 8.9K bytes - Viewed (0)