package network

import "github.com/docker/cli/internal/test/network"

Index

Types

type FakeClient

type FakeClient struct {
	client.NetworkAPIClient
	NetworkInspectFunc func(ctx context.Context, networkID string, options types.NetworkInspectOptions) (types.NetworkResource, error)
}

FakeClient is a fake NetworkAPIClient

func (*FakeClient) NetworkInspect

func (c *FakeClient) NetworkInspect(ctx context.Context, networkID string, options types.NetworkInspectOptions) (types.NetworkResource, error)

NetworkInspect fakes inspecting a network

Source Files

client.go

Version
v25.0.0-beta.2+incompatible
Published
Dec 12, 2023
Platform
windows/amd64
Imports
3 packages
Last checked
2 minutes ago

Tools for package owners.