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

imageregistry.go 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) ImageRegistry Uses

func (e *Environment) ImageRegistry() (*ImageRegistry, error)

func (*Environment) Network Uses

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

type ImageCreateFunc Uses

type ImageCreateFunc func(dockerClient *client.Client) (docker.Image, error)

type ImageRegistry Uses

type ImageRegistry struct {
    // contains filtered or unexported fields
}

func (*ImageRegistry) Close Uses

func (r *ImageRegistry) Close() (err error)

func (*ImageRegistry) GetOrCreate Uses

func (r *ImageRegistry) GetOrCreate(name string, create ImageCreateFunc) (docker.Image, error)

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