Add aws menu

This commit is contained in:
pg.yang 2022-12-03 14:32:49 +08:00
parent aa11a681ce
commit 95d5827c3c
No known key found for this signature in database
GPG Key ID: 411035B05FADF184
2 changed files with 49 additions and 0 deletions

47
src/router/data/aws.ts Normal file
View File

@ -0,0 +1,47 @@
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License 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.
*/
export default [
{
path: "",
name: "AWS",
meta: {
title: "AWS",
icon: "AWS",
hasGroup: true,
},
redirect: "/aws-eks",
children: [
{
path: "/aws-eks",
name: "EKS",
meta: {
title: "EKS",
layer: "AWS_EKS",
},
},
{
path: "/aws-eks/tab/:activeTabIndex",
name: "EKSActiveTabIndex",
meta: {
notShow: true,
layer: "AWS_EKS",
},
},
],
},
];

View File

@ -23,6 +23,7 @@ import functions from "./functions";
import browser from "./browser";
import k8s from "./k8s";
import gateway from "./gateway";
import aws from "./aws";
export default [
...general,
@ -30,6 +31,7 @@ export default [
...functions,
...k8s,
...infrastructure,
...aws,
...browser,
...gateway,
...database,