istio: Index | Files

package native

import ""


Package Files

cluster.go native.go


var (
    // Cluster used for the native environment.
    Cluster = cluster{}

func New Uses

func New(ctx resource.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) Clusters Uses

func (e *Environment) Clusters() []resource.Cluster

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) IsMulticluster Uses

func (e *Environment) IsMulticluster() bool

func (*Environment) Network Uses

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

Package native imports 9 packages (graph) and is imported by 15 packages. Updated 2020-04-05. Refresh now. Tools for package owners.