api

package
v0.0.0-...-7a6a509 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRootEndpoint

func NewRootEndpoint(config *config.CfAPIConfig) echo.HandlerFunc

func RegisterHandlers

func RegisterHandlers(
	echoInstance *echo.Echo,
	database *sql.DB,
	jwtMiddleware echo.MiddlewareFunc,
	rateLimitMiddleware echo.MiddlewareFunc,
	conf *config.CfAPIConfig,
)

Types

type Root

type Root struct {
	Links RootLinks `json:"links"`
}
type RootLinks struct {
	AppSSH            *info.Link `json:"app_ssh"`
	BitsService       *info.Link `json:"bits_service"`
	CloudControllerV2 *info.Link `json:"cloud_controller_v2"`
	CloudControllerV3 *info.Link `json:"cloud_controller_v3"`
	Credhub           *info.Link `json:"credhub"`
	LogCache          *info.Link `json:"log_cache"`
	LogStream         *info.Link `json:"log_stream"`
	Logging           *info.Link `json:"logging"`
	Login             *info.Link `json:"login"`
	NetworkPolicyV0   *info.Link `json:"network_policy_v0"`
	NetworkPolicyV1   *info.Link `json:"network_policy_v1"`
	Routing           *info.Link `json:"routing"`
	Self              *info.Link `json:"self"`
	UAA               *info.Link `json:"uaa"`
}

Directories

Path Synopsis
v3

Jump to

Keyboard shortcuts

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