Documentation
¶
Index ¶
Constants ¶
View Source
const (
// ErrEmptyEndpointArray is an error raised when the external endpoint source array is empty.
ErrEmptyEndpointArray = dockm.Error("External endpoint source is empty")
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
Cron *cron.Cron
EndpointService dockm.EndpointService
// contains filtered or unexported fields
}
Watcher represents a service for managing crons.
func NewWatcher ¶
NewWatcher initializes a new service.
func (*Watcher) WatchEndpointFile ¶
WatchEndpointFile starts a cron job to synchronize the endpoints from a file
Click to show internal directories.
Click to hide internal directories.