Documentation ¶
Overview ¶
Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at
http://aws.amazon.com/apache2.0/
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppMesh ¶
type AppMesh struct { // ContainerName is the proxy container name ContainerName string // IgnoredUID is egress traffic from the processes owned by the UID will be ignored IgnoredUID string // IgnoredGID specifies egress traffic from the processes owned by the GID will be ignored IgnoredGID string // ProxyIngressPort is the ingress port number that proxy is listening on ProxyIngressPort string // ProxyEgressPort is the egress port number that proxy is listening on ProxyEgressPort string // AppPorts is the port number that application is listening on AppPorts []string // EgressIgnoredIPs is the list of ports for which egress traffic will be ignored EgressIgnoredIPs []string // EgressIgnoredPorts is the list of IPs for which egress traffic will be ignored EgressIgnoredPorts []string }
AppMesh contains information of app mesh config
func AppMeshFromACS ¶
func AppMeshFromACS(proxyConfig *ecsacs.ProxyConfiguration) (*AppMesh, error)
AppMeshFromACS validates proxy config if it is app mesh type and creates AppMesh object