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-03-02 08:16:31 +05:30
|
|
|
deploymentsCloudRunUrl: {
|
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
deploymentsCloudStorageUrl: {
|
|
|
|
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
|
|
|
|
:cloud-run-url="deploymentsCloudRunUrl"
|
|
|
|
:cloud-storage-url="deploymentsCloudStorageUrl"
|
|
|
|
/>
|
|
|
|
</gl-tab>
|
2022-01-26 12:08:38 +05:30
|
|
|
<gl-tab :title="__('Services')" disabled />
|
|
|
|
</gl-tabs>
|
|
|
|
</template>
|