Documentation ¶
Index ¶
- func EnterpriseLintRelease(c *gin.Context)
- func GetLivez(c *gin.Context)
- func LintBuildersRelease(c *gin.Context)
- func LintRelease(c *gin.Context)
- func TroubleshootLintSpec(c *gin.Context)
- type EnterpriseLintReleaseParameters
- type EnterpriseLintReleaseResponse
- type LintBuildersReleaseParameters
- type LintBuildersReleaseResponse
- type LintReleaseParameters
- type LintReleaseResponse
- type TroubleshootLintSpecParameters
- type TroubleshootLintSpecResponse
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
func LintBuildersRelease ¶ added in v0.2.98
LintBuildersRelease http handler for linting a release
func TroubleshootLintSpec ¶ added in v0.2.1
TroubleshootLintSpec 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 LintBuildersReleaseParameters ¶ added in v0.2.98
type LintBuildersReleaseParameters struct { }
LintBuildersReleaseParameters contains parameters to lint a release for an app
type LintBuildersReleaseResponse ¶ added in v0.2.98
type LintBuildersReleaseResponse struct { // JSON payload // Required: true // In: body Body struct { LintExpressions []kots.LintExpression `json:"lintExpressions"` } }
LintBuildersReleaseResponse 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
type TroubleshootLintSpecParameters ¶ added in v0.2.1
type TroubleshootLintSpecParameters struct { // Lint release parameters // In: body Body struct { // The spec to lint Spec string `json:"spec" binding:"required"` } }
TroubleshootLintSpecParameters contains parameters to lint a troubleshoot spec
type TroubleshootLintSpecResponse ¶ added in v0.2.1
type TroubleshootLintSpecResponse struct { // JSON payload // Required: true // In: body Body struct { LintExpressions []kots.LintExpression `json:"lintExpressions"` } }
TroubleshootLintSpecResponse contains the lint expressions