Welcome to mirror list, hosted at ThFree Co, Russian Federation.

noop.go « cgroups « internal - gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6aab5164266bb8a2c8159c2429a1e0232a3fb9b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package cgroups

import (
	"gitlab.com/gitlab-org/gitaly/v14/internal/command"
)

// NoopManager is a cgroups manager that does nothing
type NoopManager struct{}

func (cg *NoopManager) Setup() error {
	return nil
}

func (cg *NoopManager) AddCommand(cmd *command.Command) error {
	return nil
}

func (cg *NoopManager) Cleanup() error {
	return nil
}