router

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureMemberClusterMiddleware

func EnsureMemberClusterMiddleware() gin.HandlerFunc

EnsureMemberClusterMiddleware ensures that the member cluster exists.

func MemberV1

func MemberV1() *gin.RouterGroup

MemberV1 returns the router group for /api/v1/member/:clustername which for resources in specific member cluster.

func Router

func Router() *gin.Engine

Router returns the main Gin engine instance.

func V1

func V1() *gin.RouterGroup

V1 returns the router group for /api/v1 which for resources in control plane endpoints.

Types

This section is empty.

Jump to

Keyboard shortcuts

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