Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
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"` } Error struct { Message string `json:"message"` } }
LintReleaseResponse contains the release properties
func (LintReleaseResponse) JSON ¶
func (r LintReleaseResponse) JSON(c *gin.Context)
JSON serializes the AppResponse.Body as JSON into the response body. TODO: abstract this out
Click to show internal directories.
Click to hide internal directories.