Documentation
¶
Index ¶
- type DataHolder
- type Handler
- func (h *Handler) ApplyCM(c echo.Context) error
- func (h *Handler) CreateService(c echo.Context) error
- func (h *Handler) DeleteServiceByName(c echo.Context) error
- func (h *Handler) GetAllPodsInfo(c echo.Context) error
- func (h *Handler) GetAllServicesByNs(c echo.Context) error
- func (h *Handler) GetCmByName(c echo.Context) error
- func (h *Handler) GetCmByNamespace(c echo.Context) error
- func (h *Handler) GetContainersInDeployment(c echo.Context) error
- func (h *Handler) GetDeploymentLogs(c echo.Context) error
- func (h *Handler) GetDeploymentYaml(c echo.Context) error
- func (h *Handler) GetNamespaces(c echo.Context) error
- func (h *Handler) GetNodesInfo(c echo.Context) error
- func (h *Handler) GetPodLogs(c echo.Context) error
- func (h *Handler) ListDeploymentsByNamespace(c echo.Context) error
- func (h *Handler) Ping(c echo.Context) error
- func (h *Handler) ScaleDeploymentsByName(c echo.Context) error
- func (h *Handler) SetConfigMapByName(c echo.Context) error
- func (h *Handler) Start() error
- func (h *Handler) UpdateDeploymentYaml(c echo.Context) error
- type Resp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataHolder ¶
type DataHolder struct {
Data string `json:"data"`
}
type Handler ¶
type Handler struct { Router *echo.Echo Server *http.Server Logger *slog.Logger KubeClient *k8s.KubeClient }
func NewHandler ¶
func NewHandler(kubeClient *k8s.KubeClient) *Handler
func (*Handler) CreateService ¶
func (*Handler) DeleteServiceByName ¶
func (*Handler) GetAllPodsInfo ¶
func (*Handler) GetAllServicesByNs ¶
func (*Handler) GetCmByName ¶
func (*Handler) GetCmByNamespace ¶
func (*Handler) GetContainersInDeployment ¶
func (*Handler) GetDeploymentLogs ¶
func (*Handler) GetDeploymentYaml ¶
func (*Handler) GetNamespaces ¶
func (*Handler) GetNodesInfo ¶
func (*Handler) GetPodLogs ¶
func (*Handler) ListDeploymentsByNamespace ¶
func (*Handler) ScaleDeploymentsByName ¶
func (*Handler) SetConfigMapByName ¶
func (*Handler) UpdateDeploymentYaml ¶
Click to show internal directories.
Click to hide internal directories.