lints

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeploymentLint

type DeploymentLint struct {
	// contains filtered or unexported fields
}

DeploymentLint is a validation for a deployment

func GetDeploymentLints

func GetDeploymentLints() []DeploymentLint

GetDeploymentLints returns all of the lints for ingresses

func (DeploymentLint) Check

func (lint DeploymentLint) Check(obj kmeta.Object) bool

Check returns true if the lint detects an issue

func (lint DeploymentLint) Link() string

Link is a URL to the issue or PR explaining the lint

func (DeploymentLint) Message

func (lint DeploymentLint) Message() string

Message is a description of the lint

func (DeploymentLint) Version

func (lint DeploymentLint) Version() string

Version is the ingress-nginx version the lint was added for, or the empty string

type IngressLint

type IngressLint struct {
	// contains filtered or unexported fields
}

IngressLint is a validation for an ingress

func GetIngressLints

func GetIngressLints() []IngressLint

GetIngressLints returns all of the lints for ingresses

func (IngressLint) Check

func (lint IngressLint) Check(obj kmeta.Object) bool

Check returns true if the lint detects an issue

func (lint IngressLint) Link() string

Link is a URL to the issue or PR explaining the lint

func (IngressLint) Message

func (lint IngressLint) Message() string

Message is a description of the lint

func (IngressLint) Version

func (lint IngressLint) Version() string

Version is the ingress-nginx version the lint was added for, or the empty string

Jump to

Keyboard shortcuts

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