clusters

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClusterEndpoint

func CreateClusterEndpoint(handler func(ctx *gin.Context, params *CreateClusterParams) *api.Response) gin.HandlerFunc

CreateClusterEndpoint executes the core logic of the related route endpoint.

func DeleteClusterEndpoint

func DeleteClusterEndpoint(handler func(ctx *gin.Context, params *DeleteClusterParams) *api.Response) gin.HandlerFunc

DeleteClusterEndpoint executes the core logic of the related route endpoint.

func GetClusterEndpoint

func GetClusterEndpoint(handler func(ctx *gin.Context, params *GetClusterParams) *api.Response) gin.HandlerFunc

GetClusterEndpoint executes the core logic of the related route endpoint.

func ListClustersEndpoint

func ListClustersEndpoint(handler func(ctx *gin.Context, params *ListClustersParams) *api.Response) gin.HandlerFunc

ListClustersEndpoint executes the core logic of the related route endpoint.

func UpdateClusterEndpoint

func UpdateClusterEndpoint(handler func(ctx *gin.Context, params *UpdateClusterParams) *api.Response) gin.HandlerFunc

UpdateClusterEndpoint executes the core logic of the related route endpoint.

Types

type CreateClusterParams

type CreateClusterParams struct {

	/*Cluster that will be created.
	  Required: true
	  In: body
	*/
	Cluster *models.Cluster
}

CreateClusterParams contains all the bound params for the create cluster operation typically these are obtained from a http.Request

swagger:parameters createCluster

func NewCreateClusterParams

func NewCreateClusterParams() *CreateClusterParams

NewCreateClusterParams creates a new CreateClusterParams object with the default values initialized.

type DeleteClusterParams

type DeleteClusterParams struct {

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

DeleteClusterParams contains all the bound params for the delete cluster operation typically these are obtained from a http.Request

swagger:parameters deleteCluster

func NewDeleteClusterParams

func NewDeleteClusterParams() *DeleteClusterParams

NewDeleteClusterParams creates a new DeleteClusterParams object with the default values initialized.

type GetClusterParams

type GetClusterParams struct {

	/*ID of the cluster.
	  Required: true
	  Pattern: ^[a-z][a-z0-9-:]*[a-z0-9]$
	  In: path
	*/
	ClusterID string
	/*Include technical data (config items, node pools) in the response, true by default
	  In: query
	  Default: true
	*/
	Verbose *bool
}

GetClusterParams contains all the bound params for the get cluster operation typically these are obtained from a http.Request

swagger:parameters getCluster

func NewGetClusterParams

func NewGetClusterParams() *GetClusterParams

NewGetClusterParams creates a new GetClusterParams object with the default values initialized.

type ListClustersParams

type ListClustersParams struct {

	/*Filter on cluster alias.
	  In: query
	*/
	Alias *string
	/*Filter on API server URL.
	  In: query
	*/
	APIServerURL *string
	/*Filter on channel.
	  In: query
	*/
	Channel *string
	/*Filter on criticality level.
	  In: query
	*/
	CriticalityLevel *int32
	/*Filter on environment.
	  In: query
	*/
	Environment *string
	/*Filter on infrastructure account.
	  In: query
	*/
	InfrastructureAccount *string
	/*Filter on cluster lifecycle status.
	  In: query
	*/
	LifecycleStatus *string
	/*Filter on local id.
	  In: query
	*/
	LocalID *string
	/*Filter on provider.
	  In: query
	*/
	Provider *string
	/*Filter on region.
	  In: query
	*/
	Region *string
	/*Include technical data (config items, node pools) in the response, true by default
	  In: query
	  Default: true
	*/
	Verbose *bool
}

ListClustersParams contains all the bound params for the list clusters operation typically these are obtained from a http.Request

swagger:parameters listClusters

func NewListClustersParams

func NewListClustersParams() *ListClustersParams

NewListClustersParams creates a new ListClustersParams object with the default values initialized.

type UpdateClusterParams

type UpdateClusterParams struct {

	/*Cluster that will be updated.
	  Required: true
	  In: body
	*/
	Cluster *models.ClusterUpdate
	/*ID of the cluster.
	  Required: true
	  Pattern: ^[a-z][a-z0-9-:]*[a-z0-9]$
	  In: path
	*/
	ClusterID string
}

UpdateClusterParams contains all the bound params for the update cluster operation typically these are obtained from a http.Request

swagger:parameters updateCluster

func NewUpdateClusterParams

func NewUpdateClusterParams() *UpdateClusterParams

NewUpdateClusterParams creates a new UpdateClusterParams object with the default values initialized.

Jump to

Keyboard shortcuts

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