handler

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorBadRequest = "some parameters missed"
)

Functions

func GetStatus

func GetStatus(c *gin.Context)

Types

type Cluster added in v0.0.15

type Cluster struct {
	// contains filtered or unexported fields
}

func NewCluster added in v0.0.15

func NewCluster(p Params) *Cluster

func (*Cluster) CreateCluster added in v0.0.15

func (h *Cluster) CreateCluster(c *gin.Context)

func (*Cluster) DeleteCluster added in v0.0.15

func (h *Cluster) DeleteCluster(c *gin.Context)

func (*Cluster) GetCluster added in v0.0.15

func (h *Cluster) GetCluster(c *gin.Context)

func (*Cluster) ResumeCluster added in v0.0.15

func (h *Cluster) ResumeCluster(c *gin.Context)

type Params added in v0.0.15

type Params struct {
	fx.In

	ClusterSvc *cluster.Service
}

Jump to

Keyboard shortcuts

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