chore: update api.ServiceClient interface to include service creation and removal

This commit is contained in:
Pavel Sviderski committed 2025-04-21 12:48:21 +10:00
1 parent f08d9fe405
commit 45497fd20c
3 files changed
+9 -7

No files matched your search

+2
View File
@@ -45,7 +45,9 @@ type MachineClient interface {
}
type ServiceClient interface {
RunService(ctx context.Context, spec ServiceSpec) (RunServiceResponse, error)
InspectService(ctx context.Context, id string) (Service, error)
RemoveService(ctx context.Context, id string) error
}
type VolumeClient interface {