Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MeshName = "test-mesh"
)
Functions ¶
func GetAllResources ¶
func GetAllResources() inputs.TestResourceSet
func GetAppMeshRelatedResources ¶
func GetAppMeshRelatedResources() inputs.TestResourceSet
func SumAppMeshRelatedResources ¶ added in v0.3.16
func SumAppMeshRelatedResources() *inputs.PodsServicesUpstreamsTuple
Types ¶
type AppMeshTestScenario ¶
type AppMeshTestScenario interface { GetMeshName() string GetResources() inputs.TestResourceSet GetRoutingRules() v1.RoutingRuleList VerifyExpectations(configuration translator.AwsAppMeshConfiguration) }
func AllowAllOnly ¶
func AllowAllOnly() AppMeshTestScenario
func InitializeOnly ¶
func InitializeOnly() AppMeshTestScenario
func RoutingRule1 ¶
func RoutingRule1() AppMeshTestScenario
func RoutingRule2 ¶
func RoutingRule2() AppMeshTestScenario
In this scenario, we have two routing rules that: - have the same traffic shifting configuration (same targets, same weights) - have same source and destination selectors - match different path prefixes the result should be the same a applying a single rule with two matchers
func RoutingRule3 ¶
func RoutingRule3() AppMeshTestScenario
func RoutingRule4 ¶
func RoutingRule4() AppMeshTestScenario
In this scenario, we apply a rule that matches requests for any of the reviews upstreams (v1,v2,v3) and direct them to the latest version (v3).
Click to show internal directories.
Click to hide internal directories.