moby

package
v0.0.0-...-f4cebfc Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package moby is a generated protocol buffer package.

It is generated from these files:

pb/moby/moby.proto

It has these top-level messages:

AuthConfig
ContainerListOptions
ContainerLogsOptions
ContainerRemoveOptions
ContainerStartOptions
NetworkListOptions
ImageBuildOptions
ImageBuildResponse
ImageCreateOptions
ImageImportSource
ImageImportOptions
ImageListOptions
ImageLoadResponse
ImagePullOptions
ImagePushOptions
ImageRemoveOptions
ImageSearchOptions
GraphDriverData
ImageDeleteResponseItem
ImageSummary
Port
RootFS
ImageInspect
ImageMetadata
Container
HealthcheckResult
Health
ContainerState
ContainerNode
ContainerJSONBase
ContainerJSON
NetworkSettings
SummaryNetworkSettings
NetworkSettingsBase
DefaultNetworkSettings
MountPoint
NetworkResource
EndpointResource
NetworkCreate
NetworkCreateRequest
NetworkCreateResponse
NetworkConnect
NetworkDisconnect
NetworkInspectOptions
ContainersPruneReport
ImagesPruneReport
NetworksPruneReport
Image

Index

Constants

View Source
const (
	BuilderV1       string = "1"
	BuilderBuildKit string = "2"
)

Variables

View Source
var (
	ErrNilPointer                      = errors.New("found nil pointer")
	ErrImagePullOptionsIsNil           = errors.New("ImagePullOptions not specified")
	ErrImagePushOptionsIsNil           = errors.New("ImagePushOptions not specified")
	ErrImageBuildOptionsIsNil          = errors.New("ImageBuildOptions is nil")
	ErrImageBuildDockefileNotSpecified = errors.New("Dockefile not specified")
	ErrImageBuildOptCtxNotSpecified    = errors.New("Option context not specified")
	ErrNetworkCreateIsNil              = errors.New("NetworkCreate not specified")
)

Functions

This section is empty.

Types

type AuthConfig

type AuthConfig struct {
	// Username string 0x60json:"username,omitempty"0x60
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// Password string 0x60json:"password,omitempty"0x60
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// Auth string  0x60json:"auth,omitempty"0x60
	Auth string `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
	// Email string 0x60json:"email,omitempty"0x60 // Email is an Operational value associated with the username. This field is deprecated and will be removed in a later version of docker.
	Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	// ServerAddress string 0x60json:"serveraddress,omitempty"0x60
	ServerAddress string `protobuf:"bytes,5,opt,name=server_address,json=serverAddress,proto3" json:"server_address,omitempty"`
	// IdentityToken string 0x60json:"identitytoken,omitempty"0x60 // IdentityToken is used to authenticate the user and get an access token for the registry.
	IdentityToken string `protobuf:"bytes,6,opt,name=identity_token,json=identityToken,proto3" json:"identity_token,omitempty"`
	// RegistryToken string 0x60json:"registrytoken,omitempty"0x60 // RegistryToken is a bearer token to be sent to a registry
	RegistryToken string `protobuf:"bytes,7,opt,name=registry_token,json=registryToken,proto3" json:"registry_token,omitempty"`
}

https://github.com/moby/moby/blob/master/api/types/auth.go

AuthConfig contains authorization information for connecting to a Registry type AuthConfig struct

func (*AuthConfig) Descriptor

func (*AuthConfig) Descriptor() ([]byte, []int)

func (*AuthConfig) GetAuth

func (m *AuthConfig) GetAuth() string

func (*AuthConfig) GetEmail

func (m *AuthConfig) GetEmail() string

func (*AuthConfig) GetIdentityToken

func (m *AuthConfig) GetIdentityToken() string

func (*AuthConfig) GetPassword

func (m *AuthConfig) GetPassword() string

func (*AuthConfig) GetRegistryToken

func (m *AuthConfig) GetRegistryToken() string

func (*AuthConfig) GetServerAddress

func (m *AuthConfig) GetServerAddress() string

func (*AuthConfig) GetUsername

func (m *AuthConfig) GetUsername() string

func (*AuthConfig) ProtoMessage

func (*AuthConfig) ProtoMessage()

func (*AuthConfig) Reset

func (m *AuthConfig) Reset()

func (*AuthConfig) String

func (m *AuthConfig) String() string

type Container

type Container struct {
	// ID string `json:"Id"`
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Names []string
	Names []string `protobuf:"bytes,2,rep,name=names" json:"names,omitempty"`
	// Image string
	Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
	// ImageID string
	ImageId string `protobuf:"bytes,4,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	// Command string
	Command string `protobuf:"bytes,5,opt,name=command,proto3" json:"command,omitempty"`
	// Created int64
	Created int64 `protobuf:"varint,6,opt,name=created,proto3" json:"created,omitempty"`
	// Ports []Port
	Ports []*Port `protobuf:"bytes,7,rep,name=Ports" json:"Ports,omitempty"`
	// SizeRw int64 `json:",omitempty"`
	SizeRw int64 `protobuf:"varint,8,opt,name=size_rw,json=sizeRw,proto3" json:"size_rw,omitempty"`
	// SizeRootFs int64 `json:",omitempty"`
	SizeRootFs int64 `protobuf:"varint,9,opt,name=size_root_fs,json=sizeRootFs,proto3" json:"size_root_fs,omitempty"`
	// Labels map[string]string
	Labels map[string]string `` /* 147-byte string literal not displayed */
	// State string
	State string `protobuf:"bytes,11,opt,name=state,proto3" json:"state,omitempty"`
	// Status string
	Status string `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"`
	// HostConfig struct
	HostConfig *Container_HostConfig `protobuf:"bytes,13,opt,name=host_config,json=hostConfig" json:"host_config,omitempty"`
	// NetworkSettings *SummaryNetworkSettings
	NetworkSettings *SummaryNetworkSettings `protobuf:"bytes,14,opt,name=network_settings,json=networkSettings" json:"network_settings,omitempty"`
	// Mounts []MountPoint
	Mounts []*MountPoint `protobuf:"bytes,15,rep,name=mounts" json:"mounts,omitempty"`
}

Container contains response of Remote API: GET "/containers/json" type Container struct

func ConvertFromDockerApiTypeContainer

func ConvertFromDockerApiTypeContainer(s dockertypes.Container) (dst *Container)

func (*Container) Descriptor

func (*Container) Descriptor() ([]byte, []int)

func (*Container) GetCommand

func (m *Container) GetCommand() string

func (*Container) GetCreated

func (m *Container) GetCreated() int64

func (*Container) GetHostConfig

func (m *Container) GetHostConfig() *Container_HostConfig

func (*Container) GetId

func (m *Container) GetId() string

func (*Container) GetImage

func (m *Container) GetImage() string

func (*Container) GetImageId

func (m *Container) GetImageId() string

func (*Container) GetLabels

func (m *Container) GetLabels() map[string]string

func (*Container) GetMounts

func (m *Container) GetMounts() []*MountPoint

func (*Container) GetNames

func (m *Container) GetNames() []string

func (*Container) GetNetworkSettings

func (m *Container) GetNetworkSettings() *SummaryNetworkSettings

func (*Container) GetPorts

func (m *Container) GetPorts() []*Port

func (*Container) GetSizeRootFs

func (m *Container) GetSizeRootFs() int64

func (*Container) GetSizeRw

func (m *Container) GetSizeRw() int64

func (*Container) GetState

func (m *Container) GetState() string

func (*Container) GetStatus

func (m *Container) GetStatus() string

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) Reset

func (m *Container) Reset()

func (*Container) String

func (m *Container) String() string

type ContainerJSON

type ContainerJSON struct {
	// ContainerJSONBase
	ContainerJsonBase *ContainerJSONBase `protobuf:"bytes,1,opt,name=container_json_base,json=containerJsonBase" json:"container_json_base,omitempty"`
	// Mounts []MountPoint
	Mounts []*MountPoint `protobuf:"bytes,2,rep,name=mounts" json:"mounts,omitempty"`
	// Config *container.Config
	Config *container.Config `protobuf:"bytes,3,opt,name=config" json:"config,omitempty"`
	// NetworkSettings *NetworkSettings
	NetworkSettings *NetworkSettings `protobuf:"bytes,4,opt,name=network_settings,json=networkSettings" json:"network_settings,omitempty"`
}

ContainerJSON is newly used struct along with MountPoint type ContainerJSON struct

func ConvertFromDockerApiTypeContainerJSON

func ConvertFromDockerApiTypeContainerJSON(s *dockertypes.ContainerJSON) (dst *ContainerJSON)

func (*ContainerJSON) Descriptor

func (*ContainerJSON) Descriptor() ([]byte, []int)

func (*ContainerJSON) GetConfig

func (m *ContainerJSON) GetConfig() *container.Config

func (*ContainerJSON) GetContainerJsonBase

func (m *ContainerJSON) GetContainerJsonBase() *ContainerJSONBase

func (*ContainerJSON) GetMounts

func (m *ContainerJSON) GetMounts() []*MountPoint

func (*ContainerJSON) GetNetworkSettings

func (m *ContainerJSON) GetNetworkSettings() *NetworkSettings

func (*ContainerJSON) ProtoMessage

func (*ContainerJSON) ProtoMessage()

func (*ContainerJSON) Reset

func (m *ContainerJSON) Reset()

func (*ContainerJSON) String

func (m *ContainerJSON) String() string

type ContainerJSONBase

type ContainerJSONBase struct {
	// ID string `json:"Id"`
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Created string
	Created string `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"`
	// Path string
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// Args []string
	Args []string `protobuf:"bytes,4,rep,name=args" json:"args,omitempty"`
	// State *ContainerState
	State *ContainerState `protobuf:"bytes,5,opt,name=state" json:"state,omitempty"`
	// Image string
	Image string `protobuf:"bytes,6,opt,name=image,proto3" json:"image,omitempty"`
	// ResolvConfPath string
	ResolvConfPath string `protobuf:"bytes,7,opt,name=resolv_conf_path,json=resolvConfPath,proto3" json:"resolv_conf_path,omitempty"`
	// HostnamePath string
	HostnamePath string `protobuf:"bytes,8,opt,name=hostname_path,json=hostnamePath,proto3" json:"hostname_path,omitempty"`
	// HostsPath string
	HostsPath string `protobuf:"bytes,9,opt,name=hosts_path,json=hostsPath,proto3" json:"hosts_path,omitempty"`
	// LogPath string
	LogPath string `protobuf:"bytes,10,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"`
	// Node *ContainerNode `json:",omitempty"`
	Node *ContainerNode `protobuf:"bytes,11,opt,name=node" json:"node,omitempty"`
	// Name string
	Name string `protobuf:"bytes,12,opt,name=name,proto3" json:"name,omitempty"`
	// RestartCount int
	RestartCount int32 `protobuf:"varint,13,opt,name=restart_count,json=restartCount,proto3" json:"restart_count,omitempty"`
	// Driver string
	Driver string `protobuf:"bytes,14,opt,name=driver,proto3" json:"driver,omitempty"`
	// Platform string
	Platform string `protobuf:"bytes,15,opt,name=platform,proto3" json:"platform,omitempty"`
	// MountLabel string
	MountLabel string `protobuf:"bytes,16,opt,name=mount_label,json=mountLabel,proto3" json:"mount_label,omitempty"`
	// ProcessLabel string
	ProcessLabel string `protobuf:"bytes,17,opt,name=process_label,json=processLabel,proto3" json:"process_label,omitempty"`
	// AppArmorProfile string
	AppArmorProfile string `protobuf:"bytes,18,opt,name=app_armor_profile,json=appArmorProfile,proto3" json:"app_armor_profile,omitempty"`
	// ExecIDs []string
	ExecIds []string `protobuf:"bytes,19,rep,name=exec_ids,json=execIds" json:"exec_ids,omitempty"`
	// HostConfig *container.HostConfig
	HostConfig *container.HostConfig `protobuf:"bytes,20,opt,name=host_config,json=hostConfig" json:"host_config,omitempty"`
	// GraphDriver GraphDriverData
	GraphDriver *GraphDriverData `protobuf:"bytes,21,opt,name=graph_driver,json=graphDriver" json:"graph_driver,omitempty"`
	// SizeRw *int64 `json:",omitempty"`
	SizeRw *ContainerJSONBase_Int64Struct `protobuf:"bytes,22,opt,name=size_rw,json=sizeRw" json:"size_rw,omitempty"`
	// SizeRootFs *int64 `json:",omitempty"`
	SizeRootFs *ContainerJSONBase_Int64Struct `protobuf:"bytes,23,opt,name=size_root_fs,json=sizeRootFs" json:"size_root_fs,omitempty"`
}

ContainerJSONBase contains response of Remote API: GET "/containers/{name:.*}/json" type ContainerJSONBase struct

func (*ContainerJSONBase) Descriptor

func (*ContainerJSONBase) Descriptor() ([]byte, []int)

func (*ContainerJSONBase) GetAppArmorProfile

