endpoints

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: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ErrEndpointManagementDisabled is an error raised when trying to access the endpoints management endpoints
	// when the server has been started with the --external-endpoints flag
	ErrEndpointManagementDisabled = baasapi.Error("Endpoint management is disabled")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	*mux.Router

	EndpointService      baasapi.EndpointService
	EndpointGroupService baasapi.EndpointGroupService
	FileService          baasapi.FileService
	ProxyManager         *proxy.Manager
	Snapshotter          baasapi.Snapshotter
	JobService           baasapi.JobService
	// contains filtered or unexported fields
}

Handler is the HTTP handler used to handle endpoint operations.

func NewHandler

func NewHandler(bouncer *security.RequestBouncer, authorizeEndpointManagement bool) *Handler

NewHandler creates a handler to manage endpoint operations.

Jump to

Keyboard shortcuts

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