istio: istio.io/istio/pkg/test/framework/components/environment/native Index | Files

package native

import "istio.io/istio/pkg/test/framework/components/environment/native"

Index

Package Files

native.go

func New Uses

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

New returns a new native environment.

type Environment Uses

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 Uses

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

Case implements environment.Instance

func (*Environment) Close Uses

func (e *Environment) Close() (err error)

func (*Environment) DockerClient Uses

func (e *Environment) DockerClient() (*client.Client, error)

func (*Environment) EnvironmentName Uses

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

EnvironmentName implements environment.Instance

func (*Environment) ID Uses

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

ID implements resource.Instance

func (*Environment) Network Uses

func (e *Environment) Network() (*docker.Network, error)

Package native imports 10 packages (graph) and is imported by 15 packages. Updated 2019-12-08. Refresh now. Tools for package owners.