- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 279 for InfoS (0.05 sec)
-
pkg/kubelet/cm/cpumanager/fake_cpu_manager.go
klog.InfoS("Start()") return nil } func (m *fakeManager) Policy() Policy { klog.InfoS("Policy()") pol, _ := NewNonePolicy(nil) return pol } func (m *fakeManager) Allocate(pod *v1.Pod, container *v1.Container) error { klog.InfoS("Allocate", "pod", klog.KObj(pod), "containerName", container.Name) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 2.9K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/fake_topology_manager.go
func (m *fakeManager) AddHintProvider(h HintProvider) { klog.InfoS("AddHintProvider", "hintProvider", h) } func (m *fakeManager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) { klog.InfoS("AddContainer", "pod", klog.KObj(pod), "containerName", container.Name, "containerID", containerID) } func (m *fakeManager) RemoveContainer(containerID string) error { klog.InfoS("RemoveContainer", "containerID", containerID) return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 02 18:02:07 UTC 2022 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/builder_flags_fake.go
func NewSimpleFakeResourceFinder(infos ...*resource.Info) ResourceFinder { return &fakeResourceFinder{ Infos: infos, } } type fakeResourceFinder struct { Infos []*resource.Info } // Do implements the interface func (f *fakeResourceFinder) Do() resource.Visitor { return &fakeResourceResult{ Infos: f.Infos, } } type fakeResourceResult struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 13 10:28:09 UTC 2021 - 1.3K bytes - Viewed (0) -
pkg/kubelet/status/fake_status_manager.go
type fakeManager struct { state state.State } func (m *fakeManager) Start() { klog.InfoS("Start()") return } func (m *fakeManager) GetPodStatus(uid types.UID) (v1.PodStatus, bool) { klog.InfoS("GetPodStatus()") return v1.PodStatus{}, false } func (m *fakeManager) SetPodStatus(pod *v1.Pod, status v1.PodStatus) { klog.InfoS("SetPodStatus()") return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 05:59:34 UTC 2023 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storageversion/manager_test.go
) func TestSortResourceInfosByGroupResource(t *testing.T) { tests := []struct { infos []ResourceInfo expected []ResourceInfo }{ { infos: nil, expected: nil, }, { infos: []ResourceInfo{}, expected: []ResourceInfo{}, }, { infos: []ResourceInfo{ {GroupResource: schema.GroupResource{Group: "", Resource: "pods"}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 09 02:34:59 UTC 2020 - 1.8K bytes - Viewed (0) -
src/os/dir_plan9.go
dirents = append(dirents, dirEntry{f}) } else { infos = append(infos, f) } } d.bufp += m n-- } if n > 0 && len(names)+len(dirents)+len(infos) == 0 { return nil, nil, nil, io.EOF } return names, dirents, infos, nil } type dirEntry struct { fs *fileStat } func (de dirEntry) Name() string { return de.fs.Name() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 20:52:06 UTC 2024 - 2.1K bytes - Viewed (0) -
pkg/kubelet/runonce.go
} else { klog.InfoS("Unable to start pod because container failed", "pod", klog.KObj(res.Pod), "containerName", failedContainerName) } failedPods = append(failedPods, format.Pod(res.Pod)) } else { klog.InfoS("Started pod", "pod", klog.KObj(res.Pod)) } } if len(failedPods) > 0 { return results, fmt.Errorf("error running pods: %v", failedPods) } klog.InfoS("Pods started", "numPods", len(pods))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 04 06:56:50 UTC 2023 - 5.9K bytes - Viewed (0) -
pkg/kubelet/winstats/winstats_test.go
assert.Equal(t, len(actualRootInfos["/"].Stats), len(infos["/"].Stats)) assert.Equal(t, actualRootInfos["/"].Stats[0].Cpu, infos["/"].Stats[0].Cpu) assert.Equal(t, actualRootInfos["/"].Stats[0].CpuInst, infos["/"].Stats[0].CpuInst) assert.Equal(t, actualRootInfos["/"].Stats[0].Memory, infos["/"].Stats[0].Memory) } func TestWinMachineInfo(t *testing.T) { c := getClient(t) machineInfo, err := c.WinMachineInfo()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 13 12:08:15 UTC 2023 - 4.2K bytes - Viewed (0) -
src/go/token/serialize.go
files := make([]*File, len(ss.Files)) for i := 0; i < len(ss.Files); i++ { f := &ss.Files[i] files[i] = &File{ name: f.Name, base: f.Base, size: f.Size, lines: f.Lines, infos: f.Infos, } } s.files = files s.last.Store(nil) s.mutex.Unlock() return nil } // Write calls encode to serialize the file set s. func (s *FileSet) Write(encode func(any) error) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 29 22:19:48 UTC 2022 - 1.4K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/fake_memory_manager.go
klog.InfoS("Start()") return nil } func (m *fakeManager) Policy() Policy { klog.InfoS("Policy()") return NewPolicyNone() } func (m *fakeManager) Allocate(pod *v1.Pod, container *v1.Container) error { klog.InfoS("Allocate", "pod", klog.KObj(pod), "containerName", container.Name) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 13:02:15 UTC 2023 - 3.1K bytes - Viewed (0)