v1

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: Apache-2.0 Imports: 19 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(containerRuntime rt.Runtime) http.Handler

HealthcheckRouter sets up healthcheck route.

func RegistryRouter added in v0.0.40

func RegistryRouter(provider registry.Provider) http.Handler

RegistryRouter creates a new router for the registry API.

func SecretsRouter added in v0.0.48

func SecretsRouter() http.Handler

SecretsRouter creates a new router for the secrets API.

func VersionRouter

func VersionRouter() http.Handler

VersionRouter sets up the version route.

func WorkloadRouter added in v0.0.43

func WorkloadRouter(
	workloadManager 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 {
	// contains filtered or unexported fields
}

RegistryRoutes defines the routes for the registry API.

type SecretsRoutes added in v0.0.48

type SecretsRoutes struct{}

SecretsRoutes defines the routes for the secrets 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