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.
Click to show internal directories.
Click to hide internal directories.