Documentation
¶
Overview ¶
Package v1 contains the V1 API for ToolHive.
Index ¶
- func ClientRouter(manager client.Manager) http.Handler
- func DiscoveryRouter() http.Handler
- func HealthcheckRouter() http.Handler
- func RegistryRouter() http.Handler
- func VersionRouter() http.Handler
- func WorkloadRouter(manager workloads.Manager, containerRuntime runtime.Runtime, debugMode bool) http.Handler
- type ClientRoutes
- type DiscoveryRoutes
- type RegistryRoutes
- type WorkloadRoutes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientRouter ¶ added in v0.0.43
ClientRouter creates a new router for the client API.
func DiscoveryRouter ¶ added in v0.0.41
DiscoveryRouter creates a new router for the client discovery API.
func HealthcheckRouter ¶
HealthcheckRouter sets up healthcheck route.
func RegistryRouter ¶ added in v0.0.40
RegistryRouter creates a new router for the registry API.
Types ¶
type ClientRoutes ¶ added in v0.0.43
type ClientRoutes struct {
// contains filtered or unexported fields
}
ClientRoutes defines the routes for the client API.
type DiscoveryRoutes ¶ added in v0.0.41
type DiscoveryRoutes struct{}
DiscoveryRoutes defines the routes for the client discovery API.
type RegistryRoutes ¶ added in v0.0.40
type RegistryRoutes struct{}
RegistryRoutes defines the routes for the registry API.
type WorkloadRoutes ¶ added in v0.0.43
type WorkloadRoutes struct {
// contains filtered or unexported fields
}
WorkloadRoutes defines the routes for workload management.
Click to show internal directories.
Click to hide internal directories.