io.systemd.ManagedOOM
Methods
SubscribeManagedOOMCGroups
streaming optional
func (c *Client) SubscribeManagedOOMCGroups(ctx context.Context) (*SubscribeManagedOOMCGroupsOut, error)
func (c *Client) SubscribeManagedOOMCGroupsMore(ctx context.Context) iter.Seq2[*SubscribeManagedOOMCGroupsOut, error]
Reply
| Field |
Type |
Description |
cgroups |
[]ControlGroup |
|
Types
ManagedOOMMode
| Value |
Description |
auto |
|
kill |
|
ControlGroup
| Field |
Type |
Description |
mode |
ManagedOOMMode |
|
path |
string |
|
property |
string |
|
limit |
?int |
|
duration |
?int |
|
rules |
?[]string |
|
Errors
| Error |
Go type |
Description |
SubscriptionTaken |
SubscriptionTakenError |
|