Documentation ¶
Overview ¶
Package internalhandler implements REST server functions to communication between orchestrations
Index ¶
- type Handler
- func (h *Handler) APIV1DiscoverymgrMNEDCDeviceInfoPost(w http.ResponseWriter, r *http.Request)
- func (h *Handler) APIV1DiscoverymgrOrchestrationInfoGet(w http.ResponseWriter, r *http.Request)
- func (h *Handler) APIV1Ping(w http.ResponseWriter, r *http.Request)
- func (h *Handler) APIV1ScoringmgrResourceGet(w http.ResponseWriter, r *http.Request)
- func (h *Handler) APIV1ScoringmgrScoreLibnameGet(w http.ResponseWriter, r *http.Request)
- func (h *Handler) APIV1ServicemgrServicesNotificationServiceIDPost(w http.ResponseWriter, r *http.Request)
- func (h *Handler) APIV1ServicemgrServicesPost(w http.ResponseWriter, r *http.Request)
- func (h *Handler) SetCertificateFilePath(path string)
- func (h *Handler) SetOrchestrationAPI(o orchestrationapi.OrcheInternalAPI)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { restinterface.HasRoutes cipher.HasCipher // contains filtered or unexported fields }
Handler struct
func (*Handler) APIV1DiscoverymgrMNEDCDeviceInfoPost ¶
func (h *Handler) APIV1DiscoverymgrMNEDCDeviceInfoPost(w http.ResponseWriter, r *http.Request)
APIV1DiscoverymgrMNEDCDeviceInfoPost handles device info from MNEDC server
func (*Handler) APIV1DiscoverymgrOrchestrationInfoGet ¶
func (h *Handler) APIV1DiscoverymgrOrchestrationInfoGet(w http.ResponseWriter, r *http.Request)
APIV1DiscoverymgrOrchestrationInfoGet handles device info requests from peers
func (*Handler) APIV1Ping ¶
func (h *Handler) APIV1Ping(w http.ResponseWriter, r *http.Request)
APIV1Ping handles ping request from remote orchestration
func (*Handler) APIV1ScoringmgrResourceGet ¶
func (h *Handler) APIV1ScoringmgrResourceGet(w http.ResponseWriter, r *http.Request)
APIV1ScoringmgrResourceGet handles Resource request from remote orchestration
func (*Handler) APIV1ScoringmgrScoreLibnameGet ¶
func (h *Handler) APIV1ScoringmgrScoreLibnameGet(w http.ResponseWriter, r *http.Request)
APIV1ScoringmgrScoreLibnameGet handles scoring request from remote orchestration
func (*Handler) APIV1ServicemgrServicesNotificationServiceIDPost ¶
func (h *Handler) APIV1ServicemgrServicesNotificationServiceIDPost(w http.ResponseWriter, r *http.Request)
APIV1ServicemgrServicesNotificationServiceIDPost handles service notification request from remote orchestration
func (*Handler) APIV1ServicemgrServicesPost ¶
func (h *Handler) APIV1ServicemgrServicesPost(w http.ResponseWriter, r *http.Request)
APIV1ServicemgrServicesPost handles service execution request from remote orchestration
func (*Handler) SetCertificateFilePath ¶
func (*Handler) SetOrchestrationAPI ¶
func (h *Handler) SetOrchestrationAPI(o orchestrationapi.OrcheInternalAPI)
SetOrchestrationAPI sets OrcheInternalAPI