baasmsps

package
v0.0.0-...-b1a156a Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: Zlib Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Baas deployment files
	BaaSDeploymentPath = "baasdeployment"
)
View Source
const (
	// ErrBaask8sManagementDisabled is an error raised when trying to access the baask8ss management baask8ss
	// when the server has been started with the --external-baask8ss flag
	ErrbaasmspManagementDisabled = baasapi.Error("baasmsp management is disabled")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	*mux.Router

	Baask8sService      baasapi.Baask8sService
	BaasmspService      baasapi.BaasmspService
	Baask8sGroupService baasapi.Baask8sGroupService
	FileService         baasapi.FileService
	Snapshotter         baasapi.Snapshotter
	CAFilesManager      baasapi.CAFilesManager
	JobService          baasapi.JobService
	// contains filtered or unexported fields
}

Handler is the HTTP handler used to handle baask8s operations.

func NewHandler

func NewHandler(bouncer *security.RequestBouncer) *Handler

NewHandler creates a handler to manage baask8s operations.

Jump to

Keyboard shortcuts

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