func (m *ContainerJSONBase) GetAppArmorProfile() string

func (*ContainerJSONBase) GetArgs

func (m *ContainerJSONBase) GetArgs() []string

func (*ContainerJSONBase) GetCreated

func (m *ContainerJSONBase) GetCreated() string

func (*ContainerJSONBase) GetDriver

func (m *ContainerJSONBase) GetDriver() string

func (*ContainerJSONBase) GetExecIds

func (m *ContainerJSONBase) GetExecIds() []string

func (*ContainerJSONBase) GetGraphDriver

func (m *ContainerJSONBase) GetGraphDriver() *GraphDriverData

func (*ContainerJSONBase) GetHostConfig

func (m *ContainerJSONBase) GetHostConfig() *container.HostConfig

func (*ContainerJSONBase) GetHostnamePath

func (m *ContainerJSONBase) GetHostnamePath() string

func (*ContainerJSONBase) GetHostsPath

func (m *ContainerJSONBase) GetHostsPath() string

func (*ContainerJSONBase) GetId

func (m *ContainerJSONBase) GetId() string

func (*ContainerJSONBase) GetImage

func (m *ContainerJSONBase) GetImage() string

func (*ContainerJSONBase) GetLogPath

func (m *ContainerJSONBase) GetLogPath() string

func (*ContainerJSONBase) GetMountLabel

func (m *ContainerJSONBase) GetMountLabel() string

func (*ContainerJSONBase) GetName

func (m *ContainerJSONBase) GetName() string

func (*ContainerJSONBase) GetNode

func (m *ContainerJSONBase) GetNode() *ContainerNode

func (*ContainerJSONBase) GetPath

func (m *ContainerJSONBase) GetPath() string

func (*ContainerJSONBase) GetPlatform

func (m *ContainerJSONBase) GetPlatform() string

func (*ContainerJSONBase) GetProcessLabel

func (m *ContainerJSONBase) GetProcessLabel() string

func (*ContainerJSONBase) GetResolvConfPath

func (m *ContainerJSONBase) GetResolvConfPath() string

func (*ContainerJSONBase) GetRestartCount

func (m *ContainerJSONBase) GetRestartCount() int32

func (*ContainerJSONBase) GetSizeRootFs

func (*ContainerJSONBase) GetSizeRw

func (*ContainerJSONBase) GetState

func (m *ContainerJSONBase) GetState() *ContainerState

func (*ContainerJSONBase) ProtoMessage

func (*ContainerJSONBase) ProtoMessage()

func (*ContainerJSONBase) Reset

func (m *ContainerJSONBase) Reset()

func (*ContainerJSONBase) String

func (m *ContainerJSONBase) String() string

type ContainerJSONBase_Int64Struct

type ContainerJSONBase_Int64Struct struct {
	Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}

func (*ContainerJSONBase_Int64Struct) Descriptor

func (*ContainerJSONBase_Int64Struct) Descriptor() ([]byte, []int)

func (*ContainerJSONBase_Int64Struct) GetValue

func (m *ContainerJSONBase_Int64Struct) GetValue() int64

func (*ContainerJSONBase_Int64Struct) ProtoMessage

func (*ContainerJSONBase_Int64Struct) ProtoMessage()

func (*ContainerJSONBase_Int64Struct) Reset

func (m *ContainerJSONBase_Int64Struct) Reset()

func (*ContainerJSONBase_Int64Struct) String

type ContainerListOptions

type ContainerListOptions struct {
	// Quiet bool
	Quiet bool `protobuf:"varint,1,opt,name=quiet,proto3" json:"quiet,omitempty"`
	// Size bool
	Size_ bool `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// All bool
	All bool `protobuf:"varint,3,opt,name=all,proto3" json:"all,omitempty"`
	// Latest bool
	Latest bool `protobuf:"varint,4,opt,name=latest,proto3" json:"latest,omitempty"`
	// Since string
	Since string `protobuf:"bytes,5,opt,name=since,proto3" json:"since,omitempty"`
	// Before string
	Before string `protobuf:"bytes,6,opt,name=before,proto3" json:"before,omitempty"`
	// Limit int
	Limit int32 `protobuf:"varint,7,opt,name=limit,proto3" json:"limit,omitempty"`
	// Filters filters.Args
	Filters *filters.Args `protobuf:"bytes,8,opt,name=filters" json:"filters,omitempty"`
}

https://github.com/moby/moby/blob/master/api/types/client.go

ContainerListOptions holds parameters to list containers with. type ContainerListOptions struct

func (*ContainerListOptions) DeepCopyChecked

func (m *ContainerListOptions) DeepCopyChecked() (*ContainerListOptions, []error)

func (*ContainerListOptions) Descriptor

func (*ContainerListOptions) Descriptor() ([]byte, []int)

func (*ContainerListOptions) ExportIntoDockerApiType

func (m *ContainerListOptions) ExportIntoDockerApiType() (tgt dockertypes.ContainerListOptions)

func (*ContainerListOptions) GetAll

func (m *ContainerListOptions) GetAll() bool

func (*ContainerListOptions) GetBefore

func (m *ContainerListOptions) GetBefore() string

func (*ContainerListOptions) GetFilters

func (m *ContainerListOptions) GetFilters() *filters.Args

func (*ContainerListOptions) GetLatest

func (m *ContainerListOptions) GetLatest() bool

func (*ContainerListOptions) GetLimit

func (m *ContainerListOptions) GetLimit() int32

func (*ContainerListOptions) GetQuiet

func (m *ContainerListOptions) GetQuiet() bool

func (*ContainerListOptions) GetSince

func (m *ContainerListOptions) GetSince() string

func (*ContainerListOptions) GetSize_

func (m *ContainerListOptions) GetSize_() bool

func (*ContainerListOptions) ProtoMessage

func (*ContainerListOptions) ProtoMessage()

func (*ContainerListOptions) Reset

func (m *ContainerListOptions) Reset()

func (*ContainerListOptions) String

func (m *ContainerListOptions) String() string

type ContainerLogsOptions

type ContainerLogsOptions struct {
	// ShowStdout bool
	ShowStdout bool `protobuf:"varint,1,opt,name=show_stdout,json=showStdout,proto3" json:"show_stdout,omitempty"`
	// ShowStderr bool
	ShowStderr bool `protobuf:"varint,2,opt,name=show_stderr,json=showStderr,proto3" json:"show_stderr,omitempty"`
	// Since string
	Since string `protobuf:"bytes,3,opt,name=since,proto3" json:"since,omitempty"`
	// Until string
	Until string `protobuf:"bytes,4,opt,name=until,proto3" json:"until,omitempty"`
	// Timestamps bool
	Timestamps bool `protobuf:"varint,5,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	// Follow bool
	Follow bool `protobuf:"varint,6,opt,name=follow,proto3" json:"follow,omitempty"`
	// Tail string
	Tail string `protobuf:"bytes,7,opt,name=tail,proto3" json:"tail,omitempty"`
	// Details bool
	Details bool `protobuf:"varint,8,opt,name=details,proto3" json:"details,omitempty"`
}

ContainerLogsOptions holds parameters to filter logs with type ContainerLogsOptions struct

func (*ContainerLogsOptions) Descriptor

func (*ContainerLogsOptions) Descriptor() ([]byte, []int)

func (*ContainerLogsOptions) GetDetails

func (m *ContainerLogsOptions) GetDetails() bool

func (*ContainerLogsOptions) GetFollow

func (m *ContainerLogsOptions) GetFollow() bool

func (*ContainerLogsOptions) GetShowStderr

func (m *ContainerLogsOptions) GetShowStderr() bool

func (*ContainerLogsOptions) GetShowStdout

func (m *ContainerLogsOptions) GetShowStdout() bool

func (*ContainerLogsOptions) GetSince

func (m *ContainerLogsOptions) GetSince() string

func (*ContainerLogsOptions) GetTail

func (m *ContainerLogsOptions) GetTail() string

func (*ContainerLogsOptions) GetTimestamps

func (m *ContainerLogsOptions) GetTimestamps() bool

func (*ContainerLogsOptions) GetUntil

func (m *ContainerLogsOptions) GetUntil() string

func (*ContainerLogsOptions) ProtoMessage

func (*ContainerLogsOptions) ProtoMessage()

func (*ContainerLogsOptions) Reset

func (m *ContainerLogsOptions) Reset()

func (*ContainerLogsOptions) String

func (m *ContainerLogsOptions) String() string

type ContainerNode

type ContainerNode struct {
	// ID string
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// IPAddress string
	IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	// Addr string
	Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"`
	// Name string
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Cpus int
	Cpus int32 `protobuf:"varint,5,opt,name=cpus,proto3" json:"cpus,omitempty"`
	// Memory int64
	Memory int64 `protobuf:"varint,6,opt,name=memory,proto3" json:"memory,omitempty"`
	// Labels map[string]string
	Labels map[string]string `` /* 146-byte string literal not displayed */
}

ContainerNode stores information about the node that a container is running on. It's only available in Docker Swarm type ContainerNode struct

func (*ContainerNode) Descriptor

func (*ContainerNode) Descriptor() ([]byte, []int)

func (*ContainerNode) GetAddr

func (m *ContainerNode) GetAddr() string

func (*ContainerNode) GetCpus

func (m *ContainerNode) GetCpus() int32

func (*ContainerNode) GetId

func (m *ContainerNode) GetId() string

func (*ContainerNode) GetIpAddress

func (m *ContainerNode) GetIpAddress() string

func (*ContainerNode) GetLabels

func (m *ContainerNode) GetLabels() map[string]string

func (*ContainerNode) GetMemory

func (m *ContainerNode) GetMemory() int64

func (*ContainerNode) GetName

func (m *ContainerNode) GetName() string

func (*ContainerNode) ProtoMessage

func (*ContainerNode) ProtoMessage()

func (*ContainerNode) Reset

func (m *ContainerNode) Reset()

func (*ContainerNode) String

func (m *ContainerNode) String() string

type ContainerRemoveOptions

type ContainerRemoveOptions struct {
	// RemoveVolumes bool
	RemoveVolumes bool `protobuf:"varint,1,opt,name=remove_volumes,json=removeVolumes,proto3" json:"remove_volumes,omitempty"`
	// RemoveLinks bool
	RemoveLinks bool `protobuf:"varint,2,opt,name=remove_links,json=removeLinks,proto3" json:"remove_links,omitempty"`
	// Force bool
	Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
}

ContainerRemoveOptions holds parameters to remove containers type ContainerRemoveOptions struct

func (*ContainerRemoveOptions) Descriptor

func (*ContainerRemoveOptions) Descriptor() ([]byte, []int)

func (*ContainerRemoveOptions) ExportIntoDockerApiType

func (m *ContainerRemoveOptions) ExportIntoDockerApiType() (tgt dockertypes.ContainerRemoveOptions)

func (*ContainerRemoveOptions) GetForce

func (m *ContainerRemoveOptions) GetForce() bool
func (m *ContainerRemoveOptions) GetRemoveLinks() bool

func (*ContainerRemoveOptions) GetRemoveVolumes

func (m *ContainerRemoveOptions) GetRemoveVolumes() bool

func (*ContainerRemoveOptions) ProtoMessage

func (*ContainerRemoveOptions) ProtoMessage()

func (*ContainerRemoveOptions) Reset

func (m *ContainerRemoveOptions) Reset()

func (*ContainerRemoveOptions) String

func (m *ContainerRemoveOptions) String() string

type ContainerStartOptions

type ContainerStartOptions struct {
	// CheckpointID string
	CheckpointId string `protobuf:"bytes,1,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"`
	// CheckpointDir string
	CheckpointDir string `protobuf:"bytes,2,opt,name=checkpoint_dir,json=checkpointDir,proto3" json:"checkpoint_dir,omitempty"`
}

ContainerStartOptions holds parameters to start containers type ContainerStartOptions struct

func (*ContainerStartOptions) Descriptor

func (*ContainerStartOptions) Descriptor() ([]byte, []int)

func (*ContainerStartOptions) GetCheckpointDir

func (m *ContainerStartOptions) GetCheckpointDir() string

func (*ContainerStartOptions) GetCheckpointId

func (m *ContainerStartOptions) GetCheckpointId() string

func (*ContainerStartOptions) ProtoMessage

func (*ContainerStartOptions) ProtoMessage()

func (*ContainerStartOptions) Reset

func (m *ContainerStartOptions) Reset()

func (*ContainerStartOptions) String

func (m *ContainerStartOptions) String() string

type ContainerState

