se
.
marcuslonnberg
.
scaladocker
.
remote
.
api
DockerClient
class
DockerClient
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
DockerClient
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
DockerClient
(
connection:
DockerConnection
)
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
build
(
tarStream:
Source
[
ByteString
,
Any
]
,
tarLength:
Long
,
imageName:
Option
[
ImageName
] =
None
,
cache:
Boolean
=
true
,
rm:
Boolean
=
true
,
alwaysPull:
Boolean
=
false
)
(
implicit
ec:
ExecutionContext
)
:
Source
[
BuildMessage
,
Unit
]
def
buildFile
(
tarFile:
File
,
imageName:
Option
[
ImageName
] =
None
,
cache:
Boolean
=
true
,
rm:
Boolean
=
true
,
alwaysPull:
Boolean
=
false
)
(
implicit
ec:
ExecutionContext
)
:
Source
[
BuildMessage
,
Unit
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
container
:
ContainerCommands
def
create
(
containerConfig:
ContainerConfig
,
hostConfig:
HostConfig
=
HostConfig()
,
containerName:
Option
[
ContainerName
] =
None
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
CreateContainerResponse
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
val
host
:
HostCommands
val
image
:
ImageCommands
def
images
(
all:
Boolean
=
false
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Seq
[
Image
]]
def
inspect
(
containerId:
ContainerId
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
ContainerInfo
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
listContainers
(
all:
Boolean
=
false
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Seq
[
ContainerStatus
]]
def
listImages
(
all:
Boolean
=
false
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Seq
[
Image
]]
def
logs
(
containerId:
ContainerId
,
follow:
Boolean
=
false
,
stdout:
Boolean
=
true
,
stderr:
Boolean
=
false
,
since:
Option
[
DateTime
] =
None
,
timestamps:
Boolean
=
false
,
tailLimit:
Option
[
Int
] =
None
)
(
implicit
ec:
ExecutionContext
)
:
Source
[
String
,
Unit
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
ps
(
all:
Boolean
=
false
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Seq
[
ContainerStatus
]]
def
pull
(
imageName:
ImageName
)
(
implicit
ec:
ExecutionContext
)
:
Source
[
ImageTransferMessage
,
Unit
]
def
pullFuture
(
imageName:
ImageName
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
ImageName
]
def
push
(
imageName:
ImageName
)
(
implicit
ec:
ExecutionContext
)
:
Source
[
ImageTransferMessage
,
Unit
]
def
pushFuture
(
imageName:
ImageName
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
ImageName
]
def
removeContainer
(
containerId:
ContainerId
,
force:
Boolean
=
false
,
volumes:
Boolean
=
false
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
ContainerId
]
def
removeImage
(
imageId:
ImageIdentifier
,
force:
Boolean
=
false
,
prune:
Boolean
=
true
)
(
implicit
ec:
ExecutionContext
)
:
Source
[
RemoveImageMessage
,
Any
]
def
restart
(
containerId:
ContainerId
,
maximumWait:
Seconds
=
Seconds.seconds(10)
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
ContainerId
]
def
rm
(
containerId:
ContainerId
,
force:
Boolean
=
false
,
volumes:
Boolean
=
false
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
ContainerId
]
def
rmi
(
imageId:
ImageIdentifier
,
force:
Boolean
=
false
,
prune:
Boolean
=
true
)
(
implicit
ec:
ExecutionContext
)
:
Source
[
RemoveImageMessage
,
Any
]
def
run
(
containerConfig:
ContainerConfig
,
hostConfig:
HostConfig
=
HostConfig()
,
name:
Option
[
ContainerName
] =
None
)
(
implicit
ec:
ExecutionContext
)
:
Source
[
RunMessage
,
Unit
]
def
runFuture
(
containerConfig:
ContainerConfig
,
hostConfig:
HostConfig
=
HostConfig()
,
name:
Option
[
ContainerName
] =
None
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
ContainerId
]
def
runLocal
(
containerConfig:
ContainerConfig
,
hostConfig:
HostConfig
=
HostConfig()
,
name:
Option
[
ContainerName
] =
None
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
ContainerId
]
def
start
(
containerId:
ContainerId
,
hostConfig:
Option
[
HostConfig
] =
None
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
ContainerId
]
def
stop
(
containerId:
ContainerId
,
maximumWait:
Seconds
=
Seconds.seconds(10)
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
ContainerId
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
tag
(
imageId:
ImageIdentifier
,
tag:
ImageName
,
force:
Boolean
=
false
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
ImageName
]
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
transferImageSourceToFuture
(
source:
Source
[
ImageTransferMessage
,
Unit
]
,
imageName:
ImageName
)
:
Future
[
ImageName
]
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped