-
Notifications
You must be signed in to change notification settings - Fork 1
/
funcGetLastInspect.go
34 lines (32 loc) · 976 Bytes
/
funcGetLastInspect.go
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
package iotmakerdockerbuilder
import (
iotmakerdocker "github.com/helmutkemper/iotmaker.docker/v1.0.1"
)
// GetLastInspect
//
// English:
//
// Returns the container data based on the last ticker cycle defined in SetInspectInterval()
//
// Output:
// inspect: Container information such as name, ID, volumes, network, etc.
//
// Note:
//
// * The GetChannelOnContainerInspect() function returns the channel triggered by the ticker when
// the information is ready for use
//
// Português:
//
// Retorna os dados do container baseado no último ciclo do ticker definido em SetInspectInterval()
//
// Output:
// inspect: Informações sobre o container, como nome, ID, volumes, rede, etc.
//
// Nota:
//
// * A função GetChannelOnContainerInspect() retorna o canal disparado pelo ticker quando as
// informações estão prontas para uso
func (e *ContainerBuilder) GetLastInspect() (inspect iotmakerdocker.ContainerInspect) {
return e.inspect
}