deploy

package
v1.6.5-rc22 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 11 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 BatchRemoveInstance added in v1.1.0

type BatchRemoveInstance struct {
	httpx.MethodDelete
	deploy.CondArgs
}

BatchRemoveInstance remove instances by condition

func (*BatchRemoveInstance) Output added in v1.1.0

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

func (*BatchRemoveInstance) Path added in v1.1.0

func (r *BatchRemoveInstance) Path() string

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 CreateAndStartInstance added in v1.1.0

type CreateAndStartInstance struct {
	httpx.MethodPost
	AppletID         basetypes.SFID `in:"path" name:"appletID"`
	deploy.CreateReq `in:"body"`
}

func (*CreateAndStartInstance) Output added in v1.1.0

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

func (*CreateAndStartInstance) Path added in v1.1.0

func (r *CreateAndStartInstance) 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 RemoveInstance added in v1.1.0

type RemoveInstance struct {
	httpx.MethodDelete
	InstanceID types.SFID `in:"path" name:"instanceID"`
}

RemoveInstance remove instance by instance id

func (*RemoveInstance) Output added in v1.1.0

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

func (*RemoveInstance) Path added in v1.1.0

func (r *RemoveInstance) Path() string

Jump to

Keyboard shortcuts

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