jobdef

package
v0.0.0-...-19d8ef3 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(c *echo.Context) error

func Diff

func Diff(c *echo.Context) error

func Lint

func Lint(c *echo.Context) error

Types

type ApplyProvenance

type ApplyProvenance = jobdefsvc.ApplyProvenance

type ApplyRequest

type ApplyRequest = jobdefsvc.ApplyRequest

type ApplyResponse

type ApplyResponse = jobdefsvc.ApplyResponse

type DiffJobSpec

type DiffJobSpec struct {
	jobdiff.JobSpec
	ContractFindings []contractsvc.Finding `json:"contractFindings,omitempty"`
}

type DiffRequest

type DiffRequest struct {
	Definitions []schema.Definition `json:"definitions"`
}

type DiffResponse

type DiffResponse struct {
	Added    []DiffJobSpec `json:"added"`
	Removed  []DiffJobSpec `json:"removed"`
	Modified []DiffUpdate  `json:"modified"`
}

type DiffUpdate

type DiffUpdate struct {
	jobdiff.Update
	ContractFindings []contractsvc.Finding `json:"contractFindings,omitempty"`
}

type LintMessage

type LintMessage struct {
	Message string `json:"message"`
	Line    int    `json:"line,omitempty"`
}

type LintRequest

type LintRequest struct {
	Definitions []schema.Definition `json:"definitions"`
}

type LintResponse

type LintResponse struct {
	Errors    []LintMessage                `json:"errors"`
	Warnings  []LintMessage                `json:"warnings"`
	Summary   LintSummary                  `json:"summary"`
	Contracts *contractsvc.FindingsSummary `json:"contracts,omitempty"`
}

type LintSummary

type LintSummary struct {
	Steps     int    `json:"steps"`
	Contracts string `json:"contracts,omitempty"`
}

Jump to

Keyboard shortcuts

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