mixer

package
v0.0.0-...-1a56975 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckResponse

type CheckResponse struct {
	Raw *istioMixerV1.CheckResponse
}

CheckResponse that is returned from a Mixer Check call.

func (*CheckResponse) Succeeded

func (c *CheckResponse) Succeeded() bool

Succeeded returns true if the precondition check was successful.

type Config

type Config struct {
	Galley galley.Instance
}

type Instance

type Instance interface {
	resource.Resource
	Report(t testing.TB, attributes map[string]interface{})
	Check(t testing.TB, attributes map[string]interface{}) CheckResponse
	GetCheckAddress() net.Addr
	GetReportAddress() net.Addr
}

func New

func New(ctx resource.Context, cfg Config) (i Instance, err error)

New returns a new instance of echo.

func NewOrFail

func NewOrFail(t *testing.T, c resource.Context, config Config) Instance

Jump to

Keyboard shortcuts

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