Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewFakeOOMAdjuster (0.12 sec)

  1. pkg/util/oom/oom_fake.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package oom
    
    type FakeOOMAdjuster struct{}
    
    func NewFakeOOMAdjuster() *OOMAdjuster {
    	return &OOMAdjuster{
    		pidLister:                 func(cgroupName string) ([]int, error) { return make([]int, 0), nil },
    		ApplyOOMScoreAdj:          fakeApplyOOMScoreAdj,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 30 00:47:36 UTC 2016
    - 1K bytes
    - Viewed (0)
  2. pkg/kubemark/hollow_kubelet.go

    		OSInterface:               &containertest.FakeOS{},
    		ContainerManager:          containerManager,
    		VolumePlugins:             volumePlugins(),
    		TLSOptions:                nil,
    		OOMAdjuster:               oom.NewFakeOOMAdjuster(),
    		Mounter:                   &mount.FakeMounter{},
    		Subpather:                 &subpath.FakeSubpath{},
    		HostUtil:                  hostutil.NewFakeHostUtil(nil),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top