Documentation ¶
Index ¶
- func DisplayScanSuggestMsg()
- func FilteredLogConsumer(consumer compose.LogConsumer, services []string) compose.LogConsumer
- func GetWriter(container, service string, events compose.ContainerEventListener) io.WriteCloser
- func ServiceHash(o types.ServiceConfig) (string, error)
- func StringContains(array []string, needle string) bool
- type MemBytes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayScanSuggestMsg ¶ added in v1.0.11
func DisplayScanSuggestMsg()
DisplayScanSuggestMsg displlay a message suggesting users can scan new image
func FilteredLogConsumer ¶ added in v1.0.9
func FilteredLogConsumer(consumer compose.LogConsumer, services []string) compose.LogConsumer
FilteredLogConsumer filters logs for given services
func GetWriter ¶ added in v1.0.9
func GetWriter(container, service string, events compose.ContainerEventListener) io.WriteCloser
GetWriter creates a io.Writer that will actually split by line and format by LogConsumer
func ServiceHash ¶ added in v1.0.11
func ServiceHash(o types.ServiceConfig) (string, error)
ServiceHash compute configuration has for a service TODO move this to compose-go
func StringContains ¶
StringContains check if an array contains a specific value
Types ¶
type MemBytes ¶ added in v1.0.8
type MemBytes int64
MemBytes is a type for human readable memory bytes (like 128M, 2g, etc)
Click to show internal directories.
Click to hide internal directories.