Documentation
¶
Index ¶
- func AsMap(args ...any) map[string]any
- func Containers(containers ...ctypes.Summary) []ctypes.Summary
- func DetailsResponse(params map[string]any) ctypes.InspectResponse
- func HTTPClient(daemonURL string, tlsConfig *tls.Config) (*http.Client, error)
- func ImageDetailsResponse(params map[string]any) imagetypes.InspectResponse
- func NewClient(dockerHost string, tlsConfig *tls.Config) (ctr.Client, error)
- func NewTestContainer(params map[string]any) *ctr.Container
- func Response(params map[string]any) ctypes.Summary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Containers ¶
Containers list of containers
func DetailsResponse ¶
func DetailsResponse(params map[string]any) ctypes.InspectResponse
DetailsResponse mock container details response
func HTTPClient ¶
HTTPClient create new http client to connect to the docker daemon
func ImageDetailsResponse ¶
func ImageDetailsResponse(params map[string]any) imagetypes.InspectResponse
ImageDetailsResponse mock image response
func NewClient ¶
NewClient returns a new Client instance which can be used to interact with the Docker API.
func NewTestContainer ¶
NewTestContainer creates a Container directly from params for testing
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.