MCPcopy
hub / github.com/docker/compose / NetworkCreate

Method NetworkCreate

pkg/dryrun/dryrunclient.go:255–259  ·  pkg/dryrun/dryrunclient.go::DryRunClient.NetworkCreate
(ctx context.Context, name string, options client.NetworkCreateOptions)

Source from the content-addressed store, hash-verified

253}
254
255func (d *DryRunClient) NetworkCreate(ctx context.Context, name string, options client.NetworkCreateOptions) (client.NetworkCreateResult, error) {
256 return client.NetworkCreateResult{
257 ID: name,
258 }, nil
259}
260
261func (d *DryRunClient) NetworkDisconnect(ctx context.Context, networkName string, options client.NetworkDisconnectOptions) (client.NetworkDisconnectResult, error) {
262 return client.NetworkDisconnectResult{}, nil

Callers 2

Calls

no outgoing calls

Tested by 1