target

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListTargets

func ListTargets(ctx *gin.Context)

ListTargets godoc

@Tags			target
@Summary		List targets
@Description	List targets
@Produce		json
@Success		200	{array}	ProviderTarget
@Router			/target [get]

@id				ListTargets

func RemoveTarget

func RemoveTarget(ctx *gin.Context)

RemoveTarget godoc

@Tags			target
@Summary		Remove a target
@Description	Remove a target
@Param			target	path	string	true	"Target name"
@Success		204
@Router			/target/{target} [delete]

@id				RemoveTarget

func SetTarget

func SetTarget(ctx *gin.Context)

SetTarget godoc

@Tags			target
@Summary		Set a target
@Description	Set a target
@Param			target	body	ProviderTarget	true	"Target to set"
@Success		201
@Router			/target [put]

@id				SetTarget

Types

This section is empty.

Jump to

Keyboard shortcuts

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