projectconfig

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteProjectConfig

func DeleteProjectConfig(ctx *gin.Context)

DeleteProjectConfig godoc

@Tags			project-config
@Summary		Delete project config data
@Description	Delete project config data
@Param			configName	path	string	true	"Config name"
@Param			force		query	bool	false	"Force"
@Success		204
@Router			/project-config/{configName} [delete]

@id				DeleteProjectConfig

func GetDefaultProjectConfig

func GetDefaultProjectConfig(ctx *gin.Context)

GetDefaultProjectConfig godoc

@Tags			project-config
@Summary		Get project configs by git url
@Description	Get project configs by git url
@Produce		json
@Param			gitUrl	path		string	true	"Git URL"
@Success		200		{object}	ProjectConfig
@Router			/project-config/default/{gitUrl} [get]

@id				GetDefaultProjectConfig

func GetProjectConfig

func GetProjectConfig(ctx *gin.Context)

GetProjectConfig godoc

@Tags			project-config
@Summary		Get project config data
@Description	Get project config data
@Accept			json
@Param			configName	path		string	true	"Config name"
@Success		200			{object}	ProjectConfig
@Router			/project-config/{configName} [get]

@id				GetProjectConfig

func ListProjectConfigs

func ListProjectConfigs(ctx *gin.Context)

ListProjectConfigs godoc

@Tags			project-config
@Summary		List project configs
@Description	List project configs
@Produce		json
@Success		200	{array}	ProjectConfig
@Router			/project-config [get]

@id				ListProjectConfigs

func SetDefaultProjectConfig

func SetDefaultProjectConfig(ctx *gin.Context)

SetDefaultProjectConfig godoc

@Tags			project-config
@Summary		Set project config to default
@Description	Set project config to default
@Param			configName	path	string	true	"Config name"
@Success		200
@Router			/project-config/{configName}/set-default [patch]

@id				SetDefaultProjectConfig

func SetProjectConfig

func SetProjectConfig(ctx *gin.Context)

SetProjectConfig godoc

@Tags			project-config
@Summary		Set project config data
@Description	Set project config data
@Accept			json
@Param			projectConfig	body	CreateProjectConfigDTO	true	"Project config"
@Success		201
@Router			/project-config [put]

@id				SetProjectConfig

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