apikeyscontroller

package
v1.8.5 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAgent

func RegisterAgent() gin.HandlerFunc

Register an agent. Identity must be authorized to register an agent?

@Summary	Register an agent
@Schemes
@Description	Register an cluster.
@Tags			clusters
@Accept			application/json
@Produce		application/json
@Param			data	body		apikeystypes.RegisterClusterRequest	true	"data"
@Success		200	{object}	apikeystypes.RegisterClusterResponse
@Failure		403	{string}	rorerror.ErrorData
@Failure		400	{object}	rorerror.ErrorData
@Failure		500	{string}	Failure	message
@Router			/v2/apikeys/agent/register [post]
@Security		ApiKey || AccessToken

Types

This section is empty.

Jump to

Keyboard shortcuts

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