response

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MulanPSL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskInfo

type TaskInfo struct {
	TaskId        int64             `json:"taskId,optional"`
	NsID          string            `json:"nsID"` //云际平台传入namespace
	TaskType      string            `json:"taskType,optional"`
	MatchLabels   map[string]string `json:"matchLabels"`
	ParticipantId int64             `json:"participantId,optional"` //湘江预留字段
	Clusters      []string          `json:"clusters,optional"`      //云际平台传入集群名称列表
	TenantId      int64             `json:"tenantId"`
	Replicas      int64             `json:"replicas"`
	Metadata      []string          `json:"metadata"`
}

func (*TaskInfo) Validate

func (t *TaskInfo) Validate() error

Jump to

Keyboard shortcuts

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