handlers

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnterpriseLintRelease added in v0.1.2

func EnterpriseLintRelease(c *gin.Context)

EnterpriseLintRelease http handler for linting a release

func GetLivez

func GetLivez(c *gin.Context)

func LintBuildersRelease added in v0.2.98

func LintBuildersRelease(c *gin.Context)

LintBuildersRelease http handler for linting a release

func LintRelease

func LintRelease(c *gin.Context)

LintRelease http handler for linting a release

func TroubleshootLintSpec added in v0.2.1

func TroubleshootLintSpec(c *gin.Context)

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

Jump to

Keyboard shortcuts

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