deploy

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

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

Jump to

Keyboard shortcuts

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