internalhandler

package
v0.0.0-...-707febc Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2020 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) APIV1Ping

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

APIV1Ping handles ping 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