v1alpha1

package
v0.0.0-...-6248b73 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QueueSize = 512
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DataPhase

type DataPhase string

type NoticeDataItem

type NoticeDataItem struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
	Version   string `json:"version"`
	LocalPath string `json:"localPath"`
}

type NoticeResp

type NoticeResp struct {
	Data []NoticeDataItem `json:"data"`
}

type SubTask

type SubTask struct {
	Name           string             `json:"name"`
	Namespace      string             `json:"namespace"`
	RemotePath     string             `json:"remotePath"`
	LocalPath      string             `json:"localPath"`
	Version        string             `json:"version,omitempty"`
	DataSource     interface{}        `json:"dataSource"`
	DataSourceType string             `json:"dataSourceType"`
	Lifecycle      *kudaApi.Lifecycle `json:"lifecycle,omitempty"`
}

func (*SubTask) GetStatus

func (t *SubTask) GetStatus(phase kudaApi.DataPhase, message string) *kudaApi.DataItemStatus

type Task

type Task struct {
	Items     []SubTask
	Lifecycle *kudaApi.Lifecycle `json:"lifecycle,omitempty"`
}

Jump to

Keyboard shortcuts

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