package cluster

import (
	"github.com/tidbcloud/devops/api"
	"github.com/tidbcloud/devops/entity"
)

type GetTopologyResp struct {
	api.BaseResp `json:",inline"`
	Topology     entity.Topology `json:"topology"`
}

type ExecCtlReq struct {
	Command string `json:"command"`
}

type ExecCtlResp struct {
	api.BaseResp `json:",inline"`

	Stdout string `json:"stdout"`
	Stderr string `json:"stderr"`
}
