Documentation
¶
Index ¶
Constants ¶
View Source
const ( Address = "/tmp/cloudagent/cloudagent.sock" Network = "unix" )
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(opts *ServerOption) cloud_agent.AgentServer
func NewWatcher ¶
func NewWatcher(opts WatcherOptions, fn ...WatchFn) (*cron.Cron, error)
Types ¶
type ServerOption ¶
type ServerOption struct { Getter StateGetter Logger *logrus.Logger }
type StateGetter ¶
Click to show internal directories.
Click to hide internal directories.