inspector

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTarFromID

func GetTarFromID(ctx context.Context, ID string) ([]io.ReadCloser, error)

Types

type DockerApi

type DockerApi struct {
	DCli *client.Client
}

func (*DockerApi) FindDockerService added in v1.0.9

func (da *DockerApi) FindDockerService(name string) bool

func (*DockerApi) GetAllContainers

func (da *DockerApi) GetAllContainers() ([]*types.ContainerJSON, error)

func (*DockerApi) GetAllImage

func (da *DockerApi) GetAllImage() ([]*ImageInfo, error)

func (*DockerApi) GetContainerName

func (da *DockerApi) GetContainerName(containerID string) ([]io.ReadCloser, error)

func (*DockerApi) GetDockerServerVersion

func (da *DockerApi) GetDockerServerVersion(ctx context.Context) (string, error)

func (*DockerApi) GetEngineVersion

func (da *DockerApi) GetEngineVersion(ctx context.Context) (string, error)

func (*DockerApi) GetImageName

func (da *DockerApi) GetImageName(imageID string) ([]io.ReadCloser, error)

type ImageInfo added in v1.0.3

type ImageInfo struct {
	Summary types.ImageSummary
	History []imagev1.HistoryResponseItem
}

Jump to

Keyboard shortcuts

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