v1

package
v0.0.44 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package v1 contains the V1 API for ToolHive.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientRouter added in v0.0.43

func ClientRouter(
	manager client.Manager,
) http.Handler

ClientRouter creates a new router for the client API.

func DiscoveryRouter added in v0.0.41

func DiscoveryRouter() http.Handler

DiscoveryRouter creates a new router for the client discovery API.

func HealthcheckRouter

func HealthcheckRouter() http.Handler

HealthcheckRouter sets up healthcheck route.

func RegistryRouter added in v0.0.40

func RegistryRouter() http.Handler

RegistryRouter creates a new router for the registry API.

func VersionRouter

func VersionRouter() http.Handler

VersionRouter sets up the version route.

func WorkloadRouter added in v0.0.43

func WorkloadRouter(
	manager workloads.Manager,
	containerRuntime runtime.Runtime,
	debugMode bool,
) http.Handler

WorkloadRouter creates a new WorkloadRoutes instance.

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.

Jump to

Keyboard shortcuts

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