Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Root = kit.NewRouter(httptransport.Group("/deploy"))
Functions ¶
This section is empty.
Types ¶
type ControlInstance ¶
type ControlInstance struct { httpx.MethodPut InstanceID types.SFID `in:"path" name:"instanceID"` Cmd enums.DeployCmd `in:"path" name:"cmd"` }
func (*ControlInstance) Output ¶
func (r *ControlInstance) Output(ctx context.Context) (interface{}, error)
func (*ControlInstance) Path ¶
func (r *ControlInstance) Path() string
type CreateInstance ¶
type CreateInstance struct { httpx.MethodPost AppletID types.SFID `in:"path" name:"appletID"` deploy.CreateInstanceReq `in:"body"` }
func (*CreateInstance) Output ¶
func (r *CreateInstance) Output(ctx context.Context) (interface{}, error)
func (*CreateInstance) Path ¶
func (r *CreateInstance) Path() string
type GetInstanceByAppletID ¶
type GetInstanceByAppletID struct { httpx.MethodGet AppletID types.SFID `in:"path" name:"appletID"` }
func (*GetInstanceByAppletID) Output ¶
func (r *GetInstanceByAppletID) Output(ctx context.Context) (interface{}, error)
func (*GetInstanceByAppletID) Path ¶
func (r *GetInstanceByAppletID) Path() string
type GetInstanceByInstanceID ¶
type GetInstanceByInstanceID struct { httpx.MethodGet InstanceID types.SFID `in:"path" name:"instanceID"` }
func (*GetInstanceByInstanceID) Output ¶
func (r *GetInstanceByInstanceID) Output(ctx context.Context) (interface{}, error)
func (*GetInstanceByInstanceID) Path ¶
func (r *GetInstanceByInstanceID) Path() string
Click to show internal directories.
Click to hide internal directories.