Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Root = kit.NewRouter(httptransport.Group("/applet"))
Functions ¶
This section is empty.
Types ¶
type CreateApplet ¶
type CreateApplet struct { httpx.MethodPost ProjectName string `in:"path" name:"projectName"` applet.CreateAppletReq `in:"body" mime:"multipart"` }
func (*CreateApplet) Output ¶
func (r *CreateApplet) Output(ctx context.Context) (interface{}, error)
func (*CreateApplet) Path ¶
func (r *CreateApplet) Path() string
type CreateAppletAndDeploy ¶
type CreateAppletAndDeploy struct{}
type ListApplet ¶
type ListApplet struct { httpx.MethodGet ProjectName string `in:"path" name:"projectName"` applet.ListAppletReq }
func (*ListApplet) Path ¶
func (r *ListApplet) Path() string
type RemoveApplet ¶
type RemoveApplet struct { httpx.MethodDelete applet.RemoveAppletReq }
func (*RemoveApplet) Output ¶
func (r *RemoveApplet) Output(ctx context.Context) (interface{}, error)
func (*RemoveApplet) Path ¶
func (r *RemoveApplet) Path() string
type UpdateAndDeploy ¶
type UpdateAndDeploy struct { httpx.MethodPut AppletID types.SFID `in:"path" name:"appletID"` InstanceID types.SFID `in:"path" name:"instanceID"` applet.UpdateAndDeployReq `in:"body" mime:"multipart"` }
func (*UpdateAndDeploy) Output ¶
func (r *UpdateAndDeploy) Output(ctx context.Context) (interface{}, error)
func (*UpdateAndDeploy) Path ¶
func (r *UpdateAndDeploy) Path() string
type UpdateApplet ¶
type UpdateApplet struct { httpx.MethodPut AppletID types.SFID `in:"path" name:"appletID"` applet.UpdateAppletReq `in:"body" mime:"multipart"` }
func (*UpdateApplet) Output ¶
func (r *UpdateApplet) Output(ctx context.Context) (interface{}, error)
func (*UpdateApplet) Path ¶
func (r *UpdateApplet) Path() string
Click to show internal directories.
Click to hide internal directories.