type ContainerState struct {
	// Status string // string representation of the container state. Can be one of "created", "running", "paused", "restarting", "removing", "exited", of "dead"
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// Running bool
	Running bool `protobuf:"varint,2,opt,name=running,proto3" json:"running,omitempty"`
	// Paused bool
	Paused bool `protobuf:"varint,3,opt,name=paused,proto3" json:"paused,omitempty"`
	// Restarting bool
	Restarting bool `protobuf:"varint,4,opt,name=restarting,proto3" json:"restarting,omitempty"`
	// OOMKilled bool
	OomKilled bool `protobuf:"varint,5,opt,name=oom_killed,json=oomKilled,proto3" json:"oom_killed,omitempty"`
	// Dead bool
	Dead bool `protobuf:"varint,6,opt,name=dead,proto3" json:"dead,omitempty"`
	// Pid int
	Pid int32 `protobuf:"varint,7,opt,name=pid,proto3" json:"pid,omitempty"`
	// ExitCode int
	ExitCode int32 `protobuf:"varint,8,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
	// Error string
	Error string `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
	// StartedAt string
	StartedAt string `protobuf:"bytes,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// FinishedAt string
	FinishedAt string `protobuf:"bytes,11,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
	// Health *Health `json:",omitempty"`
	Health *Health `protobuf:"bytes,12,opt,name=health" json:"health,omitempty"`
}

ContainerState stores container's running state it's part of ContainerJSONBase and will return by "inspect" command type ContainerState struct

func (*ContainerState) Descriptor

func (*ContainerState) Descriptor() ([]byte, []int)

func (*ContainerState) GetDead

func (m *ContainerState) GetDead() bool

func (*ContainerState) GetError

func (m *ContainerState) GetError() string

func (*ContainerState) GetExitCode

func (m *ContainerState) GetExitCode() int32

func (*ContainerState) GetFinishedAt

func (m *ContainerState) GetFinishedAt() string

func (*ContainerState) GetHealth

func (m *ContainerState) GetHealth() *Health

func (*ContainerState) GetOomKilled

func (m *ContainerState) GetOomKilled() bool

func (*ContainerState) GetPaused

func (m *ContainerState) GetPaused() bool

func (*ContainerState) GetPid

func (m *ContainerState) GetPid() int32

func (*ContainerState) GetRestarting

func (m *ContainerState) GetRestarting() bool

func (*ContainerState) GetRunning

func (m *ContainerState) GetRunning() bool

func (*ContainerState) GetStartedAt

func (m *ContainerState) GetStartedAt() string

func (*ContainerState) GetStatus

func (m *ContainerState) GetStatus() string

func (*ContainerState) ProtoMessage

func (*ContainerState) ProtoMessage()

func (*ContainerState) Reset

func (m *ContainerState) Reset()

func (*ContainerState) String

func (m *ContainerState) String() string

type Container_HostConfig

type Container_HostConfig struct {
	// NetworkMode string `json:",omitempty"
	NetworkMode string `protobuf:"bytes,1,opt,name=network_mode,json=networkMode,proto3" json:"network_mode,omitempty"`
}

func (*Container_HostConfig) Descriptor

func (*Container_HostConfig) Descriptor() ([]byte, []int)

func (*Container_HostConfig) GetNetworkMode

func (m *Container_HostConfig) GetNetworkMode() string

func (*Container_HostConfig) ProtoMessage

func (*Container_HostConfig) ProtoMessage()

func (*Container_HostConfig) Reset

func (m *Container_HostConfig) Reset()

func (*Container_HostConfig) String

func (m *Container_HostConfig) String() string

type ContainersPruneReport

type ContainersPruneReport struct {
	// ContainersDeleted []string
	ContainersDeleted []string `protobuf:"bytes,1,rep,name=containers_deleted,json=containersDeleted" json:"containers_deleted,omitempty"`
	// SpaceReclaimed uint64
	SpaceReclaimed uint64 `protobuf:"varint,2,opt,name=space_reclaimed,json=spaceReclaimed,proto3" json:"space_reclaimed,omitempty"`
}

ContainersPruneReport contains the response for Engine API: POST "/conainers/prune" type ContainersPruneReport struct

func ConvertFromDockerApiTypeContainersPruneReport

func ConvertFromDockerApiTypeContainersPruneReport(s dockertypes.ContainersPruneReport) (dst *ContainersPruneReport)

func (*ContainersPruneReport) Descriptor

func (*ContainersPruneReport) Descriptor() ([]byte, []int)

func (*ContainersPruneReport) GetContainersDeleted

func (m *ContainersPruneReport) GetContainersDeleted() []string

func (*ContainersPruneReport) GetSpaceReclaimed

func (m *ContainersPruneReport) GetSpaceReclaimed() uint64

func (*ContainersPruneReport) ProtoMessage

func (*ContainersPruneReport) ProtoMessage()

func (*ContainersPruneReport) Reset

func (m *ContainersPruneReport) Reset()

func (*ContainersPruneReport) String

func (m *ContainersPruneReport) String() string

type DefaultNetworkSettings

type DefaultNetworkSettings struct {
	// EndpointID string // EndpointID uniquely represents a service endpoint in a sandbox
	EndpointId string `protobuf:"bytes,1,opt,name=endpoint_id,json=endpointId,proto3" json:"endpoint_id,omitempty"`
	// Gateway string // Gateway holds the gateway address for the network
	Gateway string `protobuf:"bytes,2,opt,name=gateway,proto3" json:"gateway,omitempty"`
	// GlobalIPv6Address string // GlobalIPv6Address holds network's global IPv6 address
	GlobalIpv6Address string `protobuf:"bytes,3,opt,name=global_ipv6_address,json=globalIpv6Address,proto3" json:"global_ipv6_address,omitempty"`
	// GlobalIPv6PrefixLen int // GlobalIPv6PrefixLen represents mask length of network's global IPv6 address
	GlobalIpv6PrefixLen int32 `protobuf:"varint,4,opt,name=global_ipv6_prefix_len,json=globalIpv6PrefixLen,proto3" json:"global_ipv6_prefix_len,omitempty"`
	// IPAddress string // IPAddress holds the IPv4 address for the network
	IpAddress string `protobuf:"bytes,5,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	// IPPrefixLen int // IPPrefixLen represents mask length of network's IPv4 address
	IpPrefixLen int32 `protobuf:"varint,6,opt,name=ip_prefix_len,json=ipPrefixLen,proto3" json:"ip_prefix_len,omitempty"`
	// IPv6Gateway string // IPv6Gateway holds gateway address specific for IPv6
	Ipv6Gateway string `protobuf:"bytes,7,opt,name=ipv6_gateway,json=ipv6Gateway,proto3" json:"ipv6_gateway,omitempty"`
	// MacAddress string // MacAddress holds the MAC address for the network
	MacAddress string `protobuf:"bytes,8,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
}

DefaultNetworkSettings holds network information during the 2 release deprecation period. It will be removed in Docker 1.11. type DefaultNetworkSettings struct

func (*DefaultNetworkSettings) Descriptor

func (*DefaultNetworkSettings) Descriptor() ([]byte, []int)

func (*DefaultNetworkSettings) GetEndpointId

func (m *DefaultNetworkSettings) GetEndpointId() string

func (*DefaultNetworkSettings) GetGateway

func (m *DefaultNetworkSettings) GetGateway() string

func (*DefaultNetworkSettings) GetGlobalIpv6Address

func (m *DefaultNetworkSettings) GetGlobalIpv6Address() string

func (*DefaultNetworkSettings) GetGlobalIpv6PrefixLen

func (m *DefaultNetworkSettings) GetGlobalIpv6PrefixLen() int32

func (*DefaultNetworkSettings) GetIpAddress

func (m *DefaultNetworkSettings) GetIpAddress() string

func (*DefaultNetworkSettings) GetIpPrefixLen

func (m *DefaultNetworkSettings) GetIpPrefixLen() int32

func (*DefaultNetworkSettings) GetIpv6Gateway

func (m *DefaultNetworkSettings) GetIpv6Gateway() string

func (*DefaultNetworkSettings) GetMacAddress

func (m *DefaultNetworkSettings) GetMacAddress() string

func (*DefaultNetworkSettings) ProtoMessage

func (*DefaultNetworkSettings) ProtoMessage()

func (*DefaultNetworkSettings) Reset

func (m *DefaultNetworkSettings) Reset()

func (*DefaultNetworkSettings) String

func (m *DefaultNetworkSettings) String() string

type EndpointResource

type EndpointResource struct {
	// Name string
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// EndpointID string
	EndpointId string `protobuf:"bytes,2,opt,name=endpoint_id,json=endpointId,proto3" json:"endpoint_id,omitempty"`
	// MacAddress string
	MacAddress string `protobuf:"bytes,3,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	// IPv4Address string
	Ipv4Address string `protobuf:"bytes,4,opt,name=ipv4_address,json=ipv4Address,proto3" json:"ipv4_address,omitempty"`
	// IPv6Address string
	Ipv6Address string `protobuf:"bytes,5,opt,name=ipv6_address,json=ipv6Address,proto3" json:"ipv6_address,omitempty"`
}

EndpointResource contains network resources allocated and used for a container in a network type EndpointResource struct

func (*EndpointResource) Descriptor

func (*EndpointResource) Descriptor() ([]byte, []int)

func (*EndpointResource) GetEndpointId

func (m *EndpointResource) GetEndpointId() string

func (*EndpointResource) GetIpv4Address

func (m *EndpointResource) GetIpv4Address() string

func (*EndpointResource) GetIpv6Address

func (m *EndpointResource) GetIpv6Address() string

func (*EndpointResource) GetMacAddress

func (m *EndpointResource) GetMacAddress() string

func (*EndpointResource) GetName

func (m *EndpointResource) GetName() string

func (*EndpointResource) ProtoMessage

func (*EndpointResource) ProtoMessage()

func (*EndpointResource) Reset

func (m *EndpointResource) Reset()

func (*EndpointResource) String

func (m *EndpointResource) String() string

type GraphDriverData

type GraphDriverData struct {
	// data
	// Required: true
	// Data map[string]string `json:"Data"`
	Data map[string]string `` /* 142-byte string literal not displayed */
	// name
	// Required: true
	// Name string `json:"Name"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}

https://github.com/moby/moby/blob/master/api/types/graph_driver_data.go

GraphDriverData Information about a container's graph driver. swagger:model GraphDriverData type GraphDriverData struct

func (*GraphDriverData) Descriptor

func (*GraphDriverData) Descriptor() ([]byte, []int)

func (*GraphDriverData) GetData

func (m *GraphDriverData) GetData() map[string]string

func (*GraphDriverData) GetName

func (m *GraphDriverData) GetName() string

func (*GraphDriverData) ProtoMessage

func (*GraphDriverData) ProtoMessage()

func (*GraphDriverData) Reset

func (m *GraphDriverData) Reset()

func (*GraphDriverData) String

func (m *GraphDriverData) String() string

type Health

type Health struct {
	// Status string // Status is one of Starting, Healthy or Unhealthy
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// FailingStreak int // FailingStreak is the number of consecutive failures
	FailingStreak int32 `protobuf:"varint,2,opt,name=failing_streak,json=failingStreak,proto3" json:"failing_streak,omitempty"`
	// Log []*HealthcheckResult // Log contains the last few results (oldest first)
	Log []*HealthcheckResult `protobuf:"bytes,3,rep,name=log" json:"log,omitempty"`
}

Health stores information about the Container's healthcheck results type Health struct

func (*Health) Descriptor

func (*Health) Descriptor() ([]byte, []int)

func (*Health) GetFailingStreak

func (m *Health) GetFailingStreak() int32

func (*Health) GetLog

func (m *Health) GetLog() []*HealthcheckResult

func (*Health) GetStatus

func (m *Health) GetStatus() string

func (*Health) ProtoMessage

func (*Health) ProtoMessage()

func (*Health) Reset

func (m *Health) Reset()

func (*Health) String

func (m *Health) String() string

type HealthcheckResult

