native

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx api.Context) (resource.Environment, error)

New returns a new native environment.

Types

type Environment

type Environment struct {

	// SystemNamespace is the namespace used for all Istio system components.
	SystemNamespace string

	// Domain used by components in the native environment.
	Domain string

	// PortManager provides free ports on-demand.
	PortManager reserveport.PortManager
	// contains filtered or unexported fields
}

Environment for testing natively on the host machine. It implements api.Environment, and also hosts publicly accessible methods that are specific to local environment.

func (*Environment) Case

func (e *Environment) Case(name environment.Name, fn func())

Case implements environment.Instance

func (*Environment) Close

func (e *Environment) Close() error

func (*Environment) EnvironmentName

func (e *Environment) EnvironmentName() environment.Name

EnvironmentName implements environment.Instance

func (*Environment) ID

func (e *Environment) ID() resource.ID

ID implements resource.Instance

Jump to

Keyboard shortcuts

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