context

package
v1.1.0-beta14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeploymentContext

type DeploymentContext struct {
	EchoContext *EchoDeploymentContext
	Meshes      []GlooMeshInstance
}

func (*DeploymentContext) GetManagementPlaneCluster

func (d *DeploymentContext) GetManagementPlaneCluster() cluster.Cluster

type EchoDeploymentContext

type EchoDeploymentContext struct {
	Deployments     echo.Instances
	AppNamespace    namespace.Instance
	SubsetNamespace namespace.Instance
	NoMeshNamespace namespace.Instance
}

type GlooMeshInstance

type GlooMeshInstance interface {
	resource.Resource
	GetKubeConfig() string
	IsManagementPlane() bool
	// for management plane only
	GetRelayServerAddress() (string, error)
	GetCluster() cluster.Cluster
}

GlooMeshInstance is a component that provides access to a deployed echo service.

Jump to

Keyboard shortcuts

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