deploy

package
v1.0.1-rc3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 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("/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.CreateOrReDeployInstanceReq `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

type ReDeployInstance

type ReDeployInstance struct {
	httpx.MethodPost
	AppletID                           types.SFID `in:"path" name:"appletID"`
	InstanceID                         types.SFID `in:"path" name:"instanceID"`
	deploy.CreateOrReDeployInstanceReq `in:"body"`
}

func (*ReDeployInstance) Output

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

func (*ReDeployInstance) Path

func (r *ReDeployInstance) Path() string

Jump to

Keyboard shortcuts

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