2026-01-22 17:54:31 +01:00
|
|
|
const Cluster = {
|
2026-06-17 18:35:49 +02:00
|
|
|
components: { ClusterAccess, ClusterCAs, GetCopy },
|
2023-02-07 21:29:19 +01:00
|
|
|
props: [ 'cluster', 'token', 'state' ],
|
|
|
|
|
template: `
|
2026-06-17 22:40:44 +02:00
|
|
|
<details open>
|
|
|
|
|
<summary>Access</summary>
|
|
|
|
|
<ClusterAccess :cluster="cluster" :token="token" :state="state" />
|
|
|
|
|
</details>
|
2026-01-22 17:54:31 +01:00
|
|
|
|
2026-06-17 22:40:44 +02:00
|
|
|
<details open>
|
|
|
|
|
<summary>CAs</summary>
|
|
|
|
|
<ClusterCAs :cluster="cluster" :token="token" />
|
|
|
|
|
</details>
|
2026-06-17 22:20:48 +02:00
|
|
|
|
2026-06-17 22:40:44 +02:00
|
|
|
<details open>
|
|
|
|
|
<summary>Secrets</summary>
|
|
|
|
|
<h4>Tokens</h4>
|
|
|
|
|
<section class="links">
|
|
|
|
|
<GetCopy v-for="n in cluster.Tokens" :token="token" :name="n" :href="'/clusters/'+cluster.Name+'/tokens/'+n" />
|
|
|
|
|
</section>
|
|
|
|
|
<h4>Passwords</h4>
|
|
|
|
|
<section class="links">
|
|
|
|
|
<GetCopy v-for="n in cluster.Passwords" :token="token" :name="n" :href="'/clusters/'+cluster.Name+'/passwords/'+n" />
|
|
|
|
|
</section>
|
|
|
|
|
</details>
|
2023-02-07 21:29:19 +01:00
|
|
|
`
|
|
|
|
|
}
|