mirror of
https://github.com/docker/cli.git
synced 2026-09-25 07:50:37 -05:00
change minor mistake of spelling
Signed-off-by: allencloud <allen.sun@daocloud.io> Upstream-commit: 7c3657065cc04af278a0f1cee99de8c2401ba0ef Component: engine
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
// Backend abstracts an swarm commands manager.
|
||||
// Backend abstracts a swarm manager.
|
||||
type Backend interface {
|
||||
Init(req types.InitRequest) (string, error)
|
||||
Join(req types.JoinRequest) error
|
||||
|
||||
@@ -4108,7 +4108,7 @@ paths:
|
||||
tags: ["Container"]
|
||||
get:
|
||||
summary: "Get an archive of a filesystem resource in a container"
|
||||
description: "Get an tar archive of a resource in the filesystem of container id."
|
||||
description: "Get a tar archive of a resource in the filesystem of container id."
|
||||
operationId: "ContainerGetArchive"
|
||||
produces:
|
||||
- "application/x-tar"
|
||||
|
||||
@@ -28,7 +28,7 @@ type EndpointIPAMConfig struct {
|
||||
LinkLocalIPs []string `json:",omitempty"`
|
||||
}
|
||||
|
||||
// PeerInfo represents one peer of a overlay network
|
||||
// PeerInfo represents one peer of an overlay network
|
||||
type PeerInfo struct {
|
||||
Name string
|
||||
IP string
|
||||
|
||||
@@ -10,7 +10,7 @@ type Seccomp struct {
|
||||
Syscalls []*Syscall `json:"syscalls"`
|
||||
}
|
||||
|
||||
// Architecture is used to represent an specific architecture
|
||||
// Architecture is used to represent a specific architecture
|
||||
// and its sub-architectures
|
||||
type Architecture struct {
|
||||
Arch Arch `json:"architecture"`
|
||||
|
||||
@@ -154,11 +154,11 @@ type Version struct {
|
||||
BuildTime string `json:",omitempty"`
|
||||
}
|
||||
|
||||
// Commit records a external tool actual commit id version along the
|
||||
// one expect by dockerd as set at build time
|
||||
// Commit holds the Git-commit (SHA1) that a binary was built from, as reported
|
||||
// in the version-string of external tools, such as containerd, or runC.
|
||||
type Commit struct {
|
||||
ID string
|
||||
Expected string
|
||||
ID string // ID is the actual commit ID of external tool.
|
||||
Expected string // Expected is the commit ID of external tool expected by dockerd as set at build time.
|
||||
}
|
||||
|
||||
// Info contains response of Engine API:
|
||||
|
||||
Reference in New Issue
Block a user