types

package
v0.1.1-beta Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerResponse

type ContainerResponse struct {
	ID              string                        `json:"id"`
	Names           []string                      `json:"names"`
	Created         int64                         `json:"created"`
	Image           string                        `json:"image"`
	ImageId         string                        `json:"image_id"`
	Labels          map[string]string             `json:"labels"`
	Command         string                        `json:"command"`
	Mounts          []types.MountPoint            `json:"mounts"`
	Ports           []types.Port                  `json:"ports"`
	State           string                        `json:"state"`
	Status          string                        `json:"status"`
	SizeRw          int64                         `json:"size_rw"`
	NetworkSettings *types.SummaryNetworkSettings `json:"network_settings"`
}

Structure to capture container response

type ImageResponse

type ImageResponse struct {
	ID         string            `json:"id"`
	Created    int64             `json:"created"`
	Containers int64             `json:"containers"`
	Labels     map[string]string `json:"labels"`
	RepoDigest []string          `json:"repo_digest"`
	RepoTags   []string          `json:"repo_tags"`
	Size       int64             `json:"size"`
	ParentId   string            `json:"parent_id"`
}

Structure to capture image response

Jump to

Keyboard shortcuts

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