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 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
Click to show internal directories.
Click to hide internal directories.