Skip to content

Commit

Permalink
[Patterns] Pattern components generated from latest App mesh manifests
Browse files Browse the repository at this point in the history
Signed-off-by: l5io <[email protected]>
  • Loading branch information
Revolyssup authored and l5io committed Aug 2, 2023
1 parent 08b3244 commit 2893e6c
Show file tree
Hide file tree
Showing 22 changed files with 4,664 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"kind":"AppMesh","apiVersion":"core.meshmodel.dev/v1alpha1","displayName":"AppMesh","format":"JSON","metadata":{"logoURL":"","primaryColor":"#F49322","secondaryColor":"#F4BC79","shape":"circle","svgColor":"\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\u003c!DOCTYPE svg\u003e\u003csvg width=\"32\" height=\"32\" viewBox=\"0 0 122 122\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\u003cpath fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M34.667 116.007C4.287 101.462-8.551 65.04 5.992 34.657A60.98 60.98 0 0 1 87.333 5.98c30.38 14.544 43.218 50.966 28.675 81.35-14.544 30.383-50.962 43.222-81.341 28.677Z\" fill=\"#F49322\"/\u003e\u003cpath d=\"m29.488 41.005-1.92-3.24 11.328-5.76 1.92 3.24-11.328 5.76Zm18.048-9.18-1.92-3.24 10.176-5.22 1.92 3.24-10.176 5.22Zm10.368 26.1-10.176-5.04 1.728-3.24 10.176 5.04-1.728 3.24Zm-17.088-8.46-10.176-5.04 1.728-3.24 10.176 5.04-1.728 3.24Zm24.576 8.1-1.728-3.24 10.368-4.68 1.728 3.24-10.368 4.68Zm17.28-7.92-1.728-3.24 10.368-4.68 1.728 3.24-10.368 4.68Zm-25.92 50.58-11.52-5.76 1.728-3.24 11.52 5.76-1.728 3.24Zm-17.28-8.28-10.176-5.04 1.728-3.24 10.176 5.04-1.728 3.24Zm-10.368-46.26h-3.84v13.86h3.84v-13.86Zm33.792 35.82h-3.84v14.22h3.84v-14.22Z\" fill=\"#fff\"/\u003e\u003cpath d=\"M27.184 47.125a5.425 5.425 0 0 1-3.648-1.44c-.96-.9-1.536-2.16-1.536-3.42 0-1.26.576-2.52 1.536-3.42 1.92-1.8 5.376-1.8 7.296 0 .96.9 1.536 2.16 1.536 3.42 0 1.26-.576 2.52-1.536 3.42-.96.9-2.304 1.44-3.648 1.44Zm0-6.12c-.384 0-.768.18-.96.36-.192.18-.384.54-.384.9s.192.72.384.9c.576.54 1.344.54 1.92 0 .192-.18.384-.54.384-.9s-.192-.72-.384-.9a1.52 1.52 0 0 0-.96-.36Zm0 46.44a5.425 5.425 0 0 1-3.648-1.44c-.96-.9-1.536-2.16-1.536-3.42 0-1.26.576-2.52 1.536-3.42 1.92-1.8 5.376-1.8 7.296 0 .96.9 1.536 2.16 1.536 3.42 0 1.26-.576 2.52-1.536 3.42-.96.9-2.304 1.44-3.648 1.44Zm0-6.12c-.384 0-.768.18-.96.36-.192.18-.384.54-.384.9s.192.72.384.9c.576.54 1.344.54 1.92 0 .192-.18.384-.54.384-.9s-.192-.72-.384-.9a1.52 1.52 0 0 0-.96-.36Zm33.792 22.32a5.425 5.425 0 0 1-3.648-1.44c-.96-.9-1.536-2.16-1.536-3.42 0-1.26.576-2.52 1.536-3.42 2.112-1.98 5.376-1.98 7.296 0 2.112 1.98 2.112 5.04 0 6.84-1.152.9-2.304 1.44-3.648 1.44Zm0-6.3c-.384 0-.768.18-.96.36-.576.54-.576 1.26 0 1.8s1.344.54 1.92 0c.576-.54.576-1.26 0-1.8-.384-.18-.768-.36-.96-.36Zm0-34.2a5.425 5.425 0 0 1-3.648-1.44c-.96-.9-1.536-2.16-1.536-3.42 0-1.26.576-2.52 1.536-3.42 2.112-1.98 5.376-1.98 7.296 0 2.112 1.98 2.112 5.04 0 6.84-1.152 1.08-2.304 1.44-3.648 1.44Zm0-6.12c-.384 0-.768.18-.96.36-.576.54-.576 1.26 0 1.8s1.344.54 1.92 0c.576-.54.576-1.26 0-1.8-.384-.18-.768-.36-.96-.36Zm33.216 30.42a5.425 5.425 0 0 1-3.648-1.44c-2.112-1.98-2.112-5.04 0-6.84 1.92-1.8 5.376-1.8 7.296 0 .96.9 1.536 2.16 1.536 3.42 0 1.26-.576 2.52-1.536 3.42-.96.9-2.304 1.44-3.648 1.44Zm0-6.12c-.384 0-.768.18-.96.36-.576.54-.576 1.26 0 1.8s1.344.54 1.92 0c.576-.54.576-1.26 0-1.8a1.52 1.52 0 0 0-.96-.36Zm0-34.2a5.425 5.425 0 0 1-3.648-1.44c-2.112-1.98-2.112-5.04 0-6.84 1.92-1.8 5.376-1.8 7.296 0 2.112 1.98 2.112 5.04 0 6.84-.96.9-2.304 1.44-3.648 1.44Zm0-6.12c-.384 0-.768.18-.96.36-.576.54-.576 1.26 0 1.8s1.344.54 1.92 0c.576-.54.576-1.26 0-1.8a1.52 1.52 0 0 0-.96-.36Zm-33.216-12.24a5.425 5.425 0 0 1-3.648-1.44c-.96-.9-1.536-2.16-1.536-3.42 0-1.26.576-2.52 1.536-3.42 2.112-1.98 5.376-1.98 7.296 0 2.112 1.98 2.112 5.04 0 6.84-1.152.9-2.304 1.44-3.648 1.44Zm0-6.12c-.384 0-.768.18-.96.36-.576.54-.576 1.26 0 1.8s1.344.54 1.92 0c.576-.54.576-1.26 0-1.8-.384-.36-.768-.36-.96-.36Z\" fill=\"#fff\"/\u003e\u003cpath d=\"M29.104 63.145h-3.84v15.48h3.84v-15.48Zm66.816-17.46h-3.84v13.86h3.84v-13.86Zm0 17.46h-3.84v15.48h3.84v-15.48Zm-14.784-28.08 1.92-3.24L94 37.405l-1.92 3.24-10.944-5.58Zm-18.432-9.36 1.92-3.24 11.712 5.94-1.92 3.24-11.712-5.94Zm.192 36h-3.84v14.22h3.84v-14.22Zm.576 35.46 11.136-5.4 1.728 3.24-11.136 5.4-1.728-3.24Zm16.704-8.1 10.944-5.4 1.728 3.24-10.944 5.4-1.728-3.24Z\" fill=\"#fff\"/\u003e\u003c/svg\u003e","svgWhite":"\u003csvg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\u003cg clip-path=\"url(#a)\" fill=\"#fff\"\u003e\u003cpath d=\"M3.095 8.319 2.3 7.094l4.682-2.178.794 1.225L3.095 8.32Zm7.46-3.47L9.76 3.622l4.205-1.973.794 1.225-4.206 1.973Zm4.285 9.866-4.207-1.905.715-1.225 4.206 1.906-.715 1.224Zm-7.063-3.198L3.57 9.612l.714-1.225 4.206 1.905-.714 1.225Zm10.157 3.063-.714-1.225 4.285-1.77.714 1.225-4.285 1.77Zm7.142-2.995-.714-1.225 4.285-1.769.714 1.225-4.285 1.77ZM14.363 30.707l-4.761-2.178.714-1.224 4.761 2.177-.714 1.225Zm-7.142-3.13-4.206-1.905.715-1.226 4.205 1.906-.714 1.225ZM2.936 10.088H1.35v5.24h1.587v-5.24ZM16.903 23.63h-1.587v5.376h1.587V23.63Z\"/\u003e\u003cpath d=\"M2.143 10.633a2.36 2.36 0 0 1-1.508-.545C.238 9.748 0 9.272 0 8.795c0-.476.238-.952.635-1.293.793-.68 2.222-.68 3.015 0 .397.34.635.817.635 1.293 0 .477-.238.953-.635 1.293a2.36 2.36 0 0 1-1.507.545Zm0-2.314a.662.662 0 0 0-.397.136.484.484 0 0 0-.159.34c0 .136.08.273.159.34a.59.59 0 0 0 .793 0 .484.484 0 0 0 .16-.34.484.484 0 0 0-.16-.34.662.662 0 0 0-.396-.136Zm0 17.556a2.36 2.36 0 0 1-1.508-.544C.238 24.991 0 24.515 0 24.038c0-.476.238-.953.635-1.293.793-.68 2.222-.68 3.015 0 .397.34.635.817.635 1.293 0 .477-.238.953-.635 1.293a2.36 2.36 0 0 1-1.507.544Zm0-2.313a.662.662 0 0 0-.397.136.484.484 0 0 0-.159.34c0 .136.08.272.159.34a.59.59 0 0 0 .793 0 .484.484 0 0 0 .16-.34.484.484 0 0 0-.16-.34.663.663 0 0 0-.396-.136ZM16.11 32a2.36 2.36 0 0 1-1.509-.544c-.396-.34-.635-.817-.635-1.293 0-.477.239-.953.635-1.293.873-.749 2.222-.749 3.016 0 .873.748.873 1.905 0 2.586-.476.34-.952.544-1.508.544Zm0-2.382a.662.662 0 0 0-.398.137c-.238.204-.238.476 0 .68a.59.59 0 0 0 .794 0c.238-.204.238-.476 0-.68-.159-.069-.317-.137-.397-.137Zm0-12.929a2.36 2.36 0 0 1-1.509-.544c-.396-.34-.635-.817-.635-1.293 0-.477.239-.953.635-1.293.873-.749 2.222-.749 3.016 0 .873.748.873 1.905 0 2.586-.476.408-.952.544-1.508.544Zm0-2.314a.662.662 0 0 0-.398.136c-.238.205-.238.477 0 .681a.59.59 0 0 0 .794 0c.238-.204.238-.476 0-.68-.159-.069-.317-.137-.397-.137Zm13.728 11.5a2.36 2.36 0 0 1-1.508-.544c-.873-.748-.873-1.905 0-2.586.793-.68 2.222-.68 3.015 0 .397.34.635.817.635 1.293 0 .477-.238.953-.635 1.293a2.36 2.36 0 0 1-1.507.544Zm0-2.313a.662.662 0 0 0-.397.136c-.238.204-.238.476 0 .68a.59.59 0 0 0 .793 0c.238-.204.238-.476 0-.68a.663.663 0 0 0-.396-.136Zm0-12.929a2.36 2.36 0 0 1-1.508-.545c-.873-.748-.873-1.905 0-2.586.793-.68 2.222-.68 3.015 0 .873.749.873 1.906 0 2.586a2.36 2.36 0 0 1-1.507.545Zm0-2.314a.663.663 0 0 0-.397.136c-.238.204-.238.476 0 .68a.59.59 0 0 0 .793 0c.238-.204.238-.476 0-.68a.662.662 0 0 0-.396-.136ZM16.11 3.692a2.36 2.36 0 0 1-1.509-.545c-.396-.34-.635-.816-.635-1.293 0-.476.239-.952.635-1.293.873-.748 2.222-.748 3.016 0 .873.749.873 1.906 0 2.586-.476.34-.952.545-1.508.545Zm0-2.314a.662.662 0 0 0-.398.136c-.238.204-.238.476 0 .68a.59.59 0 0 0 .794 0c.238-.204.238-.476 0-.68-.159-.136-.317-.136-.397-.136Z\"/\u003e\u003cpath d=\"M2.936 16.689H1.35v5.852h1.587V16.69Zm27.616-6.601h-1.587v5.24h1.587v-5.24Zm0 6.601h-1.587v5.852h1.587V16.69Zm-6.11-10.616.793-1.225 4.523 2.11-.793 1.225-4.523-2.11Zm-7.619-3.538.794-1.225 4.84 2.245-.793 1.225-4.84-2.245Zm.08 13.61h-1.587v5.376h1.587v-5.376Zm.237 13.405 4.603-2.041.715 1.225-4.603 2.041-.714-1.225Zm6.905-3.062 4.523-2.041.714 1.225-4.523 2.04-.714-1.224Z\"/\u003e\u003c/g\u003e\u003cdefs\u003e\u003cclipPath id=\"a\"\u003e\u003cpath fill=\"#fff\" d=\"M0 0h32v32H0z\"/\u003e\u003c/clipPath\u003e\u003c/defs\u003e\u003c/svg\u003e"},"model":{"name":"APP_MESH","version":"v1.12.2","displayName":"APP_MESH","category":{"name":"Orchestration \u0026 Management","metadata":null},"metadata":null},"schema":"{\"$id\":\"http://meshery.layer5.io/definition/Workload/AppMesh\",\"$schema\":\"http://json-schema.org/draft-07/schema\",\"title\":\"AppMesh\",\"type\":\"object\"}"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"kind":"BackendGroup","apiVersion":"appmesh.k8s.aws/v1beta2","displayName":"Backend Group","format":"JSON","metadata":{},"model":{"name":"app_mesh","version":"v1.12.2","displayName":"APP_MESH","category":{"name":"Orchestration \u0026 Management","metadata":null},"metadata":null},"schema":"{\n \"description\": \"BackendGroup is the Schema for the backendgroups API\",\n \"properties\": {\n \"apiVersion\": {\n \"description\": \"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources\",\n \"type\": \"string\"\n },\n \"kind\": {\n \"description\": \"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\",\n \"type\": \"string\"\n },\n \"metadata\": {\n \"type\": \"object\"\n },\n \"spec\": {\n \"description\": \"BackendGroupSpec defines the desired state of BackendGroup\",\n \"properties\": {\n \"meshRef\": {\n \"description\": \"A reference to k8s Mesh CR that this BackendGroup belongs to. The admission controller populates it using Meshes's selector, and prevents users from setting this field. \\n Populated by the system. Read-only.\",\n \"properties\": {\n \"name\": {\n \"description\": \"Name is the name of Mesh CR\",\n \"type\": \"string\"\n },\n \"uid\": {\n \"description\": \"UID is the UID of Mesh CR\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"name\",\n \"uid\"\n ],\n \"type\": \"object\"\n },\n \"virtualservices\": {\n \"description\": \"VirtualServices defines the set of virtual services in this BackendGroup.\",\n \"items\": {\n \"description\": \"VirtualServiceReference holds a reference to VirtualService.appmesh.k8s.aws\",\n \"properties\": {\n \"name\": {\n \"description\": \"Name is the name of VirtualService CR\",\n \"type\": \"string\"\n },\n \"namespace\": {\n \"description\": \"Namespace is the namespace of VirtualService CR. If unspecified, defaults to the referencing object's namespace\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"name\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"status\": {\n \"description\": \"BackendGroupStatus defines the observed state of BackendGroup\",\n \"type\": \"object\"\n }\n },\n \"title\": \"Backend Group\",\n \"type\": \"object\",\n \"x-kubernetes-preserve-unknown-fields\": true\n}"}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"kind":"Mesh","apiVersion":"appmesh.k8s.aws/v1beta2","displayName":"Mesh","format":"JSON","metadata":{},"model":{"name":"app_mesh","version":"v1.12.2","displayName":"APP_MESH","category":{"name":"Orchestration \u0026 Management","metadata":null},"metadata":null},"schema":"{\n \"description\": \"Mesh is the Schema for the meshes API\",\n \"properties\": {\n \"apiVersion\": {\n \"description\": \"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources\",\n \"type\": \"string\"\n },\n \"kind\": {\n \"description\": \"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\",\n \"type\": \"string\"\n },\n \"metadata\": {\n \"type\": \"object\"\n },\n \"spec\": {\n \"description\": \"MeshSpec defines the desired state of Mesh refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_MeshSpec.html\",\n \"properties\": {\n \"awsName\": {\n \"description\": \"AWSName is the AppMesh Mesh object's name. If unspecified or empty, it defaults to be \\\"${name}\\\" of k8s Mesh\",\n \"type\": \"string\"\n },\n \"egressFilter\": {\n \"description\": \"The egress filter rules for the service mesh. If unspecified, default settings from AWS API will be applied. Refer to AWS Docs for default settings.\",\n \"properties\": {\n \"type\": {\n \"description\": \"The egress filter type.\",\n \"enum\": [\n \"ALLOW_ALL\",\n \"DROP_ALL\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\"\n ],\n \"type\": \"object\"\n },\n \"meshOwner\": {\n \"description\": \"The AWS IAM account ID of the service mesh owner. Required if the account ID is not your own.\",\n \"type\": \"string\"\n },\n \"meshServiceDiscovery\": {\n \"properties\": {\n \"ipPreference\": {\n \"description\": \"The ipPreference for the mesh.\",\n \"enum\": [\n \"IPv6_ONLY\",\n \"IPv4_ONLY\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"namespaceSelector\": {\n \"description\": \"NamespaceSelector selects Namespaces using labels to designate mesh membership. This field follows standard label selector semantics: \\tif present but empty, it selects all namespaces. \\tif absent, it selects no namespace.\",\n \"properties\": {\n \"matchExpressions\": {\n \"description\": \"matchExpressions is a list of label selector requirements. The requirements are ANDed.\",\n \"items\": {\n \"description\": \"A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.\",\n \"properties\": {\n \"key\": {\n \"description\": \"key is the label key that the selector applies to.\",\n \"type\": \"string\"\n },\n \"operator\": {\n \"description\": \"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.\",\n \"type\": \"string\"\n },\n \"values\": {\n \"description\": \"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"key\",\n \"operator\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"matchLabels\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"description\": \"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \\\"key\\\", the operator is \\\"In\\\", and the values array contains only \\\"value\\\". The requirements are ANDed.\",\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"status\": {\n \"description\": \"MeshStatus defines the observed state of Mesh\",\n \"properties\": {\n \"conditions\": {\n \"description\": \"The current Mesh status.\",\n \"items\": {\n \"properties\": {\n \"lastTransitionTime\": {\n \"description\": \"Last time the condition transitioned from one status to another.\",\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"message\": {\n \"description\": \"A human readable message indicating details about the transition.\",\n \"type\": \"string\"\n },\n \"reason\": {\n \"description\": \"The reason for the condition's last transition.\",\n \"type\": \"string\"\n },\n \"status\": {\n \"description\": \"Status of the condition, one of True, False, Unknown.\",\n \"type\": \"string\"\n },\n \"type\": {\n \"description\": \"Type of mesh condition.\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"status\",\n \"type\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"meshARN\": {\n \"description\": \"MeshARN is the AppMesh Mesh object's Amazon Resource Name\",\n \"type\": \"string\"\n },\n \"observedGeneration\": {\n \"description\": \"The generation observed by the Mesh controller.\",\n \"format\": \"int64\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"title\": \"Mesh\",\n \"type\": \"object\",\n \"x-kubernetes-preserve-unknown-fields\": true\n}"}

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit 2893e6c

Please sign in to comment.