appmesh

package
v0.3.12 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PodVirtualNodeEnvName = "APPMESH_VIRTUAL_NODE_NAME"
	PodPortsEnvName       = "APPMESH_APP_PORTS"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsAppMeshConfiguration

type AwsAppMeshConfiguration interface {
	// Configure resources to allow traffic from/to all services in the mesh
	AllowAll() error
	// Handle appmesh routing rule
	ProcessRoutingRules(rules v1.RoutingRuleList) error
}

func NewAwsAppMeshConfiguration

func NewAwsAppMeshConfiguration(mesh *v1.Mesh, pods v1.PodList, upstreams gloov1.UpstreamList) (AwsAppMeshConfiguration, error)

TODO(marco): to Eitan: I have not tested the util methods used in here, sorry in advance if they do not work as expected

type AwsAppMeshPodInfo

type AwsAppMeshPodInfo map[*v1.Pod]*podInfo

type AwsAppMeshUpstreamInfo

type AwsAppMeshUpstreamInfo map[*gloov1.Upstream][]*v1.Pod

type PodVirtualNode

type PodVirtualNode map[*v1.Pod]*appmesh.VirtualNodeData

type PodVirtualService

type PodVirtualService map[*v1.Pod]*appmesh.VirtualServiceData

type Translator

type Translator interface {
	Translate(ctx context.Context, snapshot *v1.ConfigSnapshot) (map[*v1.Mesh]AwsAppMeshConfiguration, reporter.ResourceErrors, error)
}

func NewAppMeshTranslator

func NewAppMeshTranslator() Translator

Jump to

Keyboard shortcuts

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