applet

package
v1.6.5-rc12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Root = kit.NewRouter(httptransport.Group("/applet"))

Functions

This section is empty.

Types

type BatchRemoveApplet added in v1.1.0

type BatchRemoveApplet struct {
	httpx.MethodDelete
	applet.CondArgs
}

BatchRemoveApplet remove applets with condition under project permission

func (*BatchRemoveApplet) Output added in v1.1.0

func (r *BatchRemoveApplet) Output(ctx context.Context) (interface{}, error)

type CreateApplet

type CreateApplet struct {
	httpx.MethodPost
	applet.CreateReq `in:"body" mime:"multipart"`
}

func (*CreateApplet) Output

func (r *CreateApplet) Output(ctx context.Context) (interface{}, error)

type GetApplet

type GetApplet struct {
	httpx.MethodGet
	AppletID types.SFID `in:"path" name:"appletID"`
}

GetApplet get applet by applet id

func (*GetApplet) Output

func (r *GetApplet) Output(ctx context.Context) (interface{}, error)

func (*GetApplet) Path

func (r *GetApplet) Path() string

type ListApplet

type ListApplet struct {
	httpx.MethodGet
	applet.ListReq
}

ListApplet list applets with condition under project permission

func (*ListApplet) Output

func (r *ListApplet) Output(ctx context.Context) (interface{}, error)

func (*ListApplet) Path

func (r *ListApplet) Path() string

type RemoveApplet

type RemoveApplet struct {
	httpx.MethodDelete
	AppletID types.SFID `in:"path" name:"appletID"`
}

RemoveApplet remove applet by applet id

func (*RemoveApplet) Output

func (r *RemoveApplet) Output(ctx context.Context) (interface{}, error)

func (*RemoveApplet) Path

func (r *RemoveApplet) Path() string

type UpdateApplet

type UpdateApplet struct {
	httpx.MethodPut
	AppletID         types.SFID `in:"path" name:"appletID"`
	applet.UpdateReq `in:"body" mime:"multipart"`
}

func (*UpdateApplet) Output

func (r *UpdateApplet) Output(ctx context.Context) (interface{}, error)

func (*UpdateApplet) Path

func (r *UpdateApplet) Path() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL