Documentation
¶
Index ¶
- type CmdType
- type Config
- type Handler
- func (h *Handler) ProjectDelete(ctx context.Context, projectId string, _ string) (string, error)
- func (h *Handler) ProjectStart(ctx context.Context, projectId string, _ string) (string, error)
- func (h *Handler) ProjectStop(ctx context.Context, projectId string, _ string) (string, error)
- func (h *Handler) Run(ctx context.Context, config RunConfig) error
- func (h *Handler) ServiceDelete(ctx context.Context, _ string, serviceId string) (string, error)
- func (h *Handler) ServiceStart(ctx context.Context, _ string, serviceId string) (string, error)
- func (h *Handler) ServiceStop(ctx context.Context, _ string, serviceId string) (string, error)
- type Method
- type RunConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func New ¶
func New(config Config, httpClient *httpClient.Handler, apiGrpcClient zBusinessZeropsApiProtocol.ZBusinessZeropsApiProtocolClient, sdkConfig sdkConfig.Config) *Handler
func (*Handler) ProjectDelete ¶
func (*Handler) ProjectStart ¶
func (*Handler) ProjectStop ¶
func (*Handler) ServiceDelete ¶
func (*Handler) ServiceStart ¶
Click to show internal directories.
Click to hide internal directories.