spacelet

package
v0.0.0-...-1ae172a Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	PipelineJobExecute(params *pipeline_job.JobRunParams) error
	PipelineJobStatus(params *pipeline_job.JobStatusParams) (*pipeline_job.StatusLog, error)
	PipelineJobCleanup(params *pipeline_job.JobCleanParams) error
	PipelineJobCancel(params *pipeline_job.JobCancelParams) error

	Exec(params *spacelet.ExecRequest) (*spacelet.ExecResponse, error)
}

Client spacelet客户端调用接口

func NewClient

func NewClient(spacelet *types.Spacelet) (Client, error)

type SpaceletService

type SpaceletService struct {
	// contains filtered or unexported fields
}

func NewSpaceletService

func NewSpaceletService(models *model.Models) *SpaceletService

func (*SpaceletService) Delete

func (s *SpaceletService) Delete(id uint) *utils.Response

Jump to

Keyboard shortcuts

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