Skip to content

feat: implement agent process management #9461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lint
  • Loading branch information
sreya committed Sep 12, 2023
commit 05baba0382a048e7d385e6328f5f10847ceec69e
8 changes: 4 additions & 4 deletions agent/agentproc/proc_other.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ import (
)

func (p *Process) SetOOMAdj(score int) error {
return errUnimplimented
return errUnimplemented
}

func (p *Process) Niceness(sc Syscaller) (int, error) {
return 0, errUnimplimented
return 0, errUnimplemented
}

func (p *Process) SetNiceness(sc Syscaller, score int) error {
return errUnimplimented
return errUnimplemented
}

func (p *Process) Name() string {
return ""
}

func List(fs afero.Fs, syscaller Syscaller) ([]*Process, error) {
return nil, errUnimplimented
return nil, errUnimplemented
}
2 changes: 1 addition & 1 deletion agent/agentproc/syscaller_other.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func NewSyscaller() Syscaller {
return nopSyscaller{}
}

var errUnimplimented = xerrors.New("unimplemented")
var errUnimplemented = xerrors.New("unimplemented")

type nopSyscaller struct{}

Expand Down