type HealthcheckResult struct {
	// Start time.Time // Start is the time this check started
	Start *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=start" json:"start,omitempty"`
	// End time.Time // End is the time this check ended
	End *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=end" json:"end,omitempty"`
	// ExitCode int // ExitCode meanings: 0=healthy, 1=unhealthy, 2=reserved (considered unhealthy), else=error running probe
	ExitCode int32 `protobuf:"varint,3,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
	// Output string // Output from last check
	Output string `protobuf:"bytes,4,opt,name=output,proto3" json:"output,omitempty"`
}

HealthcheckResult stores information about a single run of a healthcheck probe type HealthcheckResult struct

func (*HealthcheckResult) Descriptor

func (*HealthcheckResult) Descriptor() ([]byte, []int)

func (*HealthcheckResult) GetEnd

func (*HealthcheckResult) GetExitCode

func (m *HealthcheckResult) GetExitCode() int32

func (*HealthcheckResult) GetOutput

func (m *HealthcheckResult) GetOutput() string

func (*HealthcheckResult) GetStart

func (*HealthcheckResult) ProtoMessage

func (*HealthcheckResult) ProtoMessage()

func (*HealthcheckResult) Reset

func (m *HealthcheckResult) Reset()

func (*HealthcheckResult) String

func (m *HealthcheckResult) String() string

type Image

type Image struct {
	Id          string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ParentId    string            `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	RepoTags    []string          `protobuf:"bytes,3,rep,name=repo_tags,json=repoTags" json:"repo_tags,omitempty"`
	RepoDigests []string          `protobuf:"bytes,4,rep,name=repo_digests,json=repoDigests" json:"repo_digests,omitempty"`
	Created     int64             `protobuf:"varint,5,opt,name=created,proto3" json:"created,omitempty"`
	Size_       int64             `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	VirtualSize int64             `protobuf:"varint,7,opt,name=virtual_size,json=virtualSize,proto3" json:"virtual_size,omitempty"`
	Labels      map[string]string `` /* 146-byte string literal not displayed */
}

Image contains response of Remote API: GET "/images/json"

func (*Image) Descriptor

func (*Image) Descriptor() ([]byte, []int)

func (*Image) GetCreated

func (m *Image) GetCreated() int64

func (*Image) GetId

func (m *Image) GetId() string

func (*Image) GetLabels

func (m *Image) GetLabels() map[string]string

func (*Image) GetParentId

func (m *Image) GetParentId() string

func (*Image) GetRepoDigests

func (m *Image) GetRepoDigests() []string

func (*Image) GetRepoTags

func (m *Image) GetRepoTags() []string

func (*Image) GetSize_

func (m *Image) GetSize_() int64

func (*Image) GetVirtualSize

func (m *Image) GetVirtualSize() int64

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) Reset

func (m *Image) Reset()

func (*Image) String

func (m *Image) String() string

type ImageBuildOptions

type ImageBuildOptions struct {
	// Tags []string
	Tags []string `protobuf:"bytes,1,rep,name=tags" json:"tags,omitempty"`
	// SuppressOutput bool
	SuppressOutput bool `protobuf:"varint,2,opt,name=suppress_output,json=suppressOutput,proto3" json:"suppress_output,omitempty"`
	// RemoteContext string
	RemoteContext string `protobuf:"bytes,3,opt,name=remote_context,json=remoteContext,proto3" json:"remote_context,omitempty"`
	// NoCache bool
	NoCache bool `protobuf:"varint,4,opt,name=no_cache,json=noCache,proto3" json:"no_cache,omitempty"`
	// Remove bool
	Remove bool `protobuf:"varint,5,opt,name=remove,proto3" json:"remove,omitempty"`
	// ForceRemove bool
	ForceRemove bool `protobuf:"varint,6,opt,name=force_remove,json=forceRemove,proto3" json:"force_remove,omitempty"`
	// PullParent bool
	PullParent bool `protobuf:"varint,7,opt,name=pull_parent,json=pullParent,proto3" json:"pull_parent,omitempty"`
	// Isolation container.Isolation // Isolation represents the isolation technology of a container. The supported value are platform specific. // type Isolation string
	Isolation string `protobuf:"bytes,8,opt,name=isolation,proto3" json:"isolation,omitempty"`
	// CPUSetCPUs string
	CpuSetCpus string `protobuf:"bytes,9,opt,name=cpu_set_cpus,json=cpuSetCpus,proto3" json:"cpu_set_cpus,omitempty"`
	// CPUSetMems string
	CpuSetMems string `protobuf:"bytes,10,opt,name=cpu_set_mems,json=cpuSetMems,proto3" json:"cpu_set_mems,omitempty"`
	// CPUShares int64
	CpuShares int64 `protobuf:"varint,11,opt,name=cpu_shares,json=cpuShares,proto3" json:"cpu_shares,omitempty"`
	// CPUQuota int64
	CpuQuota int64 `protobuf:"varint,12,opt,name=cpu_quota,json=cpuQuota,proto3" json:"cpu_quota,omitempty"`
	// CPUPeriod int64
	CpuPeriod int64 `protobuf:"varint,13,opt,name=cpu_period,json=cpuPeriod,proto3" json:"cpu_period,omitempty"`
	// Memory int64
	Memory int64 `protobuf:"varint,14,opt,name=memory,proto3" json:"memory,omitempty"`
	// MemorySwap int64
	MemorySwap int64 `protobuf:"varint,15,opt,name=memory_swap,json=memorySwap,proto3" json:"memory_swap,omitempty"`
	// CgroupParent string
	CgroupParent string `protobuf:"bytes,16,opt,name=cgroup_parent,json=cgroupParent,proto3" json:"cgroup_parent,omitempty"`
	// NetworkMode string
	NetworkMode string `protobuf:"bytes,17,opt,name=network_mode,json=networkMode,proto3" json:"network_mode,omitempty"`
	// ShmSize int64
	ShmSize int64 `protobuf:"varint,18,opt,name=shm_size,json=shmSize,proto3" json:"shm_size,omitempty"`
	// Dockerfile string
	Dockerfile string `protobuf:"bytes,19,opt,name=dockerfile,proto3" json:"dockerfile,omitempty"`
	// Ulimits []*units.Ulimit
	Ulimits []*units.Ulimit `protobuf:"bytes,20,rep,name=ulimits" json:"ulimits,omitempty"`
	// BuildArgs map[string]*string // BuildArgs needs to be a *string instead of just a string so that we can tell the difference between "" (empty string) and no value at all (nil). See the parsing of buildArgs in api/server/router/build/build_routers.go for even more info.
	BuildArgs map[string]*ImageBuildOptions_StringStruct `` /* 163-byte string literal not displayed */
	// AuthConfigs map[string]AuthConfig
	AuthConfigs map[string]*AuthConfig `` /* 169-byte string literal not displayed */
	// Context io.Reader
	Context []byte `protobuf:"bytes,23,opt,name=context,proto3" json:"context,omitempty"`
	// Labels map[string]string
	Labels map[string]string `` /* 147-byte string literal not displayed */
	// Squash bool // squash the resulting image's layers to the parent preserve the original image and creates a new one from the parent with all the changes applied to a single layer
	Squash bool `protobuf:"varint,25,opt,name=squash,proto3" json:"squash,omitempty"`
	// CacheFrom []string // CacheFrom specifies images that are used for matching cache. Images specified here do not need to have a valid parent chain to match cache.
	CacheFrom []string `protobuf:"bytes,26,rep,name=cache_from,json=cacheFrom" json:"cache_from,omitempty"`
	// SecurityOpt []string
	SecurityOpt []string `protobuf:"bytes,27,rep,name=security_opt,json=securityOpt" json:"security_opt,omitempty"`
	// ExtraHosts []string // List of extra hosts
	ExtraHosts []string `protobuf:"bytes,28,rep,name=extra_hosts,json=extraHosts" json:"extra_hosts,omitempty"`
	// Target string
	Target string `protobuf:"bytes,29,opt,name=target,proto3" json:"target,omitempty"`
	// SessionID string
	SessionId string `protobuf:"bytes,30,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// Platform string
	Platform string `protobuf:"bytes,31,opt,name=platform,proto3" json:"platform,omitempty"`
	// Version BuildVersion // Version specifies the version of the underlying builder to use // type BuilderVersion string // BuilderV1 is the first generation builder in docker daemon. BuilderV1 BuilderVersion = "1" // BuilderBuildKit is builder based on moby/buildkit project. BuilderBuildKit = "2"
	Version string `protobuf:"bytes,32,opt,name=version,proto3" json:"version,omitempty"`
	// BuildID string // BuildID is an Operational identifier that can be passed together with the build request. Tha same identifier can be used to gracefully cancel the build with the cancel request.
	BuildId string `protobuf:"bytes,33,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
}

ImageBuildOptions holds the information necessary to build images. type ImageBuildOptions struct

func (*ImageBuildOptions) DeepCopyChecked

func (m *ImageBuildOptions) DeepCopyChecked() (*ImageBuildOptions, []error)

func (*ImageBuildOptions) Descriptor

func (*ImageBuildOptions) Descriptor() ([]byte, []int)

func (*ImageBuildOptions) ExportIntoDockerApiType

func (m *ImageBuildOptions) ExportIntoDockerApiType() (obj dockertypes.ImageBuildOptions)

func (*ImageBuildOptions) GetAuthConfigs

func (m *ImageBuildOptions) GetAuthConfigs() map[string]*AuthConfig

func (*ImageBuildOptions) GetBuildArgs

func (*ImageBuildOptions) GetBuildId

func (m *ImageBuildOptions) GetBuildId() string

func (*ImageBuildOptions) GetCacheFrom

func (m *ImageBuildOptions) GetCacheFrom() []string

func (*ImageBuildOptions) GetCgroupParent

func (m *ImageBuildOptions) GetCgroupParent() string

func (*ImageBuildOptions) GetContext

func (m *ImageBuildOptions) GetContext() []byte

func (*ImageBuildOptions) GetCpuPeriod

func (m *ImageBuildOptions) GetCpuPeriod() int64

func (*ImageBuildOptions) GetCpuQuota

func (m *ImageBuildOptions) GetCpuQuota() int64

func (*ImageBuildOptions) GetCpuSetCpus

func (m *ImageBuildOptions) GetCpuSetCpus() string

func (*ImageBuildOptions) GetCpuSetMems

func (m *ImageBuildOptions) GetCpuSetMems() string

func (*ImageBuildOptions) GetCpuShares

func (m *ImageBuildOptions) GetCpuShares() int64

func (*ImageBuildOptions) GetDockerfile

func (m *ImageBuildOptions) GetDockerfile() string

func (*ImageBuildOptions) GetExtraHosts

func (m *ImageBuildOptions) GetExtraHosts() []string

func (*ImageBuildOptions) GetForceRemove

func (m *ImageBuildOptions) GetForceRemove() bool

func (*ImageBuildOptions) GetIsolation

func (m *ImageBuildOptions) GetIsolation() string

func (*ImageBuildOptions) GetLabels

func (m *ImageBuildOptions) GetLabels() map[string]string

func (*ImageBuildOptions) GetMemory

func (m *ImageBuildOptions) GetMemory() int64

func (*ImageBuildOptions) GetMemorySwap

func (m *ImageBuildOptions) GetMemorySwap() int64

func (*ImageBuildOptions) GetNetworkMode

func (m *ImageBuildOptions) GetNetworkMode() string

func (*ImageBuildOptions) GetNoCache

func (m *ImageBuildOptions) GetNoCache() bool

func (*ImageBuildOptions) GetPlatform

func (m *ImageBuildOptions) GetPlatform() string

func (*ImageBuildOptions) GetPullParent

func (m *ImageBuildOptions) GetPullParent() bool

func (*ImageBuildOptions) GetRemoteContext

func (m *ImageBuildOptions) GetRemoteContext() string

func (*ImageBuildOptions) GetRemove

func (m *ImageBuildOptions) GetRemove() bool

func (*ImageBuildOptions) GetSecurityOpt

func (m *ImageBuildOptions) GetSecurityOpt() []string

func (*ImageBuildOptions) GetSessionId

func (m *ImageBuildOptions) GetSessionId() string

func (*ImageBuildOptions) GetShmSize

func (m *ImageBuildOptions) GetShmSize() int64

func (*ImageBuildOptions) GetSquash

func (m *ImageBuildOptions) GetSquash() bool

func (*ImageBuildOptions) GetSuppressOutput

func (m *ImageBuildOptions) GetSuppressOutput() bool

func (*ImageBuildOptions) GetTags

func (m *ImageBuildOptions) GetTags() []string

func (*ImageBuildOptions) GetTarget

func (m *ImageBuildOptions) GetTarget() string

func (*ImageBuildOptions) GetUlimits

func (m *ImageBuildOptions) GetUlimits() []*units.Ulimit

func (*ImageBuildOptions) GetVersion

func (m *ImageBuildOptions) GetVersion() string

func (*ImageBuildOptions) ProtoMessage

func (*ImageBuildOptions) ProtoMessage()

func (*ImageBuildOptions) Reset

func (m *ImageBuildOptions) Reset()

func (*ImageBuildOptions) String

func (m *ImageBuildOptions) String() string

type ImageBuildOptions_StringStruct

type ImageBuildOptions_StringStruct struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}

func (*ImageBuildOptions_StringStruct) Descriptor

func (*ImageBuildOptions_StringStruct) Descriptor() ([]byte, []int)

func (*ImageBuildOptions_StringStruct) GetValue

func (m *ImageBuildOptions_StringStruct) GetValue() string

func (*ImageBuildOptions_StringStruct) ProtoMessage

func (*ImageBuildOptions_StringStruct) ProtoMessage()

func (*ImageBuildOptions_StringStruct) Reset

func (m *ImageBuildOptions_StringStruct) Reset()

func (*ImageBuildOptions_StringStruct) String

type ImageBuildResponse

type ImageBuildResponse struct {
	// Body io.ReadCloser
	Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// OSType string
	OsType string `protobuf:"bytes,2,opt,name=os_type,json=osType,proto3" json:"os_type,omitempty"`
}

ImageBuildResponse holds information returned by a server after building an image type ImageBuildResponse struct

func (*ImageBuildResponse) Descriptor

func (*ImageBuildResponse) Descriptor() ([]byte, []int)

func (*ImageBuildResponse) GetBody

func (m *ImageBuildResponse) GetBody() []byte

func (*ImageBuildResponse) GetOsType

func (m *ImageBuildResponse) GetOsType() string

func (*ImageBuildResponse) ProtoMessage

func (*ImageBuildResponse) ProtoMessage()

func (*ImageBuildResponse) Reset

func (m *ImageBuildResponse) Reset()

func (*ImageBuildResponse) String

func (m *ImageBuildResponse) String() string

type ImageCreateOptions

type ImageCreateOptions struct {
	// RegistryAuth string // RegistryAuth is the base64 encoded credentials for the registry.
	RegistryAuth string `protobuf:"bytes,1,opt,name=registry_auth,json=registryAuth,proto3" json:"registry_auth,omitempty"`
	// Platform string // Platform is the target platform of the image if it needs to be pulled from the registry.
	Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
}

ImageCreateOptions holds information to create images. type ImageCreateOptions struct

func (*ImageCreateOptions) Descriptor

func (*ImageCreateOptions) Descriptor() ([]byte, []int)

func (*ImageCreateOptions) GetPlatform

func (m *ImageCreateOptions) GetPlatform() string

func (*ImageCreateOptions) GetRegistryAuth

func (m *ImageCreateOptions) GetRegistryAuth() string

func (*ImageCreateOptions) ProtoMessage

func (*ImageCreateOptions) ProtoMessage()

func (*ImageCreateOptions) Reset

func (m *ImageCreateOptions) Reset()

func (*ImageCreateOptions) String

func (m *ImageCreateOptions) String() string

type ImageDeleteResponseItem

type ImageDeleteResponseItem struct {
	// The image ID of an image that was deleted
	// Deleted string `json:"Deleted,omitempty"`
	Deleted string `protobuf:"bytes,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// The image ID of an image that was untagged
	// Untagged string `json:"Untagged,omitempty"`
	Untagged string `protobuf:"bytes,2,opt,name=untagged,proto3" json:"untagged,omitempty"`
}

