istio: istio.io/istio/galley/pkg/config/analysis/testing/fixtures Index | Files

package fixtures

import "istio.io/istio/galley/pkg/config/analysis/testing/fixtures"

Index

Package Files

context.go

type Context Uses

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

Context is a test fixture of analysis.Context

func (*Context) Canceled Uses

func (ctx *Context) Canceled() bool

Canceled implements analysis.Context

func (*Context) Exists Uses

func (ctx *Context) Exists(collection.Name, resource.FullName) bool

Exists implements analysis.Context

func (*Context) Find Uses

func (ctx *Context) Find(collection.Name, resource.FullName) *resource.Instance

Find implements analysis.Context

func (*Context) ForEach Uses

func (ctx *Context) ForEach(_ collection.Name, fn analysis.IteratorFn)

ForEach implements analysis.Context

func (*Context) Report Uses

func (ctx *Context) Report(_ collection.Name, t diag.Message)

Report implements analysis.Context

Package fixtures imports 4 packages (graph). Updated 2020-02-16. Refresh now. Tools for package owners.