Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 94 for podAdd (0.24 sec)

  1. pkg/kubelet/cm/topologymanager/fake_topology_manager.go

    func NewFakeManagerWithPolicy(policy Policy) Manager {
    	klog.InfoS("NewFakeManagerWithPolicy")
    	return &fakeManager{
    		policy: policy,
    	}
    }
    
    func (m *fakeManager) GetAffinity(podUID string, containerName string) TopologyHint {
    	klog.InfoS("GetAffinity", "podUID", podUID, "containerName", containerName)
    	if m.hint == nil {
    		return TopologyHint{}
    	}
    
    	return *m.hint
    }
    
    func (m *fakeManager) GetPolicy() Policy {
    	return m.policy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 02 18:02:07 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. pkg/kubelet/apis/podresources/server_v1alpha1_test.go

    	podresourcetest "k8s.io/kubernetes/pkg/kubelet/apis/podresources/testing"
    )
    
    func TestListPodResourcesV1alpha1(t *testing.T) {
    	podName := "pod-name"
    	podNamespace := "pod-namespace"
    	podUID := types.UID("pod-uid")
    	containerName := "container-name"
    
    	devs := []*podresourcesv1.ContainerDevices{
    		{
    			ResourceName: "resource",
    			DeviceIds:    []string{"dev0", "dev1"},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/podresources/types.go

    	// GetCPUs returns information about the cpus assigned to pods and containers
    	GetCPUs(podUID, containerName string) []int64
    	// GetAllocatableCPUs returns the allocatable (not allocated) CPUs
    	GetAllocatableCPUs() []int64
    }
    
    type MemoryProvider interface {
    	// GetMemory returns information about the memory assigned to containers
    	GetMemory(podUID, containerName string) []*podresourcesapi.ContainerMemory
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 17:33:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. pkg/volume/git_repo/git_repo.go

    			volName: spec.Name(),
    			podUID:  pod.UID,
    			plugin:  plugin,
    		},
    		pod:      *pod,
    		source:   spec.Volume.GitRepo.Repository,
    		revision: spec.Volume.GitRepo.Revision,
    		target:   spec.Volume.GitRepo.Directory,
    		exec:     exec.New(),
    		opts:     opts,
    	}, nil
    }
    
    func (plugin *gitRepoPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. src/internal/chacha8rand/chacha8_amd64.s

    	REPLREG(SI, X1)
    	REPLREG(R8, X2)
    	REPLREG(R9, X3)
    	REPLREG(R10, X12)
    	REPLREG(R11, X13)
    	REPLREG(R12, X14)
    	REPLREG(R13, X15)
    	PADDD X0, X4
    	PADDD X1, X5
    	PADDD X2, X6
    	PADDD X3, X7
    	PADDD X12, X8
    	PADDD X13, X9
    	PADDD X14, X10
    	PADDD X15, X11
    	MOVOU X4, (4*16)(BX)
    	MOVOU X5, (5*16)(BX)
    	MOVOU X6, (6*16)(BX)
    	MOVOU X7, (7*16)(BX)
    	MOVOU X8, (8*16)(BX)
    	MOVOU X9, (9*16)(BX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. pkg/volume/secret/secret.go

    	}, nil
    }
    
    func (plugin *secretPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return &secretVolumeUnmounter{
    		&secretVolume{
    			volName,
    			podUID,
    			plugin,
    			plugin.host.GetMounter(plugin.GetPluginName()),
    			volume.NewCachedMetrics(volume.NewMetricsDu(getPath(podUID, volName, plugin.host))),
    		},
    	}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. pkg/kubelet/server/auth_test.go

    	// Path -> ExpectedSubresource
    	testPaths := map[string]string{
    		"/attach/{podNamespace}/{podID}/{containerName}":       "proxy",
    		"/attach/{podNamespace}/{podID}/{uid}/{containerName}": "proxy",
    		"/checkpoint/{podNamespace}/{podID}/{containerName}":   "checkpoint",
    		"/configz": "proxy",
    		"/containerLogs/{podNamespace}/{podID}/{containerName}": "proxy",
    		"/debug/flags/v":                                     "proxy",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/dra/claiminfo.go

    }
    
    // addPodReference adds a pod reference to the claim info.
    func (info *ClaimInfo) addPodReference(podUID types.UID) {
    	info.PodUIDs.Insert(string(podUID))
    }
    
    // hasPodReference checks if a pod reference exists in the claim info.
    func (info *ClaimInfo) hasPodReference(podUID types.UID) bool {
    	return info.PodUIDs.Has(string(podUID))
    }
    
    // deletePodReference deletes a pod reference from the claim info.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. pkg/kubelet/util/format/pod.go

    // with pod UID as part of the string.
    func PodDesc(podName, podNamespace string, podUID types.UID) string {
    	// Use underscore as the delimiter because it is not allowed in pod name
    	// (DNS subdomain format), while allowed in the container name format.
    	return fmt.Sprintf("%s_%s(%s)", podName, podNamespace, podUID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 13 08:27:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/memorymanager/state/state.go

    	GetMemoryBlocks(podUID string, containerName string) []Block
    	// GetMemoryAssignments returns ContainerMemoryAssignments
    	GetMemoryAssignments() ContainerMemoryAssignments
    }
    
    type writer interface {
    	// SetMachineState stores NUMANodeMap in State
    	SetMachineState(memoryMap NUMANodeMap)
    	// SetMemoryBlocks stores memory assignments of a container
    	SetMemoryBlocks(podUID string, containerName string, blocks []Block)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 08 23:10:00 UTC 2021
    - 4.4K bytes
    - Viewed (0)
Back to top