https://github.com/moby/moby/blob/master/api/types/image_delete_response_item.go

ImageDeleteResponseItem image delete response item swagger:model ImageDeleteResponseItem type ImageDeleteResponseItem struct

func ConvertFromDockerApiTypeImageDeleteResponseItem

func ConvertFromDockerApiTypeImageDeleteResponseItem(s dockertypes.ImageDeleteResponseItem) (dst *ImageDeleteResponseItem)

func (*ImageDeleteResponseItem) Descriptor

func (*ImageDeleteResponseItem) Descriptor() ([]byte, []int)

func (*ImageDeleteResponseItem) GetDeleted

func (m *ImageDeleteResponseItem) GetDeleted() string

func (*ImageDeleteResponseItem) GetUntagged

func (m *ImageDeleteResponseItem) GetUntagged() string

func (*ImageDeleteResponseItem) ProtoMessage

func (*ImageDeleteResponseItem) ProtoMessage()

func (*ImageDeleteResponseItem) Reset

func (m *ImageDeleteResponseItem) Reset()

func (*ImageDeleteResponseItem) String

func (m *ImageDeleteResponseItem) String() string

type ImageImportOptions

type ImageImportOptions struct {
	// Tag string // Tag is the name to tag this image with. This attribute is deprecated.
	Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	// Message string // Message is the message to tag the image with
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// Changes []string // Changes are the raw changes to apply to this image
	Changes []string `protobuf:"bytes,3,rep,name=changes" json:"changes,omitempty"`
	// Platform string // Platform is the target platform of the image
	Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"`
}

ImageImportOptions holds information to import images from the client host. type ImageImportOptions struct

func (*ImageImportOptions) Descriptor

func (*ImageImportOptions) Descriptor() ([]byte, []int)

func (*ImageImportOptions) GetChanges

func (m *ImageImportOptions) GetChanges() []string

func (*ImageImportOptions) GetMessage

func (m *ImageImportOptions) GetMessage() string

func (*ImageImportOptions) GetPlatform

func (m *ImageImportOptions) GetPlatform() string

func (*ImageImportOptions) GetTag

func (m *ImageImportOptions) GetTag() string

func (*ImageImportOptions) ProtoMessage

func (*ImageImportOptions) ProtoMessage()

func (*ImageImportOptions) Reset

func (m *ImageImportOptions) Reset()

func (*ImageImportOptions) String

func (m *ImageImportOptions) String() string

type ImageImportSource

type ImageImportSource struct {
	// Source io.Reader // Source is the data to send to the server to create this image from. You must set SourceName to "-" to leverage this.
	Source []byte `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// SourceName string // SourceName is the name of the image to pull. Set to "-" to leverage the Source attribute
	SourceName string `protobuf:"bytes,2,opt,name=source_name,json=sourceName,proto3" json:"source_name,omitempty"`
}

ImageImportSource holds source information for ImageImport type ImageImportSource struct

func (*ImageImportSource) Descriptor

func (*ImageImportSource) Descriptor() ([]byte, []int)

func (*ImageImportSource) GetSource

func (m *ImageImportSource) GetSource() []byte

func (*ImageImportSource) GetSourceName

func (m *ImageImportSource) GetSourceName() string

func (*ImageImportSource) ProtoMessage

func (*ImageImportSource) ProtoMessage()

func (*ImageImportSource) Reset

func (m *ImageImportSource) Reset()

func (*ImageImportSource) String

func (m *ImageImportSource) String() string

type ImageInspect

type ImageInspect struct {
	// ID string `json:"Id"`
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// RepoTags []string
	RepoTags []string `protobuf:"bytes,2,rep,name=repo_tags,json=repoTags" json:"repo_tags,omitempty"`
	// RepoDigests []string
	RepoDigests []string `protobuf:"bytes,3,rep,name=repo_digests,json=repoDigests" json:"repo_digests,omitempty"`
	// Parent string
	Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
	// Comment string
	Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"`
	// Created string
	Created string `protobuf:"bytes,6,opt,name=created,proto3" json:"created,omitempty"`
	// Container string
	Container string `protobuf:"bytes,7,opt,name=container,proto3" json:"container,omitempty"`
	// ContainerConfig *container.Config
	ContainerConfig *container.Config `protobuf:"bytes,8,opt,name=container_config,json=containerConfig" json:"container_config,omitempty"`
	// DockerVersion string
	DockerVersion string `protobuf:"bytes,9,opt,name=docker_version,json=dockerVersion,proto3" json:"docker_version,omitempty"`
	// Author string
	Author string `protobuf:"bytes,10,opt,name=author,proto3" json:"author,omitempty"`
	// Config *container.Config
	Config *container.Config `protobuf:"bytes,11,opt,name=config" json:"config,omitempty"`
	// Architecture string
	Architecture string `protobuf:"bytes,12,opt,name=architecture,proto3" json:"architecture,omitempty"`
	// Os string
	Os string `protobuf:"bytes,13,opt,name=os,proto3" json:"os,omitempty"`
	// OsVersion string `json:",omitempty"`
	OsVersion string `protobuf:"bytes,14,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`
	// Size int64
	Size_ int64 `protobuf:"varint,15,opt,name=size,proto3" json:"size,omitempty"`
	// VirtualSize int64
	VirtualSize int64 `protobuf:"varint,16,opt,name=virtual_size,json=virtualSize,proto3" json:"virtual_size,omitempty"`
	// GraphDriver GraphDriverData
	GraphDriver *GraphDriverData `protobuf:"bytes,17,opt,name=graph_driver,json=graphDriver" json:"graph_driver,omitempty"`
	// RootFS RootFS
	RootFs *RootFS `protobuf:"bytes,18,opt,name=root_fs,json=rootFs" json:"root_fs,omitempty"`
	// Metadata ImageMetadata
	Metadata *ImageMetadata `protobuf:"bytes,19,opt,name=metadata" json:"metadata,omitempty"`
}

ImageInspect contains response of Engine API: GET "/images/{name:.*}/json" type ImageInspect struct

func ConvertFromDockerApiTypeImageInspect

func ConvertFromDockerApiTypeImageInspect(s *dockertypes.ImageInspect) (dst *ImageInspect)

func (*ImageInspect) Descriptor

func (*ImageInspect) Descriptor() ([]byte, []int)

func (*ImageInspect) GetArchitecture

func (m *ImageInspect) GetArchitecture() string

func (*ImageInspect) GetAuthor

func (m *ImageInspect) GetAuthor() string

func (*ImageInspect) GetComment

func (m *ImageInspect) GetComment() string

func (*ImageInspect) GetConfig

func (m *ImageInspect) GetConfig() *container.Config

func (*ImageInspect) GetContainer

func (m *ImageInspect) GetContainer() string

func (*ImageInspect) GetContainerConfig

func (m *ImageInspect) GetContainerConfig() *container.Config

func (*ImageInspect) GetCreated

func (m *ImageInspect) GetCreated() string

func (*ImageInspect) GetDockerVersion

func (m *ImageInspect) GetDockerVersion() string

func (*ImageInspect) GetGraphDriver

func (m *ImageInspect) GetGraphDriver() *GraphDriverData

func (*ImageInspect) GetId

func (m *ImageInspect) GetId() string

func (*ImageInspect) GetMetadata

func (m *ImageInspect) GetMetadata() *ImageMetadata

func (*ImageInspect) GetOs

func (m *ImageInspect) GetOs() string

func (*ImageInspect) GetOsVersion

func (m *ImageInspect) GetOsVersion() string

func (*ImageInspect) GetParent

func (m *ImageInspect) GetParent() string

func (*ImageInspect) GetRepoDigests

func (m *ImageInspect) GetRepoDigests() []string

func (*ImageInspect) GetRepoTags

func (m *ImageInspect) GetRepoTags() []string

func (*ImageInspect) GetRootFs

func (m *ImageInspect) GetRootFs() *RootFS

func (*ImageInspect) GetSize_

func (m *ImageInspect) GetSize_() int64

func (*ImageInspect) GetVirtualSize

func (m *ImageInspect) GetVirtualSize() int64

func (*ImageInspect) ProtoMessage

func (*ImageInspect) ProtoMessage()

func (*ImageInspect) Reset

func (m *ImageInspect) Reset()

func (*ImageInspect) String

func (m *ImageInspect) String() string

type ImageListOptions

type ImageListOptions struct {
	// All bool
	All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
	// Filters filters.Args
	Filters *filters.Args `protobuf:"bytes,2,opt,name=filters" json:"filters,omitempty"`
}

ImageListOptions holds parameters to filter the list of images with. type ImageListOptions struct

func (*ImageListOptions) DeepCopyChecked

func (m *ImageListOptions) DeepCopyChecked() (*ImageListOptions, []error)

func (*ImageListOptions) Descriptor

func (*ImageListOptions) Descriptor() ([]byte, []int)

func (*ImageListOptions) ExportIntoDockerApiType

func (m *ImageListOptions) ExportIntoDockerApiType() (obj dockertypes.ImageListOptions)

func (*ImageListOptions) GetAll

func (m *ImageListOptions) GetAll() bool

func (*ImageListOptions) GetFilters

func (m *ImageListOptions) GetFilters() *filters.Args

func (*ImageListOptions) ProtoMessage

func (*ImageListOptions) ProtoMessage()

func (*ImageListOptions) Reset

func (m *ImageListOptions) Reset()

func (*ImageListOptions) String

func (m *ImageListOptions) String() string

type ImageLoadResponse

type ImageLoadResponse struct {
	// Body must be closed to avoid a response leak
	// Body io.ReadCloser
	Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// JSON bool
	Json bool `protobuf:"varint,2,opt,name=json,proto3" json:"json,omitempty"`
}

ImageLoadResponse returns information to the client about a load process type ImageLoadResponse struct

func (*ImageLoadResponse) Descriptor

func (*ImageLoadResponse) Descriptor() ([]byte, []int)

func (*ImageLoadResponse) GetBody

func (m *ImageLoadResponse) GetBody() []byte

func (*ImageLoadResponse) GetJson

func (m *ImageLoadResponse) GetJson() bool

func (*ImageLoadResponse) ProtoMessage

func (*ImageLoadResponse) ProtoMessage()

func (*ImageLoadResponse) Reset

func (m *ImageLoadResponse) Reset()

func (*ImageLoadResponse) String

func (m *ImageLoadResponse) String() string

type ImageMetadata

type ImageMetadata struct {
	// LastTagTime time.Time `json:",omitempty"`
	LastTagTime *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=last_tag_time,json=lastTagTime" json:"last_tag_time,omitempty"`
}

ImageMetadata contains engine-local data about the image type ImageMetadata struct

func (*ImageMetadata) Descriptor

func (*ImageMetadata) Descriptor() ([]byte, []int)

func (*ImageMetadata) GetLastTagTime

func (m *ImageMetadata) GetLastTagTime() *google_protobuf.Timestamp

func (*ImageMetadata) ProtoMessage

func (*ImageMetadata) ProtoMessage()

func (*ImageMetadata) Reset

func (m *ImageMetadata) Reset()

func (*ImageMetadata) String

func (m *ImageMetadata) String() string

type ImagePullOptions

