server: inspect: add log path and mount point for cadvisor
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
378b9c0d2f
commit
69fc590fc3
6 changed files with 25 additions and 0 deletions
|
@ -46,6 +46,7 @@ type Container struct {
|
|||
imageName string
|
||||
imageRef string
|
||||
volumes []ContainerVolume
|
||||
mountPoint string
|
||||
}
|
||||
|
||||
// ContainerVolume is a bind mount for the container.
|
||||
|
@ -222,3 +223,13 @@ func (c *Container) Volumes() []ContainerVolume {
|
|||
return c.volumes
|
||||
|
||||
}
|
||||
|
||||
// SetMountPoint sets the container mount point
|
||||
func (c *Container) SetMountPoint(mp string) {
|
||||
c.mountPoint = mp
|
||||
}
|
||||
|
||||
// MountPoint returns the container mount point
|
||||
func (c *Container) MountPoint() string {
|
||||
return c.mountPoint
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue