externalhandler

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package externalhandler implements REST server functions to communication between orchestration and service applications

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) APIV1RequestCloudSyncmgrGetSubscribedData added in v1.1.11

func (h *Handler) APIV1RequestCloudSyncmgrGetSubscribedData(w http.ResponseWriter, r *http.Request)

APIV1RequestCloudSyncmgrGetSubscribedData gets subscribed data for the service application

func (*Handler) APIV1RequestCloudSyncmgrPublish added in v1.1.8

func (h *Handler) APIV1RequestCloudSyncmgrPublish(w http.ResponseWriter, r *http.Request)

APIV1RequestCloudSyncmgrPublish handles cloudsync publish request from service application

func (*Handler) APIV1RequestCloudSyncmgrSubscribe added in v1.1.9

func (h *Handler) APIV1RequestCloudSyncmgrSubscribe(w http.ResponseWriter, r *http.Request)

APIV1RequestCloudSyncmgrSubscribe handles cloudsync subscribe request from service application

func (*Handler) APIV1RequestSecuremgrPost

func (h *Handler) APIV1RequestSecuremgrPost(w http.ResponseWriter, r *http.Request)

APIV1RequestSecuremgrPost handles securemgr request from securemgr configure application

func (*Handler) APIV1RequestServicePost

func (h *Handler) APIV1RequestServicePost(w http.ResponseWriter, r *http.Request)

APIV1RequestServicePost handles service request from service application

func (*Handler) SetOrchestrationAPI

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

SetOrchestrationAPI sets OrcheExternalAPI

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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