config_items

package
v0.0.0-...-f4f4b6c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddOrUpdateConfigItemEndpoint

func AddOrUpdateConfigItemEndpoint(handler func(ctx *gin.Context, params *AddOrUpdateConfigItemParams) *api.Response) gin.HandlerFunc

AddOrUpdateConfigItemEndpoint executes the core logic of the related route endpoint.

func DeleteConfigItemEndpoint

func DeleteConfigItemEndpoint(handler func(ctx *gin.Context, params *DeleteConfigItemParams) *api.Response) gin.HandlerFunc

DeleteConfigItemEndpoint executes the core logic of the related route endpoint.

Types

type AddOrUpdateConfigItemParams

type AddOrUpdateConfigItemParams struct {

	/*ID of the cluster.
	  Required: true
	  Pattern: ^[a-z][a-z0-9-:]*[a-z0-9]$
	  In: path
	*/
	ClusterID string
	/*Key for the config value.
	  Required: true
	  Pattern: ^[a-z][a-z0-9_]*[a-z0-9]$
	  In: path
	*/
	ConfigKey string
	/*Config value.
	  Required: true
	  In: body
	*/
	Value *models.ConfigValue
}

AddOrUpdateConfigItemParams contains all the bound params for the add or update config item operation typically these are obtained from a http.Request

swagger:parameters addOrUpdateConfigItem

func NewAddOrUpdateConfigItemParams

func NewAddOrUpdateConfigItemParams() *AddOrUpdateConfigItemParams

NewAddOrUpdateConfigItemParams creates a new AddOrUpdateConfigItemParams object with the default values initialized.

type DeleteConfigItemParams

type DeleteConfigItemParams struct {

	/*ID of the cluster.
	  Required: true
	  Pattern: ^[a-z][a-z0-9-:]*[a-z0-9]$
	  In: path
	*/
	ClusterID string
	/*Key for the config value.
	  Required: true
	  Pattern: ^[a-z][a-z0-9_]*[a-z0-9]$
	  In: path
	*/
	ConfigKey string
}

DeleteConfigItemParams contains all the bound params for the delete config item operation typically these are obtained from a http.Request

swagger:parameters deleteConfigItem

func NewDeleteConfigItemParams

func NewDeleteConfigItemParams() *DeleteConfigItemParams

NewDeleteConfigItemParams creates a new DeleteConfigItemParams object with the default values initialized.

Jump to

Keyboard shortcuts

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