MCPcopy
hub / github.com/moby/moby / ServiceCreate

Method ServiceCreate

client/client_interfaces.go:179–179  ·  view source on GitHub ↗
(ctx context.Context, options ServiceCreateOptions)

Source from the content-addressed store, hash-verified

177// ServiceAPIClient defines API client methods for the services
178type ServiceAPIClient interface {
179 ServiceCreate(ctx context.Context, options ServiceCreateOptions) (ServiceCreateResult, error)
180 ServiceInspect(ctx context.Context, serviceID string, options ServiceInspectOptions) (ServiceInspectResult, error)
181 ServiceList(ctx context.Context, options ServiceListOptions) (ServiceListResult, error)
182 ServiceUpdate(ctx context.Context, serviceID string, options ServiceUpdateOptions) (ServiceUpdateResult, error)

Callers 12

TestServiceCreateErrorFunction · 0.65
TestServiceCreateFunction · 0.65
TestInspectFunction · 0.65
CreateServiceFunction · 0.65

Implementers 1

Clientclient/client.go

Calls

no outgoing calls

Tested by 10

TestServiceCreateErrorFunction · 0.52
TestServiceCreateFunction · 0.52
TestInspectFunction · 0.52