type ImagePullOptions struct {
	// All bool
	All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
	// RegistryAuth string // RegistryAuth is the base64 encoded credentials for the registry
	RegistryAuth string `protobuf:"bytes,2,opt,name=registry_auth,json=registryAuth,proto3" json:"registry_auth,omitempty"`
	// PrivilegeFunc RequestPrivilegeFunc
	PrivilegeFunc string `protobuf:"bytes,3,opt,name=privilege_func,json=privilegeFunc,proto3" json:"privilege_func,omitempty"`
	// Platform string
	Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"`
}

ImagePullOptions holds information to pull images. type ImagePullOptions struct

func (*ImagePullOptions) DeepCopyChecked

func (m *ImagePullOptions) DeepCopyChecked() (*ImagePullOptions, []error)

func (*ImagePullOptions) Descriptor

func (*ImagePullOptions) Descriptor() ([]byte, []int)

func (*ImagePullOptions) ExportIntoDockerApiType

func (m *ImagePullOptions) ExportIntoDockerApiType() (tgt dockertypes.ImagePullOptions)

func (*ImagePullOptions) GetAll

func (m *ImagePullOptions) GetAll() bool

func (*ImagePullOptions) GetPlatform

func (m *ImagePullOptions) GetPlatform() string

func (*ImagePullOptions) GetPrivilegeFunc

func (m *ImagePullOptions) GetPrivilegeFunc() string

func (*ImagePullOptions) GetRegistryAuth

func (m *ImagePullOptions) GetRegistryAuth() string

func (*ImagePullOptions) ProtoMessage

func (*ImagePullOptions) ProtoMessage()

func (*ImagePullOptions) Reset

func (m *ImagePullOptions) Reset()

func (*ImagePullOptions) String

func (m *ImagePullOptions) String() string

type ImagePushOptions

type ImagePushOptions struct {
	// All bool
	All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
	// RegistryAuth string // RegistryAuth is the base64 encoded credentials for the registry
	RegistryAuth string `protobuf:"bytes,2,opt,name=registry_auth,json=registryAuth,proto3" json:"registry_auth,omitempty"`
	// PrivilegeFunc RequestPrivilegeFunc
	PrivilegeFunc string `protobuf:"bytes,3,opt,name=privilege_func,json=privilegeFunc,proto3" json:"privilege_func,omitempty"`
	// Platform string
	Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"`
}

ImagePushOptions holds information to push images. type ImagePushOptions ImagePullOptions

func (*ImagePushOptions) DeepCopyChecked

func (m *ImagePushOptions) DeepCopyChecked() (*ImagePushOptions, []error)

func (*ImagePushOptions) Descriptor

func (*ImagePushOptions) Descriptor() ([]byte, []int)

func (*ImagePushOptions) ExportIntoDockerApiType

func (m *ImagePushOptions) ExportIntoDockerApiType() (obj dockertypes.ImagePushOptions)

func (*ImagePushOptions) GetAll

func (m *ImagePushOptions) GetAll() bool

func (*ImagePushOptions) GetPlatform

func (m *ImagePushOptions) GetPlatform() string

func (*ImagePushOptions) GetPrivilegeFunc

func (m *ImagePushOptions) GetPrivilegeFunc() string

func (*ImagePushOptions) GetRegistryAuth

func (m *ImagePushOptions) GetRegistryAuth() string

func (*ImagePushOptions) ProtoMessage

func (*ImagePushOptions) ProtoMessage()

func (*ImagePushOptions) Reset

func (m *ImagePushOptions) Reset()

func (*ImagePushOptions) String

func (m *ImagePushOptions) String() string

type ImageRemoveOptions

type ImageRemoveOptions struct {
	// Force bool
	Force bool `protobuf:"varint,1,opt,name=force,proto3" json:"force,omitempty"`
	// PruneChildren bool
	PruneChildren bool `protobuf:"varint,2,opt,name=prune_children,json=pruneChildren,proto3" json:"prune_children,omitempty"`
}

ImageRemoveOptions holds parameters to remove images. type ImageRemoveOptions struct

func (*ImageRemoveOptions) DeepCopyChecked

func (m *ImageRemoveOptions) DeepCopyChecked() (*ImageRemoveOptions, []error)

func (*ImageRemoveOptions) Descriptor

func (*ImageRemoveOptions) Descriptor() ([]byte, []int)

func (*ImageRemoveOptions) ExportIntoDockerApiType

func (m *ImageRemoveOptions) ExportIntoDockerApiType() (obj dockertypes.ImageRemoveOptions)

func (*ImageRemoveOptions) GetForce

func (m *ImageRemoveOptions) GetForce() bool

func (*ImageRemoveOptions) GetPruneChildren

func (m *ImageRemoveOptions) GetPruneChildren() bool

func (*ImageRemoveOptions) ProtoMessage

func (*ImageRemoveOptions) ProtoMessage()

func (*ImageRemoveOptions) Reset

func (m *ImageRemoveOptions) Reset()

func (*ImageRemoveOptions) String

func (m *ImageRemoveOptions) String() string

type ImageSearchOptions

type ImageSearchOptions struct {
	// RegistryAuth string
	RegistryAuth string `protobuf:"bytes,1,opt,name=registry_auth,json=registryAuth,proto3" json:"registry_auth,omitempty"`
	// PrivilegeFunc RequestPrivilegeFunc
	PrivilegeFunc string `protobuf:"bytes,2,opt,name=privilege_func,json=privilegeFunc,proto3" json:"privilege_func,omitempty"`
	// Filters filters.Args
	Filters *filters.Args `protobuf:"bytes,3,opt,name=filters" json:"filters,omitempty"`
	// Limit int
	Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
}

ImageSearchOptions holds parameters to search images with. type ImageSearchOptions struct

func (*ImageSearchOptions) Descriptor

func (*ImageSearchOptions) Descriptor() ([]byte, []int)

func (*ImageSearchOptions) GetFilters

func (m *ImageSearchOptions) GetFilters() *filters.Args

func (*ImageSearchOptions) GetLimit

func (m *ImageSearchOptions) GetLimit() int32

func (*ImageSearchOptions) GetPrivilegeFunc

func (m *ImageSearchOptions) GetPrivilegeFunc() string

func (*ImageSearchOptions) GetRegistryAuth

func (m *ImageSearchOptions) GetRegistryAuth() string

func (*ImageSearchOptions) ProtoMessage

func (*ImageSearchOptions) ProtoMessage()

func (*ImageSearchOptions) Reset

func (m *ImageSearchOptions) Reset()

func (*ImageSearchOptions) String

func (m *ImageSearchOptions) String() string

type ImageSummary

type ImageSummary struct {
	// containers int64 `json:"Containers"`
	// Required: true
	Containers int64 `protobuf:"varint,1,opt,name=containers,proto3" json:"containers,omitempty"`
	// created int64 `json:"Created"`
	// Required: true
	Created int64 `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
	// Id string `json:"Id"`
	// Required: true
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// labels map[string]string `json:"Labels"`
	// Required: true
	Labels map[string]string `` /* 146-byte string literal not displayed */
	// parent Id
	// Required: true
	// ParentID string `json:"ParentId"`
	ParentId string `protobuf:"bytes,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	// repo digests
	// Required: true
	// RepoDigests []string `json:"RepoDigests"`
	RepoDigests []string `protobuf:"bytes,6,rep,name=repo_digests,json=repoDigests" json:"repo_digests,omitempty"`
	// repo tags
	// Required: true
	// RepoTags []string `json:"RepoTags"`
	RepoTags []string `protobuf:"bytes,7,rep,name=repo_tags,json=repoTags" json:"repo_tags,omitempty"`
	// shared size
	// Required: true
	// SharedSize int64 `json:"SharedSize"`
	SharedSize int64 `protobuf:"varint,8,opt,name=shared_size,json=sharedSize,proto3" json:"shared_size,omitempty"`
	// size int64 `json:"Size"`
	// Required: true
	Size_ int64 `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"`
	// virtual size
	// Required: true
	// VirtualSize int64 `json:"VirtualSize"`
	VirtualSize int64 `protobuf:"varint,10,opt,name=virtual_size,json=virtualSize,proto3" json:"virtual_size,omitempty"`
}

https://github.com/moby/moby/blob/master/api/types/image_summary.go

ImageSummary image summary swagger:model ImageSummary type ImageSummary struct

func ConvertFromDockerApiTypeImageSummary

func ConvertFromDockerApiTypeImageSummary(s dockertypes.ImageSummary) (dst *ImageSummary)

func (*ImageSummary) Descriptor

func (*ImageSummary) Descriptor() ([]byte, []int)

func (*ImageSummary) GetContainers

func (m *ImageSummary) GetContainers() int64

func (*ImageSummary) GetCreated

func (m *ImageSummary) GetCreated() int64

func (*ImageSummary) GetId

func (m *ImageSummary) GetId() string

func (*ImageSummary) GetLabels

func (m *ImageSummary) GetLabels() map[string]string

func (*ImageSummary) GetParentId

func (m *ImageSummary) GetParentId() string

func (*ImageSummary) GetRepoDigests

func (m *ImageSummary) GetRepoDigests() []string

func (*ImageSummary) GetRepoTags

func (m *ImageSummary) GetRepoTags() []string

func (*ImageSummary) GetSharedSize

func (m *ImageSummary) GetSharedSize() int64

func (*ImageSummary) GetSize_

func (m *ImageSummary) GetSize_() int64

func (*ImageSummary) GetVirtualSize

func (m *ImageSummary) GetVirtualSize() int64

func (*ImageSummary) ProtoMessage

func (*ImageSummary) ProtoMessage()

func (*ImageSummary) Reset

func (m *ImageSummary) Reset()

func (*ImageSummary) String

func (m *ImageSummary) String() string

type ImagesPruneReport

type ImagesPruneReport struct {
	// ImagesDeleted []ImageDeleteResponseItem
	ImagesDeleted []*ImageDeleteResponseItem `protobuf:"bytes,1,rep,name=images_deleted,json=imagesDeleted" json:"images_deleted,omitempty"`
	// SpaceReclaimed uint64
	SpaceReclaimed uint64 `protobuf:"varint,2,opt,name=space_reclaimed,json=spaceReclaimed,proto3" json:"space_reclaimed,omitempty"`
}

ImagesPruneReport contains the response for Engine API: POST "/images/prune" type ImagesPruneReport struct

func ConvertFromDockerApiTypeImagesPruneReport

func ConvertFromDockerApiTypeImagesPruneReport(s dockertypes.ImagesPruneReport) (dst *ImagesPruneReport)

func (*ImagesPruneReport) Descriptor

func (*ImagesPruneReport) Descriptor() ([]byte, []int)

func (*ImagesPruneReport) GetImagesDeleted

func (m *ImagesPruneReport) GetImagesDeleted() []*ImageDeleteResponseItem

func (*ImagesPruneReport) GetSpaceReclaimed

func (m *ImagesPruneReport) GetSpaceReclaimed() uint64

func (*ImagesPruneReport) ProtoMessage

func (*ImagesPruneReport) ProtoMessage()

func (*ImagesPruneReport) Reset

func (m *ImagesPruneReport) Reset()

func (*ImagesPruneReport) String

func (m *ImagesPruneReport) String() string

type MountPoint

type MountPoint struct {
	// Type mount.Type `json:",omitempty"`
	// Type represents the type of mount. // type Type string
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Name string `json:",omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Source string
	Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	// Destination string
	Destination string `protobuf:"bytes,4,opt,name=destination,proto3" json:"destination,omitempty"`
	// Driver string `json:",omitempty"`
	Driver string `protobuf:"bytes,5,opt,name=driver,proto3" json:"driver,omitempty"`
	// Mode string
	Mode string `protobuf:"bytes,6,opt,name=mode,proto3" json:"mode,omitempty"`
	// RW bool
	Rw bool `protobuf:"varint,7,opt,name=rw,proto3" json:"rw,omitempty"`
	// Propagation mount.Propagation
	// Propagation represents the propagation of a mount. // type Propagation string
	Propagation string `protobuf:"bytes,8,opt,name=propagation,proto3" json:"propagation,omitempty"`
}

MountPoint represents a mount point configuration inside the container. This is used for reporting the mountpoints in used by a container. type MountPoint struct

func (*MountPoint) Descriptor

func (*MountPoint) Descriptor() ([]byte, []int)

func (*MountPoint) GetDestination

func (m *MountPoint) GetDestination() string

func (*MountPoint) GetDriver

func (m *MountPoint) GetDriver() string

func (*MountPoint) GetMode

func (m *MountPoint) GetMode() string

func (*MountPoint) GetName

func (m *MountPoint) GetName() string

func (*MountPoint) GetPropagation

func (m *MountPoint) GetPropagation() string

func (*MountPoint) GetRw

func (m *MountPoint) GetRw() bool

func (*MountPoint) GetSource

func (m *MountPoint) GetSource() string

func (*MountPoint) GetType

func (m *MountPoint) GetType() string

func (*MountPoint) ProtoMessage

func (*MountPoint) ProtoMessage()

func (*MountPoint) Reset

func (m *MountPoint) Reset()

func (*MountPoint) String

func (m *MountPoint) String() string

type NetworkConnect

type NetworkConnect struct {
	// Container string
	Container string `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
	// EndpointConfig *network.EndpointSettings `json:",omitempty"`
	EndpointConfig *network.EndpointSettings `protobuf:"bytes,2,opt,name=endpoint_config,json=endpointConfig" json:"endpoint_config,omitempty"`
}

