applet

package
v1.0.1-rc3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 8 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
	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 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
	ProjectName string `in:"path" name:"projectName"`
	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 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

Jump to

Keyboard shortcuts

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