mock

package
v1.38.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logs

type Logs struct {
	Content     string
	Multiplexed bool
}

type Server

type Server struct {
	Info     system.Info
	List     []container.Summary
	Disks    container.DiskUsage
	RawDisks []byte // Raw response as the disks response format depends on the API version
	Inspect  map[string]container.InspectResponse
	Stats    map[string]container.StatsResponse
	Logs     map[string]Logs

	Services []swarm.Service
	Tasks    []swarm.Task
	Nodes    []swarm.Node

	APIVersion string

	ListParams map[string]string
	// contains filtered or unexported fields
}

func NewServerFromFiles

func NewServerFromFiles(path string) (*Server, error)

func (*Server) Close

func (s *Server) Close()

func (*Server) Start

func (s *Server) Start(t *testing.T) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL