agent/api/container/container.go
func (c *Container) String() string {
	ret := fmt.Sprintf("%s(%s) (%s->%s)", c.Name, c.Image,
		c.GetKnownStatus().String(), c.GetDesiredStatus().String())
	if c.GetKnownExitCode() != nil {
		ret += " - Exit: " + strconv.Itoa(*c.GetKnownExitCode())
	}
	return ret
}
func (c *Container) String() string {
	ret := fmt.Sprintf("%s(%s) (%s->%s)", c.Name, c.Image,
		c.GetKnownStatus().String(), c.GetDesiredStatus().String())
	if c.GetKnownExitCode() != nil {
		ret += " - Exit: " + strconv.Itoa(*c.GetKnownExitCode())
	}
	return ret
}
func ( c * Container ) String ( ) string { ret := fmt . Sprintf ( " " , c . Name , c . Image , c . GetKnownStatus ( ) . String ( ) , c . GetDesiredStatus ( ) . String ( ) ) if c . GetKnownExitCode ( ) != nil { ret += " " + strconv . Itoa ( * c . GetKnownExitCode ( ) ) } return ret }
// String returns a human readable string representation of this object
String returns a human readable string representation of this object