provider

package
v0.53.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRunnerProviders

func GetRunnerProviders(ctx *gin.Context)

GetRunnerProviders godoc

@Tags			provider
@Summary		Get runner providers
@Description	Get runner providers
@Param			runnerId	path	string	true	"Runner ID"
@Produce		json
@Success		200	{array}	ProviderInfo
@Router			/runner/{runnerId}/provider [get]

@id				GetRunnerProviders

func InstallProvider

func InstallProvider(ctx *gin.Context)

InstallProvider godoc

@Tags			provider
@Summary		Install provider
@Description	Install provider
@Param			runnerId		path	string	true	"Runner ID"
@Param			providerName	path	string	true	"Provider name"
@Param			providerVersion	query	string	false	"Provider version - defaults to 'latest'"
@Success		200
@Router			/runner/{runnerId}/provider/{providerName}/install [post]

@id				InstallProvider

func ListProviders

func ListProviders(ctx *gin.Context)

ListProviders godoc

@Tags			provider
@Summary		List providers
@Description	List providers
@Param			runnerId	query	string	false	"Runner ID"
@Produce		json
@Success		200	{array}	models.ProviderInfo
@Router			/runner/provider [get]

@id				ListProviders

func ListProvidersForInstall

func ListProvidersForInstall(ctx *gin.Context)

ListProvidersForInstall godoc

@Tags			provider
@Summary		List providers available for installation
@Description	List providers available for installation
@Produce		json
@Success		200	{array}	ProviderDTO
@Router			/runner/provider/for-install [get]

@id				ListProvidersForInstall

func UninstallProvider

func UninstallProvider(ctx *gin.Context)

UninstallProvider godoc

@Tags			provider
@Summary		Uninstall provider
@Description	Uninstall provider
@Param			runnerId		path	string	true	"Runner ID"
@Param			providerName	path	string	true	"Provider name"
@Success		200
@Router			/runner/{runnerId}/provider/{providerName}/uninstall [post]

@id				UninstallProvider

func UpdateProvider

func UpdateProvider(ctx *gin.Context)

UpdateProvider godoc

@Tags			provider
@Summary		Update provider
@Description	Update provider
@Param			runnerId		path	string	true	"Runner ID"
@Param			providerName	path	string	true	"Provider name"
@Param			providerVersion	query	string	false	"Provider version - defaults to 'latest'"
@Success		200
@Router			/runner/{runnerId}/provider/{providerName}/update [post]

@id				UpdateProvider

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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