errors

package
v1.41.2-mcm-vsphere-de... Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmptyRuleError = LintRuleError{Text: "", ID: "", ObjectID: ""}

Functions

This section is empty.

Types

type LintRuleError

type LintRuleError struct {
	Text     string
	ID       string
	ObjectID string
	Value    interface{}
}

func NewLintRuleError

func NewLintRuleError(id, objectID string, value interface{}, template string, a ...interface{}) LintRuleError

func (*LintRuleError) EqualsTo

func (l *LintRuleError) EqualsTo(candidate LintRuleError) bool

func (*LintRuleError) IsEmpty

func (l *LintRuleError) IsEmpty() bool

type LintRuleErrorsList

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

func (*LintRuleErrorsList) Add

func (*LintRuleErrorsList) ConvertToError

func (l *LintRuleErrorsList) ConvertToError() error

func (*LintRuleErrorsList) Merge

Jump to

Keyboard shortcuts

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