2022-01-26 12:08:38 +05:30
|
|
|
<script>
|
|
|
|
import { GlTabs, GlTab } from '@gitlab/ui';
|
2022-03-02 08:16:31 +05:30
|
|
|
import DeploymentsServiceTable from './deployments_service_table.vue';
|
2022-01-26 12:08:38 +05:30
|
|
|
import ServiceAccountsList from './service_accounts_list.vue';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
GlTabs,
|
|
|
|
GlTab,
|
2022-03-02 08:16:31 +05:30
|
|
|
DeploymentsServiceTable,
|
2022-01-26 12:08:38 +05:30
|
|
|
ServiceAccountsList,
|
|
|
|
},
|
|
|
|
props: {
|
|
|
|
serviceAccounts: {
|
|
|
|
type: Array,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
createServiceAccountUrl: {
|
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
emptyIllustrationUrl: {
|
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
},
|
2022-04-04 11:22:00 +05:30
|
|
|
enableCloudRunUrl: {
|
2022-03-02 08:16:31 +05:30
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
},
|
2022-04-04 11:22:00 +05:30
|
|
|
enableCloudStorageUrl: {
|
2022-03-02 08:16:31 +05:30
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
},
|
2022-01-26 12:08:38 +05:30
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<gl-tabs>
|
|
|
|
<gl-tab :title="__('Configuration')">
|
|
|
|
<service-accounts-list
|
|
|
|
class="gl-mx-4"
|
|
|
|
:list="serviceAccounts"
|
|
|
|
:create-url="createServiceAccountUrl"
|
|
|
|
:empty-illustration-url="emptyIllustrationUrl"
|
|
|
|
/>
|
|
|
|
</gl-tab>
|
2022-03-02 08:16:31 +05:30
|
|
|
<gl-tab :title="__('Deployments')">
|
|
|
|
<deployments-service-table
|
2022-04-04 11:22:00 +05:30
|
|
|
:cloud-run-url="enableCloudRunUrl"
|
|
|
|
:cloud-storage-url="enableCloudStorageUrl"
|
2022-03-02 08:16:31 +05:30
|
|
|
/>
|
|
|
|
</gl-tab>
|
2022-01-26 12:08:38 +05:30
|
|
|
<gl-tab :title="__('Services')" disabled />
|
|
|
|
</gl-tabs>
|
|
|
|
</template>
|