mirror of
https://github.com/containrrr/watchtower.git
synced 2026-03-10 14:42:34 +01:00
add slack notification cli flag
This commit is contained in:
parent
265ae80099
commit
b6707f504e
6 changed files with 159 additions and 19 deletions
|
|
@ -64,6 +64,12 @@ func (c Container) ImageName() string {
|
|||
return imageName
|
||||
}
|
||||
|
||||
// Details returns the name of the Docker image as defined in ImageName
|
||||
// together with the name of the container
|
||||
func (c Container) Details() string {
|
||||
return fmt.Sprintf("%s (%s)", c.ImageName(), c.Name())
|
||||
}
|
||||
|
||||
// Links returns a list containing the names of all the containers to which
|
||||
// this container is linked.
|
||||
func (c Container) Links() []string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue