Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnterpriseLintRelease ¶ added in v0.1.2
EnterpriseLintRelease http handler for linting a release
Types ¶
type EnterpriseLintReleaseParameters ¶ added in v0.1.2
type EnterpriseLintReleaseParameters struct {
// Lint release parameters
// In: body
Body struct {
// The spec to lint
Spec string `json:"spec" binding:"required"`
// The policies to lint against
Policies string `json:"policies" binding:"required"`
}
}
EnterpriseLintReleaseParameters contains parameters to lint a release for an app against an enterprise's policies
type EnterpriseLintReleaseResponse ¶ added in v0.1.2
type EnterpriseLintReleaseResponse struct {
// JSON payload
// Required: true
// In: body
Body struct {
LintExpressions []kots.LintExpression `json:"lintExpressions"`
}
}
EnterpriseLintReleaseResponse contains the lint expressions
type LintReleaseParameters ¶
type LintReleaseParameters struct {
// Lint release parameters
// In: body
Body struct {
// The spec to lint
Spec string `json:"spec"`
}
}
LintReleaseParameters contains parameters to lint a release for an app
type LintReleaseResponse ¶
type LintReleaseResponse struct {
// JSON payload
// Required: true
// In: body
Body struct {
LintExpressions []kots.LintExpression `json:"lintExpressions"`
IsLintingComplete bool `json:"isLintingComplete"`
}
}
LintReleaseResponse contains the lint expressions
Click to show internal directories.
Click to hide internal directories.