Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeHandler ¶
func InitializeHandler() (handler *module, err error)
Types ¶
type HandlerFunc ¶
type HandlerFunc interface { // Monitor MonitorGetAll() (applicationInfos []datatransfers.ApplicationInfo, err error) // Application ApplicationGetAll() (applicationInfos []datatransfers.ApplicationInfo, err error) ApplicationGetOne(applicationID string) (applicationInfo datatransfers.ApplicationInfo, err error) ApplicationCreate(applicationInfo datatransfers.ApplicationInfo) (applicationID string, err error) ApplicationUpdate(applicationInfo datatransfers.ApplicationInfo) (err error) ApplicationDelete(applicationID string) (err error) // Service ServiceGetAll(applicationID string) (serviceInfos []datatransfers.ServiceInfo, err error) ServiceGetOne(serviceID, applicationID string) (applicationInfo datatransfers.ServiceInfo, err error) ServiceCreate(serviceInfo datatransfers.ServiceInfo) (serviceID string, err error) ServiceUpdate(serviceInfo datatransfers.ServiceInfo) (err error) ServiceDelete(serviceID, applicationID string) (err error) // Tracker InitializeTrackerServer(port int) (err error) // Scheduler InitializeScheduler() (err error) TriggerTracking() }
type TrackerClient ¶
type TrackerServer ¶
type TrackerServer interface { pb.TrackerServer PingTracker(trackerID string) (err error) SendTrackingRequest(request *pb.TrackingRequest) (err error) }
Click to show internal directories.
Click to hide internal directories.