io.systemd.sysext
Methods
Merge
func (c *Client) Merge(ctx context.Context, in MergeIn) error
Parameters
| Field |
Type |
Description |
class |
?ImageClass |
|
force |
?bool |
|
noReload |
?bool |
|
noexec |
?bool |
|
allowInteractiveAuthentication |
?bool |
Controls whether interactive authentication (via polkit) shall be allowed. If unspecified defaults to false. |
Unmerge
func (c *Client) Unmerge(ctx context.Context, in UnmergeIn) error
Parameters
| Field |
Type |
Description |
class |
?ImageClass |
|
noReload |
?bool |
|
allowInteractiveAuthentication |
?bool |
Controls whether interactive authentication (via polkit) shall be allowed. If unspecified defaults to false. |
Refresh
func (c *Client) Refresh(ctx context.Context, in RefreshIn) error
Parameters
| Field |
Type |
Description |
class |
?ImageClass |
|
force |
?bool |
|
noReload |
?bool |
|
alwaysRefresh |
?bool |
|
noexec |
?bool |
|
allowInteractiveAuthentication |
?bool |
Controls whether interactive authentication (via polkit) shall be allowed. If unspecified defaults to false. |
List
streaming (requires more)
func (c *Client) List(ctx context.Context, in ListIn) iter.Seq2[*ListOut, error]
Parameters
| Field |
Type |
Description |
class |
?ImageClass |
|
allowInteractiveAuthentication |
?bool |
Controls whether interactive authentication (via polkit) shall be allowed. If unspecified defaults to false. |
Reply
| Field |
Type |
Description |
Class |
ImageClass |
|
Type |
ImageType |
|
Name |
string |
|
Path |
?string |
|
ReadOnly |
bool |
|
CreationTimestamp |
?int |
|
ModificationTimestamp |
?int |
|
Usage |
?int |
|
UsageExclusive |
?int |
|
Limit |
?int |
|
LimitExclusive |
?int |
|
Types
ImageClass
| Value |
Description |
sysext |
|
confext |
|
ImageType
| Value |
Description |
directory |
|
subvolume |
|
raw |
|
block |
|
mstack |
|
Errors
| Error |
Go type |
Description |
NoImagesFound |
NoImagesFoundError |
|
AlreadyMerged |
AlreadyMergedError |
|