applet

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: Apache-2.0 Imports: 7 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 CreateApplet

type CreateApplet struct {
	httpx.MethodPost
	ProjectID              types.SFID `in:"path" name:"projectID"`
	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 GetApplet

type GetApplet struct {
	httpx.MethodGet
	applet.GetAppletReq
}

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
	ProjectID types.SFID `in:"path" name:"projectID"`
	applet.ListAppletReq
}

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
	applet.RemoveAppletReq
}

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.UpdateAppletReq
}

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