NetworkConnect represents the data to be used to connect a container to the network type NetworkConnect struct

func (*NetworkConnect) Descriptor

func (*NetworkConnect) Descriptor() ([]byte, []int)

func (*NetworkConnect) GetContainer

func (m *NetworkConnect) GetContainer() string

func (*NetworkConnect) GetEndpointConfig

func (m *NetworkConnect) GetEndpointConfig() *network.EndpointSettings

func (*NetworkConnect) ProtoMessage

func (*NetworkConnect) ProtoMessage()

func (*NetworkConnect) Reset

func (m *NetworkConnect) Reset()

func (*NetworkConnect) String

func (m *NetworkConnect) String() string

type NetworkCreate

type NetworkCreate struct {
	// CheckDuplicate bool // Check for networks with duplicate names. Network is primarily keyed based on a random ID and not on the name. Network name is strictly a user-friendly alias to the network which is uniquely identified using IO. And there is no gauranteed way to check for duplicates. Option CheckDuplicate is there to provide a best effort checking of any networks which had the same name but it is not guaranteed to catch all name collisions.
	CheckDuplicate bool `protobuf:"varint,1,opt,name=check_duplicate,json=checkDuplicate,proto3" json:"check_duplicate,omitempty"`
	// Driver string
	Driver string `protobuf:"bytes,2,opt,name=driver,proto3" json:"driver,omitempty"`
	// Scope string
	Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"`
	// EnableIPv6 bool
	EnableIpv6 bool `protobuf:"varint,4,opt,name=enable_ipv6,json=enableIpv6,proto3" json:"enable_ipv6,omitempty"`
	// IPAM *network.IPAM
	Ipam *network.IPAM `protobuf:"bytes,5,opt,name=ipam" json:"ipam,omitempty"`
	// Internal bool
	Internal bool `protobuf:"varint,6,opt,name=internal,proto3" json:"internal,omitempty"`
	// Attachable bool
	Attachable bool `protobuf:"varint,7,opt,name=attachable,proto3" json:"attachable,omitempty"`
	// Ingress bool
	Ingress bool `protobuf:"varint,8,opt,name=ingress,proto3" json:"ingress,omitempty"`
	// ConfigOnly bool
	ConfigOnly bool `protobuf:"varint,9,opt,name=config_only,json=configOnly,proto3" json:"config_only,omitempty"`
	// ConfigFrom *network.ConfigReference
	ConfigFrom *network.ConfigReference `protobuf:"bytes,10,opt,name=config_from,json=configFrom" json:"config_from,omitempty"`
	// Options map[string]string
	Options map[string]string `` /* 149-byte string literal not displayed */
	// Labels map[string]string
	Labels map[string]string `` /* 147-byte string literal not displayed */
}

NetworkCreate is the expected body of the "create network" http request message type NetworkCreate struct

func (*NetworkCreate) DeepCopyChecked

func (m *NetworkCreate) DeepCopyChecked() (*NetworkCreate, []error)

func (*NetworkCreate) Descriptor

func (*NetworkCreate) Descriptor() ([]byte, []int)

func (*NetworkCreate) ExportIntoDockerApiType

func (m *NetworkCreate) ExportIntoDockerApiType() (tgt dockertypes.NetworkCreate)

func (*NetworkCreate) GetAttachable

func (m *NetworkCreate) GetAttachable() bool

func (*NetworkCreate) GetCheckDuplicate

func (m *NetworkCreate) GetCheckDuplicate() bool

func (*NetworkCreate) GetConfigFrom

func (m *NetworkCreate) GetConfigFrom() *network.ConfigReference

func (*NetworkCreate) GetConfigOnly

func (m *NetworkCreate) GetConfigOnly() bool

func (*NetworkCreate) GetDriver

func (m *NetworkCreate) GetDriver() string

func (*NetworkCreate) GetEnableIpv6

func (m *NetworkCreate) GetEnableIpv6() bool

func (*NetworkCreate) GetIngress

func (m *NetworkCreate) GetIngress() bool

func (*NetworkCreate) GetInternal

func (m *NetworkCreate) GetInternal() bool

func (*NetworkCreate) GetIpam

func (m *NetworkCreate) GetIpam() *network.IPAM

func (*NetworkCreate) GetLabels

func (m *NetworkCreate) GetLabels() map[string]string

func (*NetworkCreate) GetOptions

func (m *NetworkCreate) GetOptions() map[string]string

func (*NetworkCreate) GetScope

func (m *NetworkCreate) GetScope() string

func (*NetworkCreate) ProtoMessage

func (*NetworkCreate) ProtoMessage()

func (*NetworkCreate) Reset

func (m *NetworkCreate) Reset()

func (*NetworkCreate) String

func (m *NetworkCreate) String() string

type NetworkCreateRequest

type NetworkCreateRequest struct {
	// NetworkCreate
	NetworkCreate *NetworkCreate `protobuf:"bytes,1,opt,name=network_create,json=networkCreate" json:"network_create,omitempty"`
	// Name string
	Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
}

NetworkCreateRequest is the request message sent to the server for network create call. type NetworkCreateRequest struct

func (*NetworkCreateRequest) Descriptor

func (*NetworkCreateRequest) Descriptor() ([]byte, []int)

func (*NetworkCreateRequest) GetName

func (m *NetworkCreateRequest) GetName() string

func (*NetworkCreateRequest) GetNetworkCreate

func (m *NetworkCreateRequest) GetNetworkCreate() *NetworkCreate

func (*NetworkCreateRequest) ProtoMessage

func (*NetworkCreateRequest) ProtoMessage()

func (*NetworkCreateRequest) Reset

func (m *NetworkCreateRequest) Reset()

func (*NetworkCreateRequest) String

func (m *NetworkCreateRequest) String() string

type NetworkCreateResponse

type NetworkCreateResponse struct {
	// ID string `json:"Id"`
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Warning string
	Warning string `protobuf:"bytes,2,opt,name=warning,proto3" json:"warning,omitempty"`
}

NetworkCreateResponse is the response message sent by the server for network create call type NetworkCreateResponse struct

func ConvertFromDockerApiTypeNetworkCreateResponse

func ConvertFromDockerApiTypeNetworkCreateResponse(resp dockertypes.NetworkCreateResponse) *NetworkCreateResponse

func (*NetworkCreateResponse) Descriptor

func (*NetworkCreateResponse) Descriptor() ([]byte, []int)

func (*NetworkCreateResponse) GetId

func (m *NetworkCreateResponse) GetId() string

func (*NetworkCreateResponse) GetWarning

func (m *NetworkCreateResponse) GetWarning() string

func (*NetworkCreateResponse) ProtoMessage

func (*NetworkCreateResponse) ProtoMessage()

func (*NetworkCreateResponse) Reset

func (m *NetworkCreateResponse) Reset()

func (*NetworkCreateResponse) String

func (m *NetworkCreateResponse) String() string

type NetworkDisconnect

