mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
chore: update api.ServiceClient interface to include service creation and removal
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user