internalhandler

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package internalhandler implements REST server functions to communication between orchestrations

Index

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 GetHandler

func GetHandler() *Handler

GetHandler returns the singleton Handler instance

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 (h *Handler) SetCertificateFilePath(path string)

func (*Handler) SetOrchestrationAPI

func (h *Handler) SetOrchestrationAPI(o orchestrationapi.OrcheInternalAPI)

SetOrchestrationAPI sets OrcheInternalAPI

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL