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-rc.3+incompatible
Published
Jan 17, 2024
Platform
linux/amd64
Imports
3 packages
Last checked
4 minutes ago

Tools for package owners.