Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEnvironment ¶
NewEnvironment factory function for the component
Types ¶
type Environment ¶
type Environment struct { Namespace string // Mesh for configuring pilot. Mesh *meshConfig.MeshConfig // ServiceManager for all deployed services. ServiceManager *service.Manager // 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 GetEnvironment ¶
func GetEnvironment(r component.Repository) (*Environment, error)
GetEnvironment from the repository.
func GetEnvironmentOrFail ¶
func GetEnvironmentOrFail(r component.Repository, t testing.TB) *Environment
GetEnvironmentOrFail from the repository.
func (*Environment) Descriptor ¶
func (p *Environment) Descriptor() component.Descriptor
Descriptor for this component.
func (*Environment) DumpState ¶
func (p *Environment) DumpState(context string)
DumpState implements the api.Environment interface
Click to show internal directories.
Click to hide internal directories.