Documentation ¶
Index ¶
- type Context
- func (ctx *Context) Canceled() bool
- func (ctx *Context) Exists(config.GroupVersionKind, resource.FullName) bool
- func (ctx *Context) Find(config.GroupVersionKind, resource.FullName) *resource.Instance
- func (ctx *Context) ForEach(_ config.GroupVersionKind, fn analysis.IteratorFn)
- func (ctx *Context) Report(_ config.GroupVersionKind, t diag.Message)
- func (ctx *Context) SetAnalyzer(analyzerName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
Context is a test fixture of 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 ¶
Click to show internal directories.
Click to hide internal directories.