Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterPatch ¶ added in v1.4.0
type ClusterPatch struct {
Status string `json:"status" validate:"omitempty,oneof=Inactive Active Deprecated Deleted"`
Phase string `json:"phase" validate:"omitempty,oneof=Building Testing Running Upgrading"`
Tags map[string]string `json:"tags" validate:"omitempty"`
}
ClusterPatch is the struct for updating a cluster's dynamic fields
func (*ClusterPatch) Validate ¶ added in v1.4.0
func (patch *ClusterPatch) Validate(c echo.Context) error
type Handler ¶
type Handler interface {
GetCluster(echo.Context) error
PatchCluster(echo.Context) error
ListClusters(echo.Context) error
Register(*echo.Group)
}
Handler interface
func NewHandler ¶
func NewHandler(appConfig *config.AppConfig, d database.Db, m monitoring.MetricsI, kcp k8s.ClientProviderI) Handler
NewHandler func
Click to show internal directories.
Click to hide internal directories.