- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 5,571 for info1 (0.2 sec)
-
src/io/ioutil/ioutil.go
// If you must continue obtaining a list of [fs.FileInfo], you still can: // // entries, err := os.ReadDir(dirname) // if err != nil { ... } // infos := make([]fs.FileInfo, 0, len(entries)) // for _, entry := range entries { // info, err := entry.Info() // if err != nil { ... } // infos = append(infos, info) // } func ReadDir(dirname string) ([]fs.FileInfo, error) { f, err := os.Open(dirname) if err != nil { return nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher.go
} } else { klog.V(5).InfoS("Ignoring file", "path", path, "mode", mode) } return nil }) } // Handle filesystem notify event. // Files names: // - MUST NOT start with a '.' func (w *Watcher) handleCreateEvent(event fsnotify.Event) error { klog.V(6).InfoS("Handling create event", "event", event) fi, err := getStat(event) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 01 00:26:37 UTC 2023 - 6.1K bytes - Viewed (0) -
pkg/volume/csi/csi_plugin.go
dir := mounter.GetPath() mounter.MetricsProvider = NewMetricsCsi(volumeHandle, dir, csiDriverName(driverName)) klog.V(4).Info(log("mounter created successfully")) return mounter, nil } func (p *csiPlugin) NewUnmounter(specName string, podUID types.UID) (volume.Unmounter, error) { klog.V(4).Infof(log("setting up unmounter for [name=%v, podUID=%v]", specName, podUID)) kvh, ok := p.host.(volume.KubeletVolumeHost) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 29.2K bytes - Viewed (0) -
pilot/test/mock/config.go
} log.Info("Created mock descriptor") // create configuration objects elts := make(map[int]config2.Config) for i := 0; i < n; i++ { elts[i] = Make(namespace, i) } log.Info("Make mock objects") // post all elements for _, elt := range elts { if _, err := r.Create(elt); err != nil { t.Error(err) } } log.Info("Created mock objects")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 13.2K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/node_authorizer.go
switch attrs.GetVerb() { case "update", "patch": // ok default: klog.V(2).Infof("NODE DENY: '%s' %#v", nodeName, attrs) return authorizer.DecisionNoOpinion, "can only get/update/patch this type", nil } if attrs.GetSubresource() != "status" { klog.V(2).Infof("NODE DENY: '%s' %#v", nodeName, attrs) return authorizer.DecisionNoOpinion, "can only update status subresource", nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 16K bytes - Viewed (0) -
pkg/test/framework/components/gcemetadata/kube.go
} c.id = ctx.TrackResource(c) var err error scopes.Framework.Info("=== BEGIN: Deploy GCE Metadata Server ===") defer func() { if err != nil { err = fmt.Errorf("gcemetadata deployment failed: %v", err) scopes.Framework.Infof("=== FAILED: Deploy GCE Metadata Server ===") _ = c.Close() } else { scopes.Framework.Info("=== SUCCEEDED: Deploy GCE Metadata Server ===") } }()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 04 22:47:52 UTC 2023 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go
if plState == nil { klog.V(7).Infof("plName=%s, plState==nil", plName) return } useless := plState.quiescing && plState.numPending == 0 && plState.queues.IsIdle() klog.V(7).Infof("plState.quiescing=%v, plState.numPending=%d, useless=%v", plState.quiescing, plState.numPending, useless) if !useless { return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 48.8K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_linux.go
mountFlags := []string{"--no-canonicalize"} klog.V(5).Infof("bind mounting %q at %q", mountSource, bindPathTarget) if err = mounter.MountSensitiveWithoutSystemdWithMountFlags(mountSource, bindPathTarget, "" /*fstype*/, options, nil /* sensitiveOptions */, mountFlags); err != nil { return "", fmt.Errorf("error mounting %s: %s", subpath.Path, err) } success = true klog.V(3).Infof("Bound SubPath %s into %s", subpath.Path, bindPathTarget)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 12 14:09:11 UTC 2022 - 21.4K bytes - Viewed (0) -
src/cmd/go/internal/fsys/fsys_test.go
dir, want := tc.dir, tc.want infos, err := ReadDir(dir) if err != nil { t.Errorf("ReadDir(%q): %v", dir, err) continue } // Sorted diff of want and infos. for len(infos) > 0 || len(want) > 0 { switch { case len(want) == 0 || len(infos) > 0 && infos[0].Name() < want[0].name: t.Errorf("ReadDir(%q): unexpected entry: %s IsDir=%v Size=%v", dir, infos[0].Name(), infos[0].IsDir(), infos[0].Size())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:52:11 UTC 2023 - 29.1K bytes - Viewed (0) -
src/log/slog/doc.go
pairs, where the keys are strings and the values may be of any type. As an example, slog.Info("hello", "count", 3) creates a record containing the time of the call, a level of Info, the message "hello", and a single pair with key "count" and value 3. The [Info] top-level function calls the [Logger.Info] method on the default Logger. In addition to [Logger.Info], there are methods for Debug, Warn and Error levels.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 15 14:35:48 UTC 2024 - 12.3K bytes - Viewed (0)