fixtures

package
v0.0.0-...-d07e290 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Resources []*resource.Instance
	Reports   []diag.Message
}

Context is a test fixture of analysis.Context

func (*Context) Canceled

func (ctx *Context) Canceled() bool

Canceled implements analysis.Context

func (*Context) Exists

Exists implements analysis.Context

func (*Context) Find

Find implements analysis.Context

func (*Context) ForEach

func (ctx *Context) ForEach(_ config.GroupVersionKind, fn analysis.IteratorFn)

ForEach implements analysis.Context

func (*Context) Report

func (ctx *Context) Report(_ config.GroupVersionKind, t diag.Message)

Report implements analysis.Context

func (*Context) SetAnalyzer

func (ctx *Context) SetAnalyzer(analyzerName string)

Jump to

Keyboard shortcuts

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