Versions in this module Expand all Collapse all v0 v0.1.0 Apr 10, 2017 Changes in this version + func CreateTemplate(templatePath string) (*template.Template, error) + func GetEnvIntOrDefault(key string, def int) int + func GetEnvStringOrDefault(key, def string) string + func GetRequiredEnvInt(key string) int + func GetRequiredEnvString(key string) string + func WaitForDir(path string, clock ClockInterface, interval time.Duration) error + type Clock struct + func (c *Clock) Now() time.Time + func (c *Clock) Since(t time.Time) time.Duration + func (c *Clock) Sleep(d time.Duration) + type ClockInterface interface + Now func() time.Time + Since func(time.Time) time.Duration + Sleep func(time.Duration) + type FileSystem struct + func (fs *FileSystem) ListAllFiles(rootPath string) ([]string, error) + func (fs *FileSystem) ReadLines(filePath string) ([]string, error) + type FileSystemInterface interface + ListAllFiles func(rootPath string) ([]string, error) + ReadLines func(filePath string) ([]string, error) + type MockClockInterface struct + func NewMockClockInterface(ctrl *gomock.Controller) *MockClockInterface + func (_m *MockClockInterface) EXPECT() *_MockClockInterfaceRecorder + func (_m *MockClockInterface) Now() time.Time + func (_m *MockClockInterface) Since(_param0 time.Time) time.Duration + func (_m *MockClockInterface) Sleep(_param0 time.Duration) + type MockFileSystemInterface struct + func NewMockFileSystemInterface(ctrl *gomock.Controller) *MockFileSystemInterface + func (_m *MockFileSystemInterface) EXPECT() *_MockFileSystemInterfaceRecorder + func (_m *MockFileSystemInterface) ListAllFiles(_param0 string) ([]string, error) + func (_m *MockFileSystemInterface) ReadLines(_param0 string) ([]string, error)