handlers

package
v0.0.0-...-d6600ca Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiKeyAuth

func ApiKeyAuth(token string) (interface{}, error)

func CreateConnection

func CreateConnection(workspaceID string, connectionRequest *models.ServiceManagerConnectionCreateRequest) middleware.Responder

func DeleteConnection

func DeleteConnection(workspaceID string, connectionID string) middleware.Responder

func DeleteWorkspace

func DeleteWorkspace(workspaceID string) middleware.Responder

func GetConnection

func GetConnection(workspaceID string, connectionID string) middleware.Responder

func GetStatus

func GetStatus() middleware.Responder

func GetWorkspace

func GetWorkspace(workspaceID string) middleware.Responder

func OldApiKeyAuth

func OldApiKeyAuth(token string) (interface{}, error)

APIKeyAuth authorizatizes an API call If the environment variable SIDECAR_API_KEY is set then this will validate that the token given matches the SIDECAR_API_KEY configured, otherwise if the SIDECAR_API_KEY was not set then all calls are valid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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