docker

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package docker includes a wrapper of the Docker Go SDK Client

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	ContainerList(context.Context) ([]types.Container, error)
	ContainerStats(ctx context.Context, longContainerID string) (*types.Stats, error)
}

Client is a wrapper for Docker SDK Client

func NewDockerClient

func NewDockerClient() (Client, error)

NewDockerClient creates a new wrapper of the Docker Go Client

Directories

Path Synopsis
Package mock_docker is a generated GoMock package.
Package mock_docker is a generated GoMock package.

Jump to

Keyboard shortcuts

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