adamant-kite-43734
06/06/2023, 9:04 PMwitty-honey-18052
06/06/2023, 9:54 PMstocky-account-63046
06/07/2023, 7:25 AMwitty-honey-18052
06/07/2023, 1:22 PMwitty-honey-18052
06/07/2023, 1:24 PMstocky-account-63046
06/07/2023, 4:32 PMVuex Stores
will have a large overview of the different stores and how to access resources via them. As long as your extension is in the Cluster Explorer area you should be able to fetch k8s stuff via the cluster
store. Very roughly dispatching find
actions will go out and fetch resources (if not found) and return models
of them... this.$store.dispatch('cluster/find', { type: WORKLOAD_TYPES.JOB, id: relationship.toId })
. using a getter will just fetch what's in the store already this.$store.getters['cluster/all'](WORKLOAD_TYPES,JOB)
.stocky-account-63046
06/07/2023, 4:35 PMcluster
store. You might have more luck that side with the elemental or kube warden extensionswitty-honey-18052
06/07/2023, 8:46 PMwitty-honey-18052
06/07/2023, 8:46 PM