type NetworkDisconnect struct {
	// Container string
	Container string `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
	// Force bool
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
}

NetworkDisconnect represents the data to be used to disconnect a container from the network type NetworkDisconnect struct

func (*NetworkDisconnect) Descriptor

func (*NetworkDisconnect) Descriptor() ([]byte, []int)

func (*NetworkDisconnect) GetContainer

func (m *NetworkDisconnect) GetContainer() string

func (*NetworkDisconnect) GetForce

func (m *NetworkDisconnect) GetForce() bool

func (*NetworkDisconnect) ProtoMessage

func (*NetworkDisconnect) ProtoMessage()

func (*NetworkDisconnect) Reset

func (m *NetworkDisconnect) Reset()

func (*NetworkDisconnect) String

func (m *NetworkDisconnect) String() string

type NetworkInspectOptions

type NetworkInspectOptions struct {
	// Scope string
	Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	// Verbose bool
	Verbose bool `protobuf:"varint,2,opt,name=verbose,proto3" json:"verbose,omitempty"`
}

NetworkInspectOptions holds parameters to inspect network type NetworkInspectOptions struct

func (*NetworkInspectOptions) DeepCopyChecked

func (m *NetworkInspectOptions) DeepCopyChecked() *NetworkInspectOptions

func (*NetworkInspectOptions) Descriptor

func (*NetworkInspectOptions) Descriptor() ([]byte, []int)

func (*NetworkInspectOptions) ExportIntoDockerApiType

func (m *NetworkInspectOptions) ExportIntoDockerApiType() (tgt dockertypes.NetworkInspectOptions)

func (*NetworkInspectOptions) GetScope

func (m *NetworkInspectOptions) GetScope() string

func (*NetworkInspectOptions) GetVerbose

func (m *NetworkInspectOptions) GetVerbose() bool

func (*NetworkInspectOptions) ProtoMessage

func (*NetworkInspectOptions) ProtoMessage()

func (*NetworkInspectOptions) Reset

func (m *NetworkInspectOptions) Reset()

func (*NetworkInspectOptions) String

func (m *NetworkInspectOptions) String() string

type NetworkListOptions

type NetworkListOptions struct {
	// Filters filters.Args
	Filters *filters.Args `protobuf:"bytes,1,opt,name=filters" json:"filters,omitempty"`
}

NetworkListOptions holds parameters to filter the list of networks with. type NetworkListOptions struct

func (*NetworkListOptions) DeepCopyChecked

func (m *NetworkListOptions) DeepCopyChecked() *NetworkListOptions

func (*NetworkListOptions) Descriptor

func (*NetworkListOptions) Descriptor() ([]byte, []int)

func (*NetworkListOptions) ExportIntoDockerApiType

func (m *NetworkListOptions) ExportIntoDockerApiType() (tgt dockertypes.NetworkListOptions)

func (*NetworkListOptions) GetFilters

func (m *NetworkListOptions) GetFilters() *filters.Args

func (*NetworkListOptions) ProtoMessage

func (*NetworkListOptions) ProtoMessage()

func (*NetworkListOptions) Reset

func (m *NetworkListOptions) Reset()

func (*NetworkListOptions) String

func (m *NetworkListOptions) String() string

type NetworkResource

type NetworkResource struct {
	// Name string // Name is the requested name of the network
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID string `json:"Id"` // ID uniquely identifies a network on a single machine
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Created time.Time // Created is the time the network created
	Created *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=created" json:"created,omitempty"`
	// Scope string // Scope describes the level at which the network exists (e.g. 'swarm' for cluster-wide or 'local' for machine level)
	Scope string `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
	// Driver string // Driver is the Driver name used to create the network (e.g. 'bridge', 'overlay')
	Driver string `protobuf:"bytes,5,opt,name=driver,proto3" json:"driver,omitempty"`
	// EnableIPv6 bool //EnableIPv6 represents whether to enable IPv6
	EnableIpv6 bool `protobuf:"varint,6,opt,name=enable_ipv6,json=enableIpv6,proto3" json:"enable_ipv6,omitempty"`
	// IPAM network.IPAM // IPAM is the network's IP Address Management
	Ipam *network.IPAM `protobuf:"bytes,7,opt,name=ipam" json:"ipam,omitempty"`
	// Internal bool // Internal represents if the network is used internal only
	Internal bool `protobuf:"varint,8,opt,name=internal,proto3" json:"internal,omitempty"`
	// Attachable bool // Attachable represents if the global scope is manually attachable by regular containers from workers in swarm mode.
	Attachable bool `protobuf:"varint,9,opt,name=attachable,proto3" json:"attachable,omitempty"`
	// Ingress bool // Ingress indicates the network is providing the routing-mesh for the swarm custer.
	Ingress bool `protobuf:"varint,10,opt,name=ingress,proto3" json:"ingress,omitempty"`
	// ConfigFrom network.ConfigReference // ConfigFrom speifies the source which will provide the cconfiguration for this network.
	ConfigFrom *network.ConfigReference `protobuf:"bytes,11,opt,name=config_from,json=configFrom" json:"config_from,omitempty"`
	// ConfigOnly bool // ConfigOnly networks are place-holder networks for network configurations to be used by other network. ConfigOnly networks cannot be used directly to run containers or services.
	ConfigOnly bool `protobuf:"varint,12,opt,name=config_only,json=configOnly,proto3" json:"config_only,omitempty"`
	// Containers map[string]EndpointResource // Containers contains endpoints belonging to the network
	Containers map[string]*EndpointResource `` /* 148-byte string literal not displayed */
	// Options map[string]string // Options holds the network specific options to use for when creating the network
	Options map[string]string `` /* 149-byte string literal not displayed */
	// Labels map[string]string // Labels holds metadata specific to the network being created
	Labels map[string]string `` /* 147-byte string literal not displayed */
	// Peers []network.PeefInfo `json:",omitempty"` // List of peer nodes for an overlay network
	Peers []*network.PeerInfo `protobuf:"bytes,16,rep,name=peers" json:"peers,omitempty"`
	// Services map[string]network.ServiceInfo `json:",omitempty"`
	Services map[string]*network.ServiceInfo `` /* 144-byte string literal not displayed */
}

NetworkResource is the body of the "get network" http response message type NetworkResource struct

func ConvertFromDockerApiTypeNetworkResource

func ConvertFromDockerApiTypeNetworkResource(resp dockertypes.NetworkResource) *NetworkResource

func (*NetworkResource) Descriptor

func (*NetworkResource) Descriptor() ([]byte, []int)

func (*NetworkResource) GetAttachable

func (m *NetworkResource) GetAttachable() bool

func (*NetworkResource) GetConfigFrom

func (m *NetworkResource) GetConfigFrom() *network.ConfigReference

func (*NetworkResource) GetConfigOnly

func (m *NetworkResource) GetConfigOnly() bool

func (*NetworkResource) GetContainers

func (m *NetworkResource) GetContainers() map[string]*EndpointResource

func (*NetworkResource) GetCreated

func (m *NetworkResource) GetCreated() *google_protobuf.Timestamp

func (*NetworkResource) GetDriver

func (m *NetworkResource) GetDriver() string

func (*NetworkResource) GetEnableIpv6

func (m *NetworkResource) GetEnableIpv6() bool

func (*NetworkResource) GetId

func (m *NetworkResource) GetId() string

func (*NetworkResource) GetIngress

func (m *NetworkResource) GetIngress() bool

func (*NetworkResource) GetInternal

func (m *NetworkResource) GetInternal() bool

func (*NetworkResource) GetIpam

func (m *NetworkResource) GetIpam() *network.IPAM

func (*NetworkResource) GetLabels

func (m *NetworkResource) GetLabels() map[string]string

func (*NetworkResource) GetName

func (m *NetworkResource) GetName() string

func (*NetworkResource) GetOptions

func (m *NetworkResource) GetOptions() map[string]string

func (*NetworkResource) GetPeers

func (m *NetworkResource) GetPeers() []*network.PeerInfo

func (*NetworkResource) GetScope

func (m *NetworkResource) GetScope() string

func (*NetworkResource) GetServices

func (m *NetworkResource) GetServices() map[string]*network.ServiceInfo

func (*NetworkResource) ProtoMessage

func (*NetworkResource) ProtoMessage()

func (*NetworkResource) Reset

func (m *NetworkResource) Reset()

func (*NetworkResource) String

func (m *NetworkResource) String() string

type NetworkSettings

type NetworkSettings struct {
	// NetworkSettingsBase
	NetworkSettingsBase *NetworkSettingsBase `protobuf:"bytes,1,opt,name=network_settings_base,json=networkSettingsBase" json:"network_settings_base,omitempty"`
	// DefaultNetworkSettings
	DefaultNetworkSettings *DefaultNetworkSettings `protobuf:"bytes,2,opt,name=default_network_settings,json=defaultNetworkSettings" json:"default_network_settings,omitempty"`
	// Networks map[string]*network.EndpointSettings
	Networks map[string]*network.EndpointSettings `` /* 143-byte string literal not displayed */
}

NetworkSettings exposes the network settings in the api type NetworkSettings struct

func (*NetworkSettings) Descriptor

func (*NetworkSettings) Descriptor() ([]byte, []int)

func (*NetworkSettings) GetDefaultNetworkSettings

func (m *NetworkSettings) GetDefaultNetworkSettings() *DefaultNetworkSettings

func (*NetworkSettings) GetNetworkSettingsBase

func (m *NetworkSettings) GetNetworkSettingsBase() *NetworkSettingsBase

func (*NetworkSettings) GetNetworks

func (m *NetworkSettings) GetNetworks() map[string]*network.EndpointSettings

func (*NetworkSettings) ProtoMessage

func (*NetworkSettings) ProtoMessage()

func (*NetworkSettings) Reset

func (m *NetworkSettings) Reset()

func (*NetworkSettings) String

func (m *NetworkSettings) String() string

type NetworkSettingsBase

type NetworkSettingsBase struct {
	// Bridge string // Bridge is the Bridge name the network uses(e.g. 'docker0')
	Bridge string `protobuf:"bytes,1,opt,name=bridge,proto3" json:"bridge,omitempty"`
	// SandboxID string // SandboxID uniquely represents a container's network stack
	SandboxId string `protobuf:"bytes,2,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	// HairpinMode bool // HairpinMode specifies if hairpin NAT should be enabled on the virtual interface
	HairpinMode bool `protobuf:"varint,3,opt,name=hairpin_mode,json=hairpinMode,proto3" json:"hairpin_mode,omitempty"`
	// LinkLocalIPv6Address string // LinkLocalIPv6Address is an IPv6 unicast address using the link-local prefix
	LinkLocalIpv6Address string `protobuf:"bytes,4,opt,name=link_local_ipv6_address,json=linkLocalIpv6Address,proto3" json:"link_local_ipv6_address,omitempty"`
	// LinkLocalIPv6PrefixLen int // LinkLocalIPv6PrefixLen is the prefix length of an IPv6 unicast address
	LinkLocalIpv6PrefixLen int32 `` /* 134-byte string literal not displayed */
	// Ports nat.PortMap // Ports is a collection of PortBinding indexed by Port
	Ports *nat.PortMap `protobuf:"bytes,6,opt,name=ports" json:"ports,omitempty"`
	// SandboxKey string //SandboxKey identifies the sandbox
	SandboxKey string `protobuf:"bytes,7,opt,name=sandbox_key,json=sandboxKey,proto3" json:"sandbox_key,omitempty"`
	// SecondaryIPAddresses []network.Address
	SecondaryIpAddresses []*network.Address `protobuf:"bytes,8,rep,name=secondary_ip_addresses,json=secondaryIpAddresses" json:"secondary_ip_addresses,omitempty"`
	// SecondaryIPv6Addresses []network.Address
	SecondaryIpv6Addresses []*network.Address `protobuf:"bytes,9,rep,name=secondary_ipv6_addresses,json=secondaryIpv6Addresses" json:"secondary_ipv6_addresses,omitempty"`
}

NetworkSettingsBase holds basic information about networks type NetworkSettingsBase

func (*NetworkSettingsBase) Descriptor

func (*NetworkSettingsBase) Descriptor() ([]byte, []int)

func (*NetworkSettingsBase) GetBridge

func (m *NetworkSettingsBase) GetBridge() string

func (*NetworkSettingsBase) GetHairpinMode

func (m *NetworkSettingsBase) GetHairpinMode() bool

func (*NetworkSettingsBase) GetLinkLocalIpv6Address

func (m *NetworkSettingsBase) GetLinkLocalIpv6Address() string

func (*NetworkSettingsBase) GetLinkLocalIpv6PrefixLen

func (m *NetworkSettingsBase) GetLinkLocalIpv6PrefixLen() int32

func (*NetworkSettingsBase) GetPorts

func (m *NetworkSettingsBase) GetPorts() *nat.PortMap

func (*NetworkSettingsBase) GetSandboxId

func (m *NetworkSettingsBase) GetSandboxId() string

func (*NetworkSettingsBase) GetSandboxKey

func (m *NetworkSettingsBase) GetSandboxKey() string

func (*NetworkSettingsBase) GetSecondaryIpAddresses

func (m *NetworkSettingsBase) GetSecondaryIpAddresses() []*network.Address

func (*NetworkSettingsBase) GetSecondaryIpv6Addresses

func (m *NetworkSettingsBase) GetSecondaryIpv6Addresses() []*network.Address

func (*NetworkSettingsBase) ProtoMessage

func (*NetworkSettingsBase) ProtoMessage()

func (*NetworkSettingsBase) Reset

func (m *NetworkSettingsBase) Reset()

func (*NetworkSettingsBase) String

func (m *NetworkSettingsBase) String() string

type NetworksPruneReport

type NetworksPruneReport struct {
	// NetworksDeleted []string
	NetworksDeleted []string `protobuf:"bytes,1,rep,name=networks_deleted,json=networksDeleted" json:"networks_deleted,omitempty"`
}

NetworksPruneReport contains the response for Engine API: POST "/networks/prune" type NetworksPruneReport struct

func ConvertFromDockerApiTypeNetworksPruneReport

func ConvertFromDockerApiTypeNetworksPruneReport(s dockertypes.NetworksPruneReport) (dst *NetworksPruneReport)

func (*NetworksPruneReport) Descriptor

func (*NetworksPruneReport) Descriptor() ([]byte, []int)

func (*NetworksPruneReport) GetNetworksDeleted

func (m *NetworksPruneReport) GetNetworksDeleted() []string

func (*NetworksPruneReport) ProtoMessage

func (*NetworksPruneReport) ProtoMessage()

func (*NetworksPruneReport) Reset

func (m *NetworksPruneReport) Reset()

func (*NetworksPruneReport) String

func (m *NetworksPruneReport) String() string

type Port

type Port struct {
	// Host IP address that the container's port is mapped to
	// IP string `json:"IP,omitempty"`
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// Port on the container
	// Required: true
	// PrivatePort uint16 `json:"PrivatePort"`
	PrivatePort int32 `protobuf:"varint,2,opt,name=private_port,json=privatePort,proto3" json:"private_port,omitempty"`
	// Port exposed on the host
	// PublicPort uint16 `json:"PublicPort,omitempty"`
	PublicPort int32 `protobuf:"varint,3,opt,name=public_port,json=publicPort,proto3" json:"public_port,omitempty"`
	// type
	// Required: true
	// Type string `json:"Type"`
	Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
}

https://github.com/moby/moby/blob/master/api/types/port.go

Port stores open ports info of container e.g. {"PrivatePort": 8080, "PublicPort": 80, "Type": "tcp"} type Port struct

func (*Port) Descriptor

func (*Port) Descriptor() ([]byte, []int)

func (*Port) GetIp

func (m *Port) GetIp() string

func (*Port) GetPrivatePort

func (m *Port) GetPrivatePort() int32

func (*Port) GetPublicPort

func (m *Port) GetPublicPort() int32

func (*Port) GetType

func (m *Port) GetType() string

func (*Port) ProtoMessage

func (*Port) ProtoMessage()

func (*Port) Reset

func (m *Port) Reset()

func (*Port) String

func (m *Port) String() string

type RootFS

type RootFS struct {
	// Type string
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Layers []string `json:",omitempty"`
	Layers []string `protobuf:"bytes,2,rep,name=layers" json:"layers,omitempty"`
	// BaseLayer string `json:",omitempty"`
	BaseLayer string `protobuf:"bytes,3,opt,name=base_layer,json=baseLayer,proto3" json:"base_layer,omitempty"`
}

https://github.com/moby/moby/blob/master/api/types/types.go

RootFS returns Image's RootFS description including the layer IDs. type RootFS struct

func (*RootFS) Descriptor

func (*RootFS) Descriptor() ([]byte, []int)

func (*RootFS) GetBaseLayer

func (m *RootFS) GetBaseLayer() string

func (*RootFS) GetLayers

func (m *RootFS) GetLayers() []string

func (*RootFS) GetType

func (m *RootFS) GetType() string

func (*RootFS) ProtoMessage

func (*RootFS) ProtoMessage()

func (*RootFS) Reset

func (m *RootFS) Reset()

func (*RootFS) String

func (m *RootFS) String() string

type SummaryNetworkSettings

type SummaryNetworkSettings struct {
	// Networks map[string]*network.EndpointSettings
	Networks map[string]*network.EndpointSettings `` /* 143-byte string literal not displayed */
}

SummaryNetworkSettings provides a summary of container's networks in /containers/json type SummaryNetworkSettings struct

func (*SummaryNetworkSettings) Descriptor

func (*SummaryNetworkSettings) Descriptor() ([]byte, []int)

func (*SummaryNetworkSettings) GetNetworks

func (m *SummaryNetworkSettings) GetNetworks() map[string]*network.EndpointSettings

func (*SummaryNetworkSettings) ProtoMessage

func (*SummaryNetworkSettings) ProtoMessage()

func (*SummaryNetworkSettings) Reset

func (m *SummaryNetworkSettings) Reset()

func (*SummaryNetworkSettings) String

func (m *SummaryNetworkSettings) String() string

Directories

Path Synopsis
Package blkiodev is a generated protocol buffer package.
Package blkiodev is a generated protocol buffer package.
Package container is a generated protocol buffer package.
Package container is a generated protocol buffer package.
Package filters is a generated protocol buffer package.
Package filters is a generated protocol buffer package.
Package mount is a generated protocol buffer package.
Package mount is a generated protocol buffer package.
Package nat is a generated protocol buffer package.
Package nat is a generated protocol buffer package.
Package network is a generated protocol buffer package.
Package network is a generated protocol buffer package.
Package units is a generated protocol buffer package.
Package units is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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