Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: fd5cb0400983539e3909f5585c870a3d720df529 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*******************************************************************************
 * Copyright (c) 2014 Red Hat.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Red Hat - Initial Contribution
 *******************************************************************************/
package org.eclipse.linuxtools.docker.core;

import java.util.List;

public interface IDockerContainer {

	public String id();

	public String image();

	public String command();

	public Long created();

	/**
	 * @return The status string for the container
	 */
	public String status();

	public List<IDockerPortMapping> ports();

	/**
	 * @return The first name of the container
	 */
	public String name();
	
	/**
	 * @return All the names of the container
	 */
	public List<String> names();

	public Long sizeRw();

	public Long sizeRootFs();
	
	/**
	 * @return the {@link IDockerConnection} associated with (or used to retrieve) this {@link IDockerContainer}
	 */
	public IDockerConnection getConnection();


}

Back to the top