- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for readProfiles (0.12 sec)
-
operator/pkg/helm/renderer.go
by, err := fs.ReadFile(manifests.BuiltinOrDir(chartsDir), path) if err != nil { return "", err } return string(by), nil } func readProfiles(chartsDir string) (map[string]bool, error) { profiles := map[string]bool{} f := manifests.BuiltinOrDir(chartsDir) dir, err := fs.ReadDir(f, profilesRoot) if err != nil { return nil, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 13 01:59:17 UTC 2022 - 5K bytes - Viewed (0) -
operator/pkg/helm/helm.go
// a profile label or a file path. func GetProfileYAML(installPackagePath, profileOrPath string) (string, error) { if profileOrPath == "" { profileOrPath = "default" } profiles, err := readProfiles(installPackagePath) if err != nil { return "", fmt.Errorf("failed to read profiles: %v", err) } // If charts are a file path and profile is a name like default, transform it to the file path.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 05:10:03 UTC 2024 - 8K bytes - Viewed (0) -
src/runtime/cpuprof.go
return ticksPerSecond() } // readProfile, provided to runtime/pprof, returns the next chunk of // binary CPU profiling stack trace data, blocking until data is available. // If profiling is turned off and all the profile data accumulated while it was // on has been returned, readProfile returns eof=true. // The caller must save the returned data and tags before calling readProfile again.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 8.5K bytes - Viewed (0) -
src/runtime/pprof/pprof.go
go profileWriter(w) return nil } // readProfile, provided by the runtime, returns the next chunk of // binary CPU profiling stack trace data, blocking until data is available. // If profiling is turned off and all the profile data accumulated while it was // on has been returned, readProfile returns eof=true. // The caller must save the returned data and tags before calling readProfile again.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 30.6K bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
delay += s.Value[1] } } return } blockMutex(t) contentions, delay := readProfile() if contentions == 0 || delay == 0 { t.Fatal("did not see expected function in profile") } runtime.SetMutexProfileFraction(0) newContentions, newDelay := readProfile() if newContentions != contentions || newDelay != delay {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0)