dto

package
v0.18.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkDeleteTracker added in v0.16.0

type BulkDeleteTracker struct {
	JobName string
	Message string
	Success bool
}

type JobToDeleteRequest added in v0.16.0

type JobToDeleteRequest struct {
	Namespace tenant.NamespaceName
	JobName   job.Name
}

type UpsertResult added in v0.14.0

type UpsertResult struct {
	JobName job.Name
	Status  job.DeployState
}

type ValidateRequest

type ValidateRequest struct {
	Tenant       tenant.Tenant
	JobSpecs     []*job.Spec
	JobNames     []string
	DeletionMode bool
}

type ValidateResult

type ValidateResult struct {
	Stage    ValidateStage
	Messages []string
	Success  bool
}

type ValidateStage

type ValidateStage string
const (
	StageCyclicValidation      ValidateStage = "cyclic validation"
	StageDeletionValidation    ValidateStage = "validation for deletion"
	StageDestinationValidation ValidateStage = "destination validation"
	StagePreparation           ValidateStage = "validation preparation"
	StageRunCompileValidation  ValidateStage = "compile validation for run"
	StageSourceValidation      ValidateStage = "source validation"
	StageTenantValidation      ValidateStage = "tenant validation"
	StageUpstreamValidation    ValidateStage = "upstream validation"
	StageWindowValidation      ValidateStage = "window validation"
)

func (ValidateStage) String

func (v ValidateStage) String() string

Jump to

Keyboard